bryandnk
- 4
- 0
Homework Statement
Consider the distributions N(mu1, 400) and N(mu2, 225). Let theta = mu1-mu2 and x and y be the observed means of two independent random samples, each of size n, from these two disbtibutions. We reject H(0) : theta = 0 and accept H(a): theta >0 if and only if x-y >=C. If pi(theta) is the power function of this test, find n and C so that pi(theta=10) = 0.95 at significance level alpha = 0.05.
Thank for anyone's help.
The Attempt at a Solution
<br /> <br /> {X-Y-10\over\sqrt{{400\over n}+{225\over n}}}=-1.645<br />
and:
C = X-Y=1.645\sqrt{{400\over n}+{225\over n}}
So if I subtract the first equation from the 2nd, I get:
10=3.29\sqrt{{400\over n}+{225\over n}}
and n = 67.65, but since it should be a whole number, we round up to 68?
Is any of this right, or what's the correct answer?