Presentation on theme: "Testing the Difference Between Means (Large Independent Samples)"— Presentation transcript:
1 Testing the Difference Between Means (Large Independent Samples) Section 8.1Testing the Difference Between Means (Large Independent Samples)
2 Section 8.1 ObjectivesDetermine whether two samples are independent or dependentPerform a two-sample z-test for the difference between two means μ1 and μ2 using large independent samples
3 Two Sample Hypothesis Test Compares two parameters from two populations.Sampling methods:Independent SamplesThe sample selected from one population is not related to the sample selected from the second population.Dependent Samples (paired or matched samples)Each member of one sample corresponds to a member of the other sample.
5 Example: Independent and Dependent Samples Classify the pair of samples as independent or dependent.Sample 1: Weights of 65 college students before their freshman year begins.Sample 2: Weights of the same 65 college students after their freshmen year.Solution: Dependent Samples (The samples can be paired with respect to each student)
6 Example: Independent and Dependent Samples Classify the pair of samples as independent or dependent.Sample 1: Scores for 38 adults males on a psycho- logical screening test for attention-deficit hyperactivity disorder.Sample 2: Scores for 50 adult females on a psycho- logical screening test for attention-deficit hyperactivity disorder.Solution: Independent Samples (Not possible to form a pairing between the members of the samples; the sample sizes are different, and the data represent scores for different individuals.)
7 Two Sample Hypothesis Test with Independent Samples Null hypothesis H0A statistical hypothesis that usually states there is no difference between the parameters of two populations.Always contains the symbol ≤, =, or ≥.Alternative hypothesis HaA statistical hypothesis that is true when H0 is false.Always contains the symbol >, ≠, or <.
8 Two Sample Hypothesis Test with Independent Samples Ha: μ1 ≠ μ2H0: μ1 ≤ μ2Ha: μ1 > μ2H0: μ1 ≥ μ2Ha: μ1 < μ2Regardless of which hypotheses you use, you always assume there is no difference between the population means, or μ1 = μ2.Note that if μ1 = μ2, that is the same as μ1 - μ2 = 0
9 Two Sample z-Test for the Difference Between Means Three conditions are necessary to perform a z-test for the difference between two population means μ1 and μ2.The samples must be randomly selected.The samples must be independent.Each sample size must be at least 30, or, if not, each population must have a normal distribution with a known standard deviation.
10 Two Sample z-Test for the Difference Between Means If these requirements are met, the sampling distribution for (the difference of the sample means) is a normal distribution withMean:Standard error:Sampling distribution for :
11 Two Sample z-Test for the Difference Between Means Test statistic isThe standardized test statistic isµ1 - µ2 = 0When the samples are large, you can use s1 and s2 in place of σ1 and σ2. If the samples are not large, you can still use a two-sample z-test, provided the populations are normally distributed and the population standard deviations are known.
12 Using a Two-Sample z-Test for the Difference Between Means (Large Independent Samples) In Words In SymbolsState the claim mathematically and verbally. Identify the null and alternative hypotheses.Specify the level of significance.Determine the critical value(s).Determine the rejection region(s).State H0 and Ha.Identify α.Use Table 4 in Appendix B.
13 Using a Two-Sample z-Test for the Difference Between Means (Large Independent Samples) In Words In SymbolsFind the standardized test statistic and sketch the sampling distribution.Make a decision to reject or fail to reject the null hypothesis.Interpret the decision in the context of the original claim.If z is in the rejection region, reject H0. Otherwise, fail to reject H0.µ1 - µ2 = 0
14 Example: Two-Sample z-Test for the Difference Between Means A credit card watchdog group claims that there is a difference in the mean credit card debts of households in New York and Texas. The results of a random survey of 250 households from each state are shown below. The two samples are independent. Do the results support the group’s claim? Use α = 0.05.New YorkTexasσ1 = $σ2 = $n1 = 250n2 = 250
15 Solution: Two-Sample z-Test for the Difference Between Means Ha:α =n1= , n2 =Rejection Region:μ1 = μ2μ1 ≠ μ2 (claim)Test Statistic:0.05250250Decision:Fail to Reject H0.At the 5% level of significance, there is not enough evidence to support the group’s claim that there is a difference in the mean credit card debts of households in New York and Texas.z = –1.11
16 Example: Two-Sample z-Test for the Difference Between Means An energy company wants to choose between two regions to install energy producing wind turbines. A researcher claims the wind speed in Region C and Region D are equal. The average wind speeds for 75 days are observed in Region C and for 80 days in Region D. Do the results support the claim? Use α = 0.03.Region CRegion D𝑥 1 = 14.0 mph𝑥 2 = 15.1 mphσ1 = 2.9 mphσ2 = 3.3 mphn1 = 75n2 = 80
17 Solution: Two-Sample z-Test for the Difference Between Means Ha:α =n1= , n2 =Rejection Region:μ1 = μ2 (claim)μ1 ≠ μ2Test Statistic:0.037580
Your consent to our cookies if you continue to use this website.