Data Handling & Analysis ZO4030 Andrew Jackson

Slides:



Advertisements
Similar presentations
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Advertisements

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Data Handling & Analysis BD Andrew Jackson Zoology, School of Natural Sciences
Quantitative Skills 4: The Chi-Square Test
Binomial Distribution & Hypothesis Testing: The Sign Test
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.
Likelihood ratio tests
Summary.
Hypothesis testing Week 10 Lecture 2.
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
Lecture 13: Review One-Sample z-test and One-Sample t-test 2011, 11, 1.
LARGE SAMPLE TESTS ON PROPORTIONS
Statistics 201 – Lecture 23. Confidence Intervals Re-cap 1.Estimate the population mean with sample mean Know sample mean is unbiased estimator for 
Lecture 2: Basic steps in SPSS and some tests of statistical inference
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Chapter 9 Hypothesis Testing.
Probability Population:
Data Handling & Analysis BD Andrew Jackson Zoology, School of Natural Sciences
Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: p-value STAT 101 Dr. Kari Lock Morgan 9/25/12 SECTION 4.2 Randomization distribution.
Statistical hypothesis testing – Inferential statistics I.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Claims about a Population Mean when σ is Known Objective: test a claim.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Let’s flip a coin. Making Data-Based Decisions We’re going to flip a coin 10 times. What results do you think we will get?
Chapter 9 Hypothesis Testing: Single Population
From last lecture (Sampling Distribution): –The first important bit we need to know about sampling distribution is…? –What is the mean of the sampling.
Statistics and Quantitative Analysis U4320
Section 10.3 Hypothesis Testing for Means (Large Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Hypothesis Testing Testing Outlandish Claims. Learning Objectives Be able to state the null and alternative hypotheses for both one-tailed and two-tailed.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Section 10.3 Hypothesis Testing for Means (Large Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Hypothesis Testing State the hypotheses. Formulate an analysis plan. Analyze sample data. Interpret the results.
Hypotheses setting and testing. Hypotheses A hypothesis is a specific statement of prediction. It describes in concrete terms what you expect will happen.
S-012 Testing statistical hypotheses The CI approach The NHST approach.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Scientific Method Probability and Significance Probability Q: What does ‘probability’ mean? A: The likelihood that something will happen Probability.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 5 Introduction to Hypothesis.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
1 Econometrics (NA1031) Lecture 3 Interval Estimation and Hypothesis Testing.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
INTRODUCTION TO HYPOTHESIS TESTING From R. B. McCall, Fundamental Statistics for Behavioral Sciences, 5th edition, Harcourt Brace Jovanovich Publishers,
Introduction to Hypothesis Testing
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Tests of Significance: The Basics ESS chapter 15 © 2013 W.H. Freeman and Company.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
Review of Hypothesis Testing: –see Figures 7.3 & 7.4 on page 239 for an important issue in testing the hypothesis that  =20. There are two types of error.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
Two-sided p-values (1.4) and Theory-based approaches (1.5)
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Lecture 10/24/ Tests of Significance
Presentation transcript:

Data Handling & Analysis ZO4030 Andrew Jackson

Course structure Lecture in the morning – Mondays – Thursdays Computer labs in the afternoon – Mondays – Thursdays Assessment by examination in your final Mod Exams

Participation Lectures to be more tutorial based Moodle website associated with course – Lectures will be posted – Web-based discussions – Wiki, directed by the class to assist learning of R and analytical techniques

The R statistical computer language Free Highly flexible – With many contributed packages Inevitable for modern science Slower to familiarise Initially more frustrating

Reading Statistics, An introduction using R. Michael J Crawley. Wiley. ISBN

A simple experiment Question: – Does adding weight to a coin make it unfair? – Blu-tac added to head side Need to construct testable hypotheses – The null hypothesis

Weighted coin toss Toss the coin 6 times What is the hypothesis about how you think your system will behave? – More likely to get heads – Less likely to get heads – Either more or less likely to get heads What are the corresponding null hypotheses? – That the coin is fair

Behaviour of a fair coin The model is a fair 50:50 coin How do we generate information about how a fair coin behaves? – Toss an un-weighted coin 6 times and repeat – Do the maths

Behaviour of weighted coin Compare the weighted coin against the expected behaviour of a fair coin Question – How likely is it that our observed coin is fair?

Behaviour of weighted coin MAPS

Alternative hypotheses HA: coin is more likely to produce heads – One-tailed test in right tail HA: coin is less likely to produce heads – One-tailed test in left tail HA: coin is unfair (in either direction) – Two-tailed test including both left and right tails

P-values A p-value is the probability of your observed data or more extreme being generated according to the null hypothesis The less likely your data are, the less likely you would accept the null hypothesis as being true – We generally use a cut-off of p<0.05 to accept the alternative hypothesis One or two tailed tests refer to where you predict your alternative hypotheses to lie before you do your experiment

More practical data Data derived from experiments or observations are often normally distributed The normal (Gaussian) distribution provides the null hypothesis and model from which we can calculate statistics and p-values

Are these samples different?

Summary Science is about constructing experiments or designing observations to test your ideas about how the world works Hypotheses must be falsifiable Generally we construct null hypotheses against which our alternative hypotheses can be tested P-values tell us how likely it is our data came from the null hypothesis and therefore allow us to accept or reject it (H0)

1 st Practical session Question: – Are the brains of mammals different to those of birds? – Collect some data from literature / internet Revise your JS notes – What are the key summary statistics you might first look for in your data? – What plots would you undertake to explore your data?