


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
Solutions to a statistics midterm exam focusing on hypothesis testing and confidence intervals. It includes calculations for test statistics, degrees of freedom, rejection regions, and confidence intervals for means and proportions.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Midterm Exam Solution
1.(i) H 0 : μ = 24 , Ha : μ≠ 24
s n
t
| t |< t. 025 , 89 = 1. 987 , so we can not reject the null hypothesis at significance level 0.05.
X ± t. 005 , 89 s / n = 23. 96 ± 2. 63 *. 32 / 90 = 23. 96 ±. 089 =( 23. 8713 , 24. 0487 )
(iii) ))
2
n
X − X N + , an estimate of the proportion P(X < 23.76) is
s n
Since we assume equal variance, we need to calculate the pooled standard error.
2 2
1 2
2 2
2 1 =
n n
n S n S s
X Y p
. 025 , 222
79
1 145
1 1 1 1 2
=
t t
s
t
p n n
So H 0 is rejected at significance level 0.05.
(b) H 0 : μ M − μ F = 10 , Ha : μ M − μ F > 10
. 01 , 222
79
1 145
1 1 1 1 2
=
t t
s
t
n n
So H 0 is rejected at significance level 0.01.
(c) The overall sample average is
1 2
2
1 2
1 2
n n
n n
nX nY
The formula for 95% CI of the overall population mean is therefore
1 2
. 025 , 222 1 2
n n
t s n n
n X nY p
From the particular sample, the 95% CI of the overall population mean is
1 2
. 025 , 222 1 2
1 2
n n
t s n n
n X nY p
Under H 0 ,
222
1 2
0 1 2
1 2
n n
s
n n
nX nY
p
μ
So the test statistics is
. 05 , 222
1 2
0 1 2
1 2
t t
s n n
n n
nX nY
t
p
So we cannot reject the null hypothesis at significance level 0.05.
025 0 0
025 0 0
0 0
. 025 0 0
0
X np z np p
n p p z np p
n
p p p p z
z
n
p p
p p
Hence k = 9.8.
(b) The type II error is
(. 55 ) ( rejectH 0 givenHaistrue)
p P
P p p
p p
p n
n
p