This preview shows pages 1–9. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Inference for Distributions Comparing Two Means IPS Chapter 7.2 2009 W.H. Freeman and Company Objectives (IPS Chapter 7.2) Comparing two means Twosample z statistic Twosamples t procedures Twosample t significance test Twosample t confidence interval Robustness Details of the twosample t procedures Comparing two samples Which is it? We often compare two treatments used on independent samples. Is the difference between both treatments due only to variations from the random sampling (B), or does it reflect a true difference in population means (A)? Independent samples: Subjects in one samples are completely unrelated to subjects in the other sample. Population 1 Sample 1 Population 2 Sample 2 (A) Population Sample 2 Sample 1 (B) Twosample z statistic We have two independent SRSs (simple random samples) possibly coming from two distinct populations with ( 1 , 1 ) and ( 2 , 2 ). We use 1 and 2 to estimate the unknown 1 and 2 . When both populations are normal, the sampling distribution of ( 1 2 ) is also normal, with standard deviation : Then the twosample z statistic has the standard normal N( , 1 ) sampling distribution. 2 2 2 1 2 1 n n + 2 2 2 1 2 1 2 1 2 1 ) ( ) ( n n x x z + = x x x x Two independent samples t distribution We have two independent SRSs (simple random samples) possibly coming from two distinct populations with ( 1 , 1 ) and ( 2 , 2 ) unknown. We use ( 1 , s 1 ) and ( 2 , s 2 ) to estimate ( 1 , 1 ) and ( 2 , 2 ), respectively. To compare the means, both populations should be normally distributed. However, in practice, it is enough that the two distributions have similar shapes and that the sample data contain no strong outliers. x x SE = s 1 2 n 1 + s 2 2 n 2 s 1 2 n 1 + s 2 2 n 2 df 1 2 x 1 x 2 The twosample t statistic follows approximately the t distribution with a standard error SE (spread) reflecting variation from both samples: Conservatively, the degrees of freedom is equal to the t = ( x 1 x 2 ) ( 1 2 ) SE Twosample t significance test The null hypothesis is that both population means 1 and 2 are equal, thus their difference is equal to zero. t = x 1 x 2 s 1 2 n 1 + s 2 2 n 2 x x Does smoking damage the lungs of children exposed to parental smoking?...
View
Full
Document
This note was uploaded on 04/25/2009 for the course ECON 41 taught by Professor Guggenberger during the Winter '07 term at UCLA.
 Winter '07
 Guggenberger

Click to edit the document details