STAT 330: 98-1
Assignment 5 Solutions
so that .
Make the substitution for which
and get
For the special case r=2 we get the formula in the book (using
).
To maximize this we take the derivative with respect to and
set the result equal to 0 getting
which has root which is the same as
the unbiased estimate above.
The integral may be done by substituting to get
Solve this to get and then the mle of m
is
so that n=24 would be needed. Notice that the formula for the sample
size for a two sided level test is just the same as that\
for a one sided level
test.
It is also acceptable to do this using the t-test graphs as in the previous question. In fact, I think this is what the text intended really. If so you get a sample size of 19.
which can be rewritten as
The power function at is then the area to the
right of the right hand side of this last formula under a standard
normal curve. Plugging in numbers shows that we want the area
to the left of -0.5 which is .31. That is
approximately.
To get a probability of type II error equal to 0.1 we need
Putting m=40 and plugging all the other numbers we get
which leads to n of roughly 37 (actually a bit over so rounding up to 38 would be normal).
which we round up to 50 for safety's sake.