Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Information on how to conduct hypothesis tests and find confidence intervals for the difference between means in two-sample testing. Both paired and independent samples, with equal and unequal variances. It also includes instructions for performing levene's test to check the assumption of equal variances.
Typology: Exams
1 / 2
STATISTICS 571 TA: Perla Reyes DISCUSSION 8
(a) Paired Sample Suppose (X 1 , Y 1 ), (X 2 , Y 2 ), · · · , (Xn, Yn) are paired samples from (X, Y ) and E(X)= μ 1 , E(Y)= μ 2. Suppose D = X − Y is a random sample from a N (μD, σ D^2 ), where μD = μ 1 − μ 2. i. The test statistic for H 0 : μD = d versus HA : μD 6 = d is
T =
D¯ − d SD/
n ∼ tn− 1
ii. A (1 − α)% C.I. for μD is given by
d¯ − tn− 1 ,α/ 2 √^ sd n
≤ μD ≤ d¯ + tn− 1 ,α/ 2 sd √ n (b) Independent Sample, assuming σ^21 = σ^22 Suppose X 1 , X 2 , ..., Xn 1 is a random sample from N (μ 1 , σ^21 ) and Y 1 , Y 2 , ..., Yn 2 is a ran- dom sample from N (μ 2 , σ^22 ). Suppose those two samples are independent and σ 12 = σ 22 = σ^2. i. The test statistic for H 0 : μ 1 − μ 2 = a versus HA : μ 1 − μ 2 6 = a is
T = ( X¯ − Y¯ ) − a Sp
1 n 1 +^
1 n 2
∼ tn 1 +n 2 − 2 , where S p^2 = (n 1 − 1)S 12 + (n 2 − 1)S 22 n 1 + n 2 − 2
ii. A (1 − α)% C.I. for μ 1 − μ 2 is
¯x − y¯ − tn 1 +n 2 − 2 ,α/ 2 sp
n 1
n 2 ≤ μ 1 − μ 2 ≤ x¯ − y¯ + tn 1 +n 2 − 2 ,α/ 2 sp
n 1
n 2 (c) Independent Sample σ^21 6 = σ^22 Suppose X 1 , X 2 , ..., Xn 1 is a random sample from N (μ 1 , σ^21 ) and Y 1 , Y 2 , ..., Yn 2 is a ran- dom sample from N (μ 2 , σ 22 ). Suppose those two samples are independent, but σ^21 6 = σ 22 i. The test statistic for H 0 : μ 1 − μ 2 = a versus HA : μ 1 − μ 2 6 = a is
T =
( X¯ − Y¯ ) − a √ S^21 n 1 +^
S 22 n 2
∼ t with adf =
(vr 1 + vr 2 )^2 ( vr
(^21) n 1 − 1 ) + (^
vr 22 n 2 − 1 ) where vr 1 = S^21 /n 1 and vr 2 = S 22 /n 2. ii. A (1 − α)% C.I. for μ 1 − μ 2 is
x¯ − y¯ − tadf,α/ 2
s^21 n 1
s^22 n 2
≤ μ 1 − μ 2 ≤ x¯ − y¯ + tadf,α/ 2
s^21 n 1
s^22 n 2 (d) Test of equal variance (Levene’s Test) i. Determine the median of each sample ii. Calculate the absolute value of all deviates from the median iii. If, in either sample, there is an odd number of observations, delete exactly one “0” iv. Perform an independent sample T-test with variances assumed equal
email: [email protected] 1 Office: 248 MSC M2:30-3:30 R3:30-4:
STATISTICS 571 TA: Perla Reyes DISCUSSION 8
location 1 2 3 4 5 6 7 8 9 10 without additive 20 31 16 22 19 32 25 18 20 19 with additive 23 34 15 21 22 31 29 20 24 23
(a). State the assumptions you must make to proceed with an analysis of data of this form. (b). Do these data support the claim that use of the chemical additive accelerates plant growth? (c). Find a 95% C.I. for the difference between plant growth.
X 6. 5 5. 5 5. 0 7. 0 Y 7. 5 6. 5 8. 0 9. 0 8. 5
(a) State the assumptions you must make to proceed with an analysis of data of this form. (b) Test whether the mean weight of potatoes on the corn field equals to the mean weight of potatoes grown on the non-rotated potato field assuming (i) the variances are equal and (ii) assuming that the variances are not equal. (c) Check the assumption of equal variance. (d) Test whether the mean weight of potatoes on the corn field equals to the mean weight of potatoes grown on the non-rotated potato field plus 0.1. (e) Find a 95% C.I. for the difference in their mean weights.
email: [email protected] 2 Office: 248 MSC M2:30-3:30 R3:30-4: