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.

Slides:



Advertisements
Similar presentations
Power of a test. power The power of a test (against a specific alternative value) Is the probability that the test will reject the null hypothesis when.
Advertisements

Introduction to Hypothesis Testing
Sample size and statistical power ดร. อรพิน กฤษณเกรียงไกร ดร. อรพิน กฤษณเกรียงไกรคณะสาธารณสุขศาสตร์มหาวิทยาลัยนเรศวร.
One-Sample t-Tests. A Story Problem An educational consulting firm claims its new reading curriculum improves the mean reading score of children. Last.
Power and Effect Size Cal State Northridge  320 Andrew Ainsworth PhD.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
 When we perform a hypothesis test, we make a decision to either Reject the Null Hypothesis or Fail to Reject the Null Hypothesis.  There is always the.
Decision Errors and Power
+ Chapter 10 Section 10.4 Part 2 – Inference as Decision.
AP Statistics – Chapter 9 Test Review
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Power and Effect Size.
Power of a test. power The power of a test (against a specific alternative value) Is the probability that the test will reject the null hypothesis when.
Power of a Test Notes: P 183 and on your own paper.
Hypothesis Testing – Introduction
Hypothesis Testing.
The Probability of a Type II Error and the Power of the Test
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 3 Investigating Independence Objectives Students will be able to: 1) Understand what it means for attempts to be independent 2) Determine when.
Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.
When should you find the Confidence Interval, and when should you use a Hypothesis Test? Page 174.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
Significance Test A claim is made. Is the claim true? Is the claim false?
Errors in Hypothesis Tests Notes: P When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility.
Power of a Hypothesis test. H 0 True H 0 False Reject Fail to reject Type I Correct Type II Power   Suppose H 0 is true – what if we decide to fail.
Chapter 9: Power I can make really good decisions. Chapter 9: Power Target Goal: I can make really good decisions. 9.1d h.w: pg 548: 23, 25.
+ 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.
Power of a test. power The power of a test (against a specific alternative value) Is In practice, we carry out the test in hope of showing that the null.
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.
Power of a Test. Remember: Type I error – Reject the H 0 when you shouldn’t have. Type II error - Fail to reject the H o when you should have.
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.
Lesson 2: Section 9.1 (part 2).  Interpret a Type I Error and a Type II Error in context, and give the consequences of each.  Understand the relationship.
More about tests and intervals CHAPTER 21. Do not state your claim as the null hypothesis, instead make what you’re trying to prove the alternative. The.
Chapter 9 Testing A Claim 9.1 SIGNIFICANT TESTS: THE BASICS OUTCOME: I WILL STATE THE NULL AND ALTERNATIVE HYPOTHESES FOR A SIGNIFICANCE TEST ABOUT A POPULATION.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Errors in Hypothesis Tests
Power of a test.
Example: Propellant Burn Rate
Power of a test.
Power of a test.
Hypothesis Tests for 1-Sample Proportion
Hypothesis Testing – Introduction
Hypothesis Testing: Hypotheses
MATH 2311 Section 8.2.
CONCEPTS OF HYPOTHESIS TESTING
A Closer Look at Testing
Chapter Review Problems
P-value Approach for Test Conclusion
Chapter 9 Hypothesis Testing
Hypothesis Testing (Cont.)
Chapter 9: Hypothesis Tests Based on a Single Sample
Significance Tests: The Basics
Power of a Test.
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Errors in Hypothesis Tests
More About Tests Notes from
Power of a test.
Power of a test.
Power of a Hypothesis Test
Power of a test.
Chapter 9: Testing a Claim
Homework: pg. 727 & ) A. Ho: p=0.75, Ha:p>0.75
Power of a test.
Power Problems.
Inference as Decision Section 10.4.
AP STATISTICS LESSON 10 – 4 (DAY 2)
Statistical Power.
Presentation transcript:

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 the test will correctly reject a false null hypothesis In practice, we carry out the test in hope of showing that the null hypothesis is false, so high power is important

H 0 True H 0 False Reject Fail to reject Type I Correct Type II Power Suppose H 0 is true – what if we decide to fail to reject it? Suppose H 0 is false – what if we decide to reject it? Suppose H 0 is true – what if we decide to reject it? Suppose H 0 is false – what if we decide to fail to reject it? We correctly reject a false H 0 !

A new flu vaccine claims to prevent a certain type of flu in 70% of the people who are vaccinated. A random sample of 100 people are vaccinated and then exposed to the flu. Is this claim too high? Use =.05. What are the hypotheses? H 0 : p =.7 H a : p <.7

A new flu vaccine claims to prevent a certain type of flu in 70% of the people who are vaccinated. A random sample of 100 people are vaccinated and then exposed to the flu. Is this claim too high? Use =.05. Find p and p. p =.7 p =.0458

A new flu vaccine claims to prevent a certain type of flu in 70% of the people who are vaccinated. A random sample of 100 people are vaccinated and then exposed to the flu. Is this claim too high? Use =.05. What is the probability of committing a Type I error? =.05

.7 H 0 : p =.7 H a : p <.7 =.05 For what values of the sample proportion would you reject the null hypothesis? Invnorm(.05,.7,.0458) =.625 =.05 p? So if we get p-hat=.625 or less, we would reject H 0.

H 0 : p =.7 H a : p <.7 We reject H 0 and decide that p<.7. Suppose that p a is 0.6. What is the probability of committing a Type II error? Where did this number come from? I selected a number that was less than =.05 Reject What is a type II error? = ? How can we find this area? What is the standard deviation of this curve? Normalcdf(.625,,.6,.0458) =.293 failing to reject H 0 when the alternative is true

What is the power of the test? Power = = =.05 =.293 What is the definition of power? The probability that the test correctly rejects H 0 Power = ? Power - the probability that the test correctly rejects H0, if p =.6, is.707 Is power a conditional probability?

Suppose we select.55 as the alternative proportion (p). a)What is the probability of the type II error? b) What is the power of the test? = normalcdf(.625,,.55,.0458) = =.05 Power = =.949 What happened to the power of the test when the difference |p 0 – p a | is increased?

Suppose we select.65 as the alternative proportion (p). a) What is the probability of the type II error? b) What is the power of the test? Power = = =.05 = normalcdf(.625,,.65,.0458) =.707 What happened to the power when the difference |p 0 -p a | is decreased? Power

Suppose that we change alpha to 10%. Using p a =.6, what would happen to the probability of a type II error and the power of the test?.7.6 =.05 =.1 Power BUT also increased The probability of the type II error ( ) decrease and power increased, BUT the probability of a type I error also increased. =.1836 Power =.8164

What happens to,, & power when the sample size is increased? Reject H 0 Fail to Reject H 0 p0p0 papa P(type II) decreases when n increases Power Power increases when n increases

p0p0 papa Reject H 0 Fail to Reject H 0 Power = 1 - APPLET

Recap: What affects the power of a test? As |p 0 – p a | increases, power increases As increases, power increases As n increases, power increases

Facts: The researcher is free to determine the value of. The experimenter cannot control, since it is dependent on the alternate value. The ideal situation is to have as small as possible and power close to 1. (Power >.8) powerAs increases, power increases. (But also the chance of a type I error has increased!) sample sizeBest way to increase power, without increasing, is to increase the sample size

A new flu vaccine claims to prevent a certain type of flu in 70% of the people who are vaccinated. In a test, vaccinated people were exposed to the flu. Is this claim too high? Identify the decision: a) You decide that the proportion of vaccinated people who do not get the flu is less than 70% when it really is not. Type I Error

A new flu vaccine claims to prevent a certain type of flu in 70% of the people who are vaccinated. In a test, vaccinated people were exposed to the flu. Is this claim too high? Identify the decision: b) You decide that the proportion of vaccinated people who do not get the flu is less than 70% when it really is. Correct – Power!!