Business Statistics: A Decision-Making Approach 6th Edition Chapter Introduction to Hypothesis Testing Business Statistics: A Decision-Making Approach, 6e © 2005 PrenticeHall, Inc Chap 8-1 Chapter Goals After completing this chapter, you should be able to: Formulate null and alternative hypotheses for applications involving a single population mean or proportion Formulate a decision rule for testing a hypothesis Know how to use the test statistic, critical value, and p-value approaches to test the null hypothesis Know what Type I and Type II errors are Business Statistics: A Decision Compute the probability of a Type II error Making Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-2 What is a Hypothesis? A hypothesis is a claim (assumption) about a population parameter: population mean Example: The mean monthly cell phone bill of this city is = $42 population proportion Example: The proportion of adults in this Business Statistics: A Decisioncity with phones is p = 68 Making Approach, 6e cell © 2005 Prentice-Hall, Inc Chap 8-3 The Null Hypothesis, H0 States the assumption (numerical) to be tested Example: The average number of TV sets in U.S Homes is at least three ( H0 : μ 3 ) Is always about a population parameter, not about a sample statistic H0A:Decisionμ 3 Business Statistics: Making Approach, 6e © 2005 Prentice-Hall, Inc H0 : x 3 Chap 8-4 The Null Hypothesis, H0 (continued) Begin with the assumption that the null hypothesis is true Similar to the notion of innocent until proven guilty Refers to the status quo Always contains “=” , “≤” or “” sign May or may not be rejected Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-5 The Alternative Hypothesis, HA Is the opposite of the null hypothesis e.g.: The average number of TV sets in U.S homes is less than ( HA: < ) Challenges the status quo Never contains the “=” , “≤” or “” sign May or may not be accepted Is generally the hypothesis that is believed (or needs to be supported) by the Business Statistics: A Decisionresearcher Making Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-6 Hypothesis Testing Process Claim: the population mean age is 50 (Null Hypothesis: H0: = 50 ) Population Is x20 likely if = 50? If not likely, Business Statistics: A DecisionREJECT Making 6e © 2005 Null Approach, Hypothesis Prentice-Hall, Inc Suppose the sample mean age is 20: x = 20 Now select a random sample Sample Reason for Rejecting H0 Sampling Distribution of x 20 x = 50 If H0 is true If it is unlikely that we would get a Business Statistics: A Decision if in fact this were sample mean of Making Approach, 6e © 2005 the population mean… this value Prentice-Hall, Inc then we reject the null hypothesis that = 50 Chap 8-8 Level of Significance, Defines unlikely values of sample statistic if null hypothesis is true Is designated by , (level of significance) Defines rejection region of the sampling distribution Typical values are 01, 05, or 10 Is selected by the researcher at the beginning Business Statistics: A Decision Provides the critical value(s) of the test Making Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-9 Level of Significance and the Rejection Region Level of significance = H0: μ ≥ HA: μ < H0: μ ≤ HA: μ > Represents critical value Lower tail test Rejection region is shaded Upper tail test H0: μ = /2 Business HA: Statistics: μ ≠ A DecisionMaking Approach,Two 6etailed © 2005 test Prentice-Hall, Inc /2 Chap 8-10 Hypothesis Tests for Proportions Involves categorical values Two possible outcomes “Success” (possesses a certain characteristic) “Failure” (does not possesses that characteristic) Fraction or proportion of population in the “success” category is denoted by p Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-42 Proportions (continued) Sample proportion in the success category is denoted by p x number of successes in sample p n sample size When both np and n(1-p) are at least 5, p can be approximated by a normal distribution with mean and standard deviation p(1 p) BusinessStatistics: μP A Decisionp σp Making Approach, 6e © 2005 n Prentice-Hall, Inc Chap 8-43 Hypothesis Tests for Proportions The sampling distribution of p is normal, so the test statistic is a z value: Hypothesis Tests for p np and n(1-p) p p z p(1 p) Business Statistics: nA DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc np < or n(1-p) < Not discussed in this chapter Chap 8-44 Example: z Test for Proportion A marketing company claims that it receives 8% responses from its mailing To test this claim, a random sample of 500 were surveyed with 25 responses Test at the = 05 significance level Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Check: n p = (500)(.08) = 40 n(1-p) = (500)(.92) = 460 Chap 8-45 Z Test for Proportion: Solution Test Statistic: H0: p = 08 H A: p 08= 05 p p 05 08 z 2.47 p(1 p) 08(1 08) n 500 n = 500, p = 05 Decision: Critical Values: ± 1.96 Reject 025 Reject 025 z Business Statistics: -1.96 A Decision1.96 Making Approach, 6e © 2005 -2.47 Prentice-Hall, Inc Reject H0 at = 05 Conclusion: There is sufficient evidence to reject the company’s claim of 8% response rate Chap 8-46 p -Value Solution (continued) Calculate the p-value and compare to (For a two sided test the p-value is always two sided) Reject H0 Do not reject H0 /2 = 025 Reject H0 /2 = 025 0068 0068 -1.96 z = -2.47 p-value = 0136: P(z 2.47) P(x 2.47) 2(.5 4932) 2(.0068) 0.0136 1.96 z = 2.47 Business Statistics: A DecisionReject6eH© since Making Approach, 2005 p-value = 0136 < = 05 Prentice-Hall, Inc Chap 8-47 Type II Error Type II error is the probability of failing to reject a false H0 Suppose we fail to reject H0: μ 52 when in fact the true mean is μ = 50 50 Business Statistics: A DecisionReject Making Approach, 6e © H0:2005 μ 52 Prentice-Hall, Inc 52 Do not reject H0 : μ 52 Chap 8-48 Type II Error (continued) Suppose we not reject H0: 52 when in fact the true mean is = 50 This is the range of x where H0 is not rejected This is the true distribution of x if = 50 50 Business Statistics: A DecisionMaking Approach, 6e ©HReject 2005 : 52 Prentice-Hall, Inc 52 Do not reject H0 : 52 Chap 8-49 Type II Error (continued) Suppose we not reject H0: μ 52 when in fact the true mean is μ = 50 Here, β = P( x cutoff ) if μ = 50 β 50 Business Statistics: A DecisionMaking Approach, 6e ©HReject 2005 :μ 52 Prentice-Hall, Inc 52 Do not reject H0 : μ 52 Chap 8-50 Calculating β Suppose n = 64 , σ = , and = 05 cutoff x μ z (for H0 : μ 52) σ 52 1.645 50.766 n 64 So β = P( x 50.766 ) if μ = 50 50 50.766 Business Statistics: A DecisionMaking Approach, 6e ©HReject 2005 :μ 52 Prentice-Hall, Inc 52 Do not reject H0 : μ 52 Chap 8-51 Calculating β (continued) Suppose n = 64 , σ = , and = 05 50.766 50 P( x 50.766 | μ 50) P z P(z 1.02) .5 3461 .1539 64 Probability of type II error: β = 1539 50 Business Statistics: A DecisionMaking Approach, 6e ©HReject 2005 :μ 52 Prentice-Hall, Inc 52 Do not reject H0 : μ 52 Chap 8-52 Using PHStat Options Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-53 Sample PHStat Output Input Output Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-54 Chapter Summary Addressed hypothesis testing methodology Performed z Test for the mean (σ known) Discussed p–value approach to hypothesis testing Performed one-tail and two-tail tests Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-55 Chapter Summary (continued) Performed t test for the mean (σ unknown) Performed z test for the proportion Discussed type II error and computed its probability Business Statistics: A DecisionMaking Approach, 6e © 2005 Prentice-Hall, Inc Chap 8-56 ... value, and p-value approaches to test the null hypothesis Know what Type I and Type II errors are Business Statistics: A Decision Compute the probability of a Type II error Making Approach, 6e... bill of this city is = $42 population proportion Example: The proportion of adults in this Business Statistics: A Decisioncity with phones is p = 68 Making Approach, 6e cell © 2005 Prentice-Hall,... μ 3 ) Is always about a population parameter, not about a sample statistic H0A:Decisionμ 3 Business Statistics: Making Approach, 6e © 2005 Prentice-Hall, Inc H0 : x 3 Chap 8-4 The Null Hypothesis,