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.

Slides:



Advertisements
Similar presentations
Unlocking the Mysteries of Hypothesis Testing
Advertisements

Introduction to Hypothesis Testing
Hypothesis testing Another judgment method of sampling data.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Tests of Hypotheses: Large Samples Chapter Rejection region Acceptance
Sample size computations Petter Mostad
Hypothesis Testing: Type II Error and Power.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
T-Tests Lecture: Nov. 6, 2002.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
The t Tests Independent Samples.
Hypothesis Testing – Introduction
Presented by Mohammad Adil Khan
Descriptive statistics Inferential statistics
Hypothesis Testing.
Hypothesis Tests In statistics a hypothesis is a statement that something is true. Selecting the population parameter being tested (mean, proportion, variance,
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part B Hypothesis Tests Population Proportion Population Proportion Hypothesis Testing and Decision Making.
Statistical Power The ability to find a difference when one really exists.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Hypothesis Tests In statistics a hypothesis is a statement that something is true. Selecting the population parameter being tested (mean, proportion, variance,
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
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 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
1 When we free ourselves of desire, we will know serenity and freedom.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Math 4030 – 9a Introduction to Hypothesis Testing
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Introduction to hypothesis testing Hypothesis testing is about making decisions Is a hypothesis true or false? Ex. Are women paid less, on average, than.
Chapter 10: One- and Two-Sample Tests of Hypotheses: Consider a population with some unknown parameter . We are interested in testing (confirming or denying)
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
§2.The hypothesis testing of one normal 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.
One Sample Inf-1 In statistical testing, we use deductive reasoning to specify what should happen if the conjecture or null hypothesis is true. A study.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 9 Hypothesis Testing.
Example: Propellant Burn Rate
Hypothesis Testing – Introduction
Hypothesis Testing: Hypotheses
Hypothesis Testing Summer 2017 Summer Institutes.
Introduction to Inference
Chapter 9: Hypothesis Testing
Introduction to Inference
Chapter 9: Hypothesis Tests Based on a Single Sample
Hypothesis Testing.
Power Section 9.7.
More About Tests Notes from
Confidence Intervals.
Inferential statistics Study a sample Conclude about the population Two processes: Estimation (Point or Interval) Hypothesis testing.
Statistical Power.
Presentation transcript:

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 I Error is denoted by . Type II Error: accept the null hypothesis when it is false and the alternative hypothesis is true. The probability of a Type II Error is denoted by .

3 Null hypothesis DecisionTrueFalse Reject H 0 Type I ErrorCorrect Decision  1   Do not reject H 0 Correct Decision Type II Error 1  

4 The serum cholesterol levels for all 20- to 24-year-old males of a certain population was claimed to be normally distributed with a mean of 180 mg/100ml and standard deviation is 46 mg/100ml. A Population

5 Is the mean cholesterol level of the population of 20- to 74-year-olds higher than 180 mg/100ml ? H 0 :  = 180 mg/100ml (or   180 mg/100ml) H a :  > 180 mg/100ml Research Hypothesis

6 Power of the Test

7 The power of the statistical test is the ability of the study as designed to distinguish between the hypothesized value and some specific alternative value. That is, the power is the probability of rejecting the null hypothesis if the null hypothesis is false. Power = P(reject H 0 | H 0 is false) Power = 1   The power is usually calculated given a simple alternative hypothesis: H a :  = 211 mg/100ml Power = P(reject H 0 | H a is true)

Rejection region z Right tail area is 0.05 Assuming that we use a sample of size 25 and test the hypothesis with a level of significant  = 0.05, what would be the  and the power of the test, i.e. 1   ? If we take the critical value approach, the critical value would be At the level of significant  = 0.05, we would reject H 0 if z 

9 If a sample of size 25 is selected, what would be the critical value in terms of the mean cholesterol level? Rejection region z Right tail area is ? Rejection region 195.1

10 If the alternative hypothesis H a :  =  a = 211 mg/100ml, what would be the probability of NOT rejecting H 0, i.e.  ? H 0 :   = 180 v.s. H a :   = 211 That is to say “how powerful can this test detect a 31 mg/100ml increase in average cholesterol level?”  = ? Power of the test when sample size is 25: Power = 1 –  = 1 – =

11 Assuming that we use a sample of size 100 and test the hypothesis with a level of significant  = 0.05, what would be the  and the power of the test, i.e. 1   ? Rejection region z Right tail area is ? Rejection region 187.6

12 If we assume the actual population mean is 211 mg/100ml for H a, what is the probability of accepting H 0, i.e.  ?  = ?  =.05 Power of the test when sample size is 100: Power = 1 –   ? Recall that the power was.958 when sample size was 25.  – 0  1

n = n =

14 Sample Size Estimation

15 H 0 :  = 180 mg/100ml (or   180 mg/100ml) v.s. H A :  > 180 mg/100ml, to perform a test at the power level of 0.95, with the level of significance of 0.01, how large a sample do we need? (Power of 0.95 means we want to risk a 5% chance of failing to reject the null hypothesis if the true mean is as large as 211 mg/100ml. Or, to say, we want to have a 95% chance of rejecting the null hypothesis if the true mean is as large as 211 mg/100ml.)

 = 0.05  =.01

17 If  =.01, then the critical value in z-score would be The critical value in average cholesterol level would be If the true mean is 211 mg/100ml, with a power of 0.95, i.e.  =.05, we would accept the null hypothesis when the sample average is less than  = 0.05 Let the unknown sample size to be n.  =

18 Set the two equations equal to each other: Solve for n: So, the sample size needed is

19 Formula: The estimated sample size for a one- sided test with level of significance  and a power of 1   to detect a difference of  a –  0 is,

20 For a two-sided test, the formula is

21 Example: For testing hypothesis that H 0 :  =  0 = 70 v.s. H a :   70 (Two-sided Test) with a level of significance of  =.05. Find the sample size so that one can have a power of 1   =.90 to reject the null hypothesis if the actual mean is  a = 80. The standard deviation, , is approximately equal 15.

22  =.05 1   =.90   =.10 The sample size needed is 24. z  /2 = z.025 = 1.96 z  = z.1 = 1.28 

23 Example: For testing hypothesis that H 0 :  =  0 = 70 v.s. H a :  < 70 (One-sided Test) with a level of significance of  =.05. Find the sample size so that one can have a power of 1   .95 to reject the null hypothesis if the actual mean is  a  60 (or the actual difference in means is 10). The standard deviation, , is approximately equal 15.

24 Example: For testing hypothesis that H 0 :  =  0 = 70 v.s. H a :   70 (Two-sided Test) with a level of significance of  =.05. Find the sample size so that one can have a power of 1   .95 to reject the null hypothesis if the actual mean is  a  75. The standard deviation, , is approximately equal 15.