SADC Course in Statistics Basic principles of hypothesis tests (Session 08)

Slides:



Advertisements
Similar presentations
Introductory Mathematics & Statistics for Business
Advertisements

1 Session 8 Tests of Hypotheses. 2 By the end of this session, you will be able to set up, conduct and interpret results from a test of hypothesis concerning.
SADC Course in Statistics Analysis of Variance for comparing means (Session 11)
SADC Course in Statistics Common Non- Parametric Methods for Comparing Two Samples (Session 20)
Basic Sampling Concepts
SADC Course in Statistics Estimating population characteristics with simple random sampling (Session 06)
The Poisson distribution
SADC Course in Statistics Further ideas concerning confidence intervals (Session 06)
SADC Course in Statistics Introduction to Non- Parametric Methods (Session 19)
SADC Course in Statistics Tests for Variances (Session 11)
Assumptions underlying regression analysis
SADC Course in Statistics Meaning and use of confidence intervals (Session 05)
SADC Course in Statistics The binomial distribution (Session 06)
SADC Course in Statistics Sampling weights: an appreciation (Sessions 19)
SADC Course in Statistics Inferences about the regression line (Session 03)
Correlation & the Coefficient of Determination
SADC Course in Statistics Comparing two proportions (Session 14)
SADC Course in Statistics Linking tests to confidence intervals (and other issues) (Session 10)
SADC Course in Statistics Conditional Probabilities and Independence (Session 03)
SADC Course in Statistics Introduction to Statistical Inference (Session 03)
SADC Course in Statistics (Session 09)
SADC Course in Statistics Comparing Means from Paired Samples (Session 13)
SADC Course in Statistics Revision on tests for means using CAST (Session 17)
Probability Distributions
Hypothesis Test II: t tests
Hypothesis Testing W&W, Chapter 9.
Chapter 7 Hypothesis Testing
Introduction to Hypothesis Testing
Lesson 10 - QR Summary of Sections 1 thru 4. Objectives Review Hypothesis Testing –Basics –Testing On Means, μ, with σ known  Z 0 Means, μ, with σ unknown.
Small differences. Two Proportion z-Interval and z-Tests.
Putting Statistics to Work
Statistical Inferences Based on Two Samples
Topics
CHAPTER 15: Tests of Significance: The Basics Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
SADC Course in Statistics Introduction and Study Objectives (Session 01)
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Significance Tests for Proportions Presentation 9.2.
Statistical hypothesis testing – Inferential statistics I.
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Significance Test A claim is made. Is the claim true? Is the claim false?
1 CHAPTER 4 CHAPTER 4 WHAT IS A CONFIDENCE INTERVAL? WHAT IS A CONFIDENCE INTERVAL? confidence interval A confidence interval estimates a population parameter.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
AP Statistics Section 11.1 B More on Significance Tests.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
Major Steps. 1.State the hypotheses.  Be sure to state both the null hypothesis and the alternative hypothesis, and identify which is the claim. H0H0.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
Today: Hypothesis testing. Example: Am I Cheating? If each of you pick a card from the four, and I make a guess of the card that you picked. What proportion.
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Overview and Basics of Hypothesis Testing
Hypothesis Tests for Proportions
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
STATISTICS HYPOTHESES TEST (I)
Presentation transcript:

SADC Course in Statistics Basic principles of hypothesis tests (Session 08)

To put your footer here go to View > Header and Footer 2 Learning Objectives By the end of this session, you will be able to explain what is meant by a null hypothesis and an alternative hypotheses write down a null hypothesis that would enable a claim about some event to be tested statistically write down the alternative hypothesis corresponding to the null hypothesis describe clearly the two types of errors that arise when testing the null against the alternative hypothesis

To put your footer here go to View > Header and Footer 3 From Objectives to Hypotheses Consider the following claims made by (say) a local NGO… The under-five mortality rate in year 2000 in sub-Saharan Africa is significantly lower than its value in 1990 of 185 per 1000 live births Mean years of education, of the heads of households in Tanzania, differ according to the gender of the household head There is a relationship between level of access to clean water and the number of episodes of diarrhoea in the household

To put your footer here go to View > Header and Footer 4 Testing a given claim Question:Is there an evidence-based approach to test these claims? Question:If so, how can the claim be tested? Answer:Set up a hypothesis in a very precise way and use data to reject, or fail to reject the hypothesis. This hypothesis is called the null hypothesis It is usually denoted by H 0. We now recast the claims on slide 3 in the form of a series of null hypotheses.

To put your footer here go to View > Header and Footer 5 Formulating the null hypothesis H 0 : The average under-five mortality rate in year 2000 in sub-Saharan Africa is 185 deaths per 1000 live births H 0 : Mean years of education, of the heads of households in Tanzania, are equal in male headed and female headed HHs H 0 : There is NO relationship between level of access to clean water and the number of episodes of diarrhoea in the household Note that the null is very exactly stated!

To put your footer here go to View > Header and Footer 6 What if H 0 is untrue? Need also to set up alternative hypothesis H 1 which must be preferred if H 0 is rejected H 1 : The average under-five mortality rate in year 2000 in sub-Saharan Africa is not equal to 185 deaths per 1000 live births H 1 : Mean years of education, of the heads of households in Tanzania, are unequal across the gender of the household head H 1 : There is a relationship between level of access to clean water and the number of episodes of diarrhoea in the household

To put your footer here go to View > Header and Footer 7 Mathematical formulation Let be the mean under-five mortality rate in year 2000 Let the mean number of years of education of male and female heads of HHs in Tanzania, be 1 and 2 respectively Then the first two hypotheses above may be written as H 0 : =185 versus H 1 : 185, and H 0 : 1 = 2 versus H 1 : 1 2

To put your footer here go to View > Header and Footer 8 Data needed for tests about means Since the null and alternative hypotheses concern the unknown population means, the test is based on the sample means. For our 1 st example, find that in year 2000, the mean under-5 mortality from results of 30 countries gives mean = 138.1, std. error=14.03 Do you think this provides evidence against the null hypothesis? Discuss this in small groups, using intuitive arguments.

To put your footer here go to View > Header and Footer 9 The second example For our 2 nd example, find: mean = 6.62 years for males mean = 6.46 years for females Thus difference in mean = 0.16 The 95% confidence interval for this difference is: (-0.174, 0.495) Do you think this provides evidence against the null hypothesis? Again, discuss this in small groups, using intuitive arguments.

To put your footer here go to View > Header and Footer 10 Discussion of findings… What are your conclusions from the discussions above? Did you pay attention to the change that had occurred and considered whether (from an intuitive point of view) this change constituted a large change? Did the value of the standard error help? Did knowledge of the confidence limits help?

To put your footer here go to View > Header and Footer 11 What sample statistics to use? In both examples above, we used the sample mean because the claim concerned one or more means Suppose we were in the year 2015, and want to test the claim by donors that the proportion of people living below the poverty line is less than half? What is the sample statistic you would use in this case? Can you write down the null and alternative hypotheses here?

To put your footer here go to View > Header and Footer 12 Two types of errors In testing the null hypothesis against the alternative hypothesis, two errors can arise… 1.Rejecting the null hypothesis when it is actually true 2.Failing to reject the null hypothesis when the alternative is true Probabilities associated with the occurrence of these errors are denoted by and respectively.

To put your footer here go to View > Header and Footer 13 More formally… = Prob(Rejecting H 0 | H 0 true) = Prob(Failing to reject H 0 | H 1 true) is called the Type I error, while is called the Type II error. Of course we want to minimise these errors. This is not usually possible simultaneously. So in practice, is pre-set, usually to a value < 0.05, with the hope that would be relatively small.

To put your footer here go to View > Header and Footer 14 Power of test Note that 1 - is called the power of the test, i.e. Power = Prob (Rejecting H 0 | H 1 true) = 1 – Prob(Type II error) It is often used in sample size calculations where testing is involved.

To put your footer here go to View > Header and Footer 15 Some practical work follows…