HYPOTHESIS TESTING: POWER OF THE TEST



Similar documents
Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Hypothesis testing - Steps

Hypothesis Testing --- One Mean

Introduction to Hypothesis Testing

3.4 Statistical inference for 2 populations based on two samples

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Chapter 2. Hypothesis testing in one population

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Point Biserial Correlation Tests

Lesson 9 Hypothesis Testing

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Hypothesis Testing. Hypothesis Testing

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Introduction to Hypothesis Testing OPRE 6301

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

Estimation of σ 2, the variance of ɛ

22. HYPOTHESIS TESTING

How To Test For Significance On A Data Set

Two Related Samples t Test

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Difference of Means and ANOVA Problems

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Pearson's Correlation Tests

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

Normal Distribution. Definition A continuous random variable has a normal distribution if its probability density. f ( y ) = 1.

Correlational Research

Simple Linear Regression Inference

Non-Parametric Tests (I)

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Descriptive Statistics

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

WISE Power Tutorial All Exercises

Testing a claim about a population mean

6.2 Permutations continued

Using Excel for inferential statistics

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

Tests for One Proportion

UNDERSTANDING THE INDEPENDENT-SAMPLES t TEST

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Tests for Two Survival Curves Using Cox s Proportional Hazards Model

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

Non-Inferiority Tests for Two Means using Differences

Tests for Two Proportions

Chapter 4 Statistical Inference in Quality Control and Improvement. Statistical Quality Control (D. C. Montgomery)

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

How To Compare Birds To Other Birds

Unit 26 Estimation with Confidence Intervals

Name: (b) Find the minimum sample size you should use in order for your estimate to be within 0.03 of p when the confidence level is 95%.

Permutation Tests for Comparing Two Populations

Confidence Intervals for the Difference Between Two Means

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Non-Inferiority Tests for Two Proportions

Principles of Hypothesis Testing for Public Health

ICMSF Lecture on Microbiological Sampling Plans

DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other

Simple Regression Theory II 2010 Samuel L. Baker

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Normal distribution. ) 2 /2σ. 2π σ

1.5 Oneway Analysis of Variance

November 08, S8.6_3 Testing a Claim About a Standard Deviation or Variance

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Two Correlated Proportions (McNemar Test)

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Example 1. so the Binomial Distrubtion can be considered normal

Week 3&4: Z tables and the Sampling Distribution of X

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Sample Size and Power in Clinical Trials

p ˆ (sample mean and sample

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Non-Inferiority Tests for One Mean

Lecture Notes Module 1

Independent t- Test (Comparing Two Means)

Hypothesis Testing for Beginners

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

Additional sources Compilation of sources:

II. DISTRIBUTIONS distribution normal distribution. standard scores

NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

4. Continuous Random Variables, the Pareto and Normal Distributions

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption

Statistiek II. John Nerbonne. October 1, Dept of Information Science

Independent samples t-test. Dr. Tom Pierce Radford University

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

Study Guide for the Final Exam

Testing for differences I exercises with SPSS

STAT 350 Practice Final Exam Solution (Spring 2015)

Lecture 8. Confidence intervals and the central limit theorem

Transcription:

HYPOTHESIS TESTING: POWER OF THE TEST The first 6 steps of the 9-step test of hypothesis are called "the test". These steps are not dependent on the observed data values. When planning a research project, these steps are essential. However, one of the most important parts of your planning is determining how many observations you will need. What is the decision about H o? true false Reject H o. α 1 - β Accept H o. 1 - α β H o α = P(rejecting the null hypothesis given that it is true) = P(the observed value of the test statistic will fall in the rejection region when the null hypothesis is true). β = P(accepting the null hypothesis given that it is false) = P(the observed value of the test statistic will not fall in the rejection region when the null hypothesis is false). Power of the test = P(rejecting the null hypothesis given that it is not true) = P(the test statistic will fall in the rejection region when the null hypothesis is false). Power = 1 - β. Example 1. Given the following test, find β and the power of the test. H a : µ =\ 100 H o : µ = 100 Assumptions: The random variable X is normally distributed with unknown mean µ and variance 64. A sample of size 16 is to be used. α =.05 RR: z < -1.96 or z > 1.96 β = P(accepting the null hypothesis when it is false). To find this probability we need to express the critical values as values of the sample mean, < 100-1.96(8)/4 = 96.08 or > 100 + 1.96(8)/4 = 103.92. 1

Thus, β = P( 96.08 < < 103.92 µ a =/ 100). Now we need the z- scores of 96.08 and 103.92 when µ a is not 100. However, to do so we need to know which value of µ a to use. The value of β and the power of the test will be functions of the values of µ a, σ, n and α. Let s compute β and the power of this test when µ a = 102. β = P( 96.08 < < 103.92 µ a = 102). Since σ 2 = 64 and n = 16, σ x = 2. Hence, β = P( -2.96 < z <.96) =.8315 -.0015 =.8300. Thus, power = 1 - β = 1 -.8300 =.1700. Hence, if µ a is actually 102 and we use a sample of size 16, there is only a 17% chance that we will reject the null hypothesis that µ = 100. The values of β and the power of this test for selected values of µ a are given in the table. The plot of power versus µ a is called the power curve for the test. µ a β Power 90.0012.9988 92.0207.9793 94.1492.8508 96.4840.5160 98.8300.1700 102.8300.1700 104.4840.5160 106.1492.8508 108.0207.9793 110.0012.9988 2

The formula for the power of a two-tailed test for the null hypothesis, µ = µ o, is This formula indicates that power is related to α, µ a, σ and n. What would happen if the test were a one-sided? H o : µ < 100 versus H a : µ > 100 α =.05 RR: z > 1.645 To find β, we need to compute the probability of accepting the null hypothesis when it is not true. To find this probability we need to express the critical values as values of the sample mean, > 100 + 1.645(8)/4 = 103.29. Hence, β = P( < 103.29 µ a > 100). Once again we need the z- score of 103.29 when µ a is greater than 100. To do this we need to know which µ a to use. The values of β and power of the test will be a functions of the value of µ a, α, σ and n. 3

Let s compute β and the power of this test when µ a = 102. β = P( < 103.29 µ a = 102). Since σ 2 = 64 and n = 16, σ x = 2. Hence, β = P(z <.65) =.7422. Thus, power = 1 - β = 1 -.7422 =.2578. Hence, if µ a is actually 102 and we use a sample of size 16, there is only a 25.78% chance that we will reject the null hypothesis that µ = 100. The values of β and the power of this test for selected values of µ a are given in the table. µ a β Power 102.7422.2578 104.3594.6406 106.0869.9131 108.0091.9909 110.0004.9996 There is a 25.78% chance of rejecting the null hypothesis that µ = 100 when µ a is actually 102 using a one-tailed test and a 17% chance when a two-tailed test is used. But when µ a is actually 104 there is a 64.06% chance of rejecting the null hypothesis using a one-tailed test and a 51.60% chance using a two-tailed test. When correctly, specified a one-tailed test is always more powerful than the corresponding two-tailed test. The formula for the power of a one-tailed test for the null hypothesis, µ < µ o, is. This formula can be used to answer several different questions. Examples: The test is H o : µ < 100 versus H a : µ > 100 Assumptions: The population is normally distributed with σ 2 = 64 (σ = 8). α =.05 RR: z > 1.645 4

1) Find the power of the test above when n = 20 and µ a = 102. Solution: 2) Find the sample size needed to have power =.83 when µ a = 105 for the hypothesis test above. Solution: 3) Find the value of µ a when the power =.75 and n = 20 for the test above. Solution: Similar, computations are used to find the power for lower tailed tests. 5

If you examine each power formula, you find that each contain the expression. Let. We say that the effect size is d =. The general form of δ is given by, where f(n) is a function of the sample size. For tests, such as matched pairs and two sample tests for the mean, see Howell s text for f(n). Howell s text also gives tables for finding the power of two-tailed tests based on α and δ. EXERCISES I. H o : µ < 12 versus H a : µ > 12 Assumptions: X is normally distributed with σ = 5. α =.01 1) For n = 14 and µ a = 14, what is the power of this test? DRAW A PICTURE. 2) If the researcher wants the power of this test to be.85, how large should the sample size be? DRAW A PICTURE. II. H o : µ = 120 versus H a : µ =/ 120 Assumptions: X is normally distributed with σ = 20. α =.05 1) For n = 25 and µ a = 110, what is the power of this test? Use both the formula and the table in the text. 2) If the researcher wants the power of the test to be.90, how large should the sample size be when µ a = 110? Use both the formula and the table in the text. 3) Redo parts 1 and 2 if α =;01. 6