Section 7.3 Table summarizes hypothesis tests to compare two means. These tests assume that each sample is taken from a normal distribution, but the tests are robust when each sample is taken from a non-normal distribution with finite mean and variance. These tests also assume that the two populations being compared have equal variance, but the tests are robust when the sample sizes are equal; if the variances are different and the sample sizes are different, Welch’s modified t statistic should be used, as described at the end of Section 7.3 of the text. 1. Do Text Exercise under the assumption that X 2 = Y 2. (a) The test statistic is t = The one-sided critical region with = 0.01 is x – y —————— = s P 1/n + 1/m t x – y —————— s P 1/16 + 1/13
(b) (c) Since t = > t 0.01 (27) = 2.473, we reject H 0. We conclude that the males have higher mean weight. The p-value of the test is P(T 5.570) which is considerably less than 0.005, from Table VI in Appendix B. (15)( ) + (12)(692.21) s 2 P = ———————————— =, t = a t(27) random variable The results of Welch’s test are almost identical. We find that the test statistic is t = 5.767, the degrees of freedom 26.6 27, and the critical region is still defined by t
2. (a) (b) Use the Analyze > Compare Means > Independent-Samples T Test options in SPSS to do Text Exercise under the assumption of equal variances. The test statistic is t = The one-sided critical region with = 0.05 is x – y —————— = s P 1/n + 1/m t – x – y —————— s P 1/14 + 1/14
From the SPSS output, we find t =– Since t = – < – t 0.05 (26) = – 1.706, we reject H 0. We conclude that the mean birth weight is smaller with mothers who have five or fewer prenatal visits. (c) The p-value of the test is P(T – 1.714) which is between and 0.05, from Table VI in Appendix B. From the SPSS output we find p-value = / 2 = a t(26) random variable
2.-continued (d) The box plots appear to support the conclusion.