
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

(a) For testing H 0 : μD = 0 versus H 0 : μD 6 = 0, use a paired two-sample t-test. The observed t = √d¯s− 20 d /n^
= 7.05. Compare with T distribution on df = n − 1 = 9, the p-value 2 × P (T 9 ≥ 7 .05) is less than 2 × 0 .001, which is 0.002. Reject H 0 at the 5% level and there is strong evidence against H 0. (b) The 90% confidence interval for μD is d¯±tα/ 2 ,n− 1
p s^2 d/n which is 6. 50 ± 1. 833 ×
p
50 /10, or 6. 50 ± 1. 69 = [4. 81 , 8 .19].
(a) The assumptions made in the paired two-sample infer- ence are: D 1 , D 2 , · · · , D 10 are iid N(μD , σ^2 ). That is, the differences Di’s are independent of each other and they are from a normal distribution. The assumption of independence is potentially violated in the current experimental setting. (b) Let μD = μ 2 − μ 1. Then the hypotheses of interest are H 0 : μD = 0 versus H 0 : μD > 0. Since α = 0.10 and β = 1 − 0 .90 = 0.10, we have z 0. 10 = 1.282. We also know that σ^2 = 10, μ^0 D = 0, and μAD = 2. Thus the desired sample size is
n = (zα^ +^ zβ^ )
(^2) σ 2 (μAD − μ^0 D )^2
=
pˆA − pˆB ± z 0. 025
r pˆA(1 − pˆA) nA
pˆB (1 − ˆpB ) nB
= (0. 48 − 0 .167) ± 1. 96 ×
r
We may use the normal approximation, because nApA = 24 > 5 , nAqA = 26 > 5 , nB pB = 10 > 5 , nB qB = 50 > 5. (a)(b) We assume that YA ∼ B(50, pA), YB ∼ B(60, pB ), YA and YB are independent, and for the normal approxi- mation to be valid, we need nApA, nAqA, nB pB , nB qB to be at least 5. For YA to have a binomial distribution, we assume that the outcome of each lake is Bernoulli (contaminated or not), the contamination of lakes is in- dependent, and the contamination rate is constant pA for all 50 lakes (similarly YB ).
P (ˆp ≥ c) ≈ P (Z ≥ p c^ −^0.^5
) = 0.05 = α/ 2.
Since P (Z ≥ 1 .645) = 0.05, we have
c − 0. 5 p
and thus c = 0.5 + 1. 645 ×
p
p
5 × 0. 5 /40 = 0. 5 − 0 .13 = 0 .37. Thus the rejection region is ˆp ≤ 0 .37 or ˆp ≥ 0 .63.
(a) Use an independent two-sample t-test. The pooled vari- ance is sp =
p (s^21 + s^22 )/2 = 1.877 and the observed t = (^) s ¯y^1 −y¯^2 p
1 /n 1 +1/n 2 =^
2 / 15 = 2.78.^ Compare with T distribution on df = 28, the p-value 2 × P (T 28 ≥ 2 .78) is between 2 × 0 .001 and 2 × 0 .005 (i.e. between 0. and 0.01). Reject H 0 at the 5% level and there is strong evidence against H 0. (b) We assume that Y 1 ’s are iid N(μ 1 , σ 12 ), Y 2 ’s are iid N(μ 2 , σ^22 ), Y 1 and Y 2 are independent, and the variances are equal σ^21 = σ^22 = σ^2. That is, we assume normal distribution, independence both within and across trt groups, and equal variance. (c) The ANOVA table looks like:
Source df SS MS Trt 1 27.20 27. Error 28 98.56 3. Total 29 125.76 –
Note that MSError =
p (s^21 + s^22 )/2 = 3.52 and thus SSError = 3. 52 × 28 = 98.56. You may compute SSTrt directly from ¯y 1 , y¯ 2. Alternatively, from 5(a) t = 2.78, we have f = t^2 = 2. 782 and MSTrt = MSError ×f =