In: Statistics and Probability
20 pts) Assume you want to test the hypothesis that the mean weight of the male student population is 160 lbs
If we assume that the standard deviation has a known value of 12 lbs and we want to test with a confidence level of 95%
a. What sample size should we use if we want one to have a probability of making a type II error of no more than 5% in the test when the actual mean is 162 lbs?
b. If the actual mean is 160 lbs, what is the probability that you conclude that the hypothesis is false?
c. If we want to use a 95% confidence interval to estimate the mean and determine that the estimation error should not be greater than 2 lbs, what sample size should we use?
d. If we decide to take 69 observations, what will be the probability of making a type II error in case the real mean is 163?
a) true mean= µ = 162
hypothesized mean=µo = 160
= 0.05
std dev,σ= 12.0000
ß = 0.05
δ=µ - µo = 2
Zα/2= 1.9600
Z (ß ) = 1.6449
n = ( ( Z(ß)+Z(α) )*σ / δ )² = ((1.645+1.96)*12/2)^2=
467.8569
so, sample size= 468
b) P( hypothesis is false given µ =160) =type I error =0.05
c) Standard Deviation , σ = 12
sampling error , E = 2
Confidence Level , CL= 95%
=
1-CL = 5%
Z value = Z/2=
1.96
Sample Size,n = (Z*σ/E)² = (1.96*12/2)² = 138.29
So, Sample Size needed= 139
d) std error of mean=σx = σ/√n =
12/√69= 1.4446
(two tailed test) Z/2
= ± 1.9600
type II error is
ß = P(Z < Zα/2 - δ/σx) - P(Z < -Zα/2-δ/σx)
P(Z<1.96-2/1.4446) - P(Z<-1.96-2/1.4446)=
P(Z<0.5755)-P(Z<-3.34446)=
= 0.71752 - 0.0004122
= 0.7171 (answer)