Supplement 10: The Power of a Test *The ppt is a joint effort: Mr DAI Liang discussed the power of a test with Dr. Ka-fu Wong on 16 April 2007; Ka-fu explained.

Slides:



Advertisements
Similar presentations
Power of a test. power The power of a test (against a specific alternative value) Is a tests ability to detect a false hypothesis Is the probability that.
Advertisements

Unlocking the Mysteries of Hypothesis Testing
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Inference Sampling distributions Hypothesis testing.
Statistical Techniques I EXST7005 Lets go Power and Types of Errors.
AP Statistics – Chapter 9 Test Review
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
1 Should Antelope Coffee Inc. open a new shop at Montana?* Example7.4 of Newbold and Carlson and Thorne, 6th edition Ka-fu Wong & Nipun Sharma University.
Business Statistics - QBM117
Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Supplement9-1 Supplement 9: The impact of Switching Null and Alternative Hypothesis *The ppt is a.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing: Type II Error and Power.
1 Supplement 12: Finite-Population Correction Factor Ka-fu WONG & Yi KE *The ppt is a joint effort: Mr KE Yi discussed whether we should make the finite.
Ka-fu Wong & Liang Dai University of Hong Kong 12 March 2007
1 STATISTICAL HYPOTHESES AND THEIR VERIFICATION Kazimieras Pukėnas.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
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 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Ka-fu Wong © Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
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.
Warm-up Day of 8.1 and 8.2 Review. 8.2 P#20, 23 and 24 P#20 a. and b. c. Since the p-hat is along the line for reasonably likely events.
Large sample CI for μ Small sample CI for μ Large sample CI for p
1 When we free ourselves of desire, we will know serenity and freedom.
Chapter 20 Testing Hypothesis about proportions
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
1 When we free ourselves of desire, we will know serenity and freedom.
1 Where we are going : a graphic: Hypothesis Testing. 1 2 Paired 2 or more Means Variances Proportions Categories Slopes Ho: / CI Samples Ho: / CI Ho:
Fall 2002Biostat Statistical Inference - Proportions One sample Confidence intervals Hypothesis tests Two Sample Confidence intervals Hypothesis.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Statistical Techniques
Chapter 8: Introduction to Hypothesis Testing. Hypothesis Testing A hypothesis test is a statistical method that uses sample data to evaluate a hypothesis.
If we fail to reject the null when the null is false what type of error was made? Type II.
Chapter 9: Hypothesis Tests for One Population Mean 9.2 Terms, Errors, and Hypotheses.
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
1 Where we are going : a graphic: Hypothesis Testing. 1 2 Paired 2 or more Means Variances Proportions Categories Slopes Ho: / CI Samples Ho: / CI / CI.
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
CHAPTER 9 Testing a Claim
Section Testing a Proportion
Significance Test for the Difference of Two Proportions
Unit 5: Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Section 8.2 Day 4.
Examples of testing the mean and the proportion with single samples
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
When we free ourselves of desire,
Hypothesis Tests for Two Population Proportions
Section 11.2: Carrying Out Significance Tests
Chapter Review Problems
P-value Approach for Test Conclusion
Unlocking the Mysteries of Hypothesis Testing
Inferences on Two Samples Summary
AP Statistics: Chapter 21
Section 12.2: Tests about a Population Proportion
Hypothesis Tests for Proportions
Significance Tests: The Basics
Statistics 300: Elementary Statistics
Significance Tests: The Basics
Chapter 11: Introduction to Hypothesis Testing Lecture 5c
Chapter 9: Testing a Claim
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
Section 11.1: Significance Tests: Basics
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
Presentation transcript:

Supplement 10: The Power of a Test *The ppt is a joint effort: Mr DAI Liang discussed the power of a test with Dr. Ka-fu Wong on 16 April 2007; Ka-fu explained the problem; Liang drafted the ppt; Ka-fu revised it. Use it at your own risks. Comments, if any, should be sent to

Imagine this scenario  At a starry night, we noticed a bright spot in the sky.  From the map, we knew that it is a system of binary stars. However, our naked eyes could not tell.  So, we borrowed a telescope and looked at it again.

If it is actually two stars…  Given the same telescope (or naked eyes), the larger the distance between the two stars, the more likely we can distinguish between them.  Given the same two stars, the larger the Magnification Coefficient (MC) of our telescope, the more likely we can distinguish between the two stars.

The idea of “power”!!  The power a test is a measure of the ability of a test in distinguishing between two possible values of the parameter of interest.  In the context of hypothesis testing, the power of the test is the ability of the test in telling us the null is wrong when the true parameter is different from the null.  Conditional (given) a test, such ability depends on how far apart the null is from the true parameter.  The larger the difference between the truth and the null, the larger the power of a given test.

Analogy between statistical test and telescope Statistical testTelescope (Star gazing) Power of a test in distinguishing between two values of parameter. Magnification coefficient (MC) of your telescope The larger the difference between the truth and the null, the larger the power. The larger the distance between the two stars, the more likely we can distinguish between them using the same telescope. Given the same truth and null, the larger is the power, the more accurate is the test. Given the same two stars, the larger the MC of our telescope, the more likely we can distinguish the two stars.

Exercise (Problem 10.42)  A random sample of 802 supermarket shoppers had 378 shoppers that preferred generic brand items if the price was lower.  Test at the 10% level the null hypothesis that at least one-half of all shoppers preferred generic brand items against the alternative that the population proportion is less than one-half.  Find the power of a 10% level test if, in fact, 45% of the supermarket shoppers are able to state the correct price of an item immediately after putting it into the cart.

The null hypothesis  The hypotheses:  Null hypothesis (H 0 ):  0.5,  Alternative (H 1 ):  < 0.5  Variance of the sample proportion p under H 0 is:  0.5*(1-0.5)/802=  Level of significance = 0.1

When is H 0 rejected?  Reject H 0 if sample proportion p is too small.  At the level of significance (=0.1), z =  Upper limit of rejection is 0.5+ z*[std. dev. under H 0 ] =  Therefore, H 0 is rejected when p   =0.5  =0 p z Standardized to standard normal: z=(p-  )/std(p)  =0.1 Rejection region p=378/802 = Null rejected.

If the real proportion is 0.45  H 0 is false since  = 0.45 ≠ 0.5  The power is Pr(rejecting the null |  =0.45) = Pr(p  |  =0.45)  Variance under  = 0.45 is : .45*(1-.45)/802=  Pr(p  |  =0.45) =Pr(Z  ( )/sqrt( )) =  Thus, is the probability that H 0 (  0.5 ) is correctly rejected when the truth is  = 0.45.

- END - Supplement 9: AnExample of Switching Null and Alternative Hypothesis An Example of Switching Null and Alternative Hypothesis A simulated example of a binary star, where two bodies with similar mass orbit around a common barycenter in elliptic orbits. (From