MIT18_05S14_class18slides
MIT18_05S14_class18slides
x
reject H0 don’t reject H0 reject H0
x = test statistic
x
cα 4.2
don’t reject H0 reject H0
x
2.1 cα
don’t reject H0 reject H0
Critical values:
f (x|H0 )
x
c1−α/2 x cα/2
reject H0 don’t reject H0 reject H0
(ii) Which of the above computes the p-value for this experiment.
x
reject H0 region . non-reject H0 region
f (x|HA ) f (x|H0 )
x
reject H0 region . do not reject H0 region
f (x|HA ) f (x|H0 )
x
reject H0 region . do not reject H0 region
Suppose H0 : µ = 0; HA : µ = 0.
Null hypothesis H0 : µx = µy .
(n − 1)sx2 + (m − 1)sy2 1 1
Pooled variance: sp2 = + .
n+m−2 n m
x̄ − ȳ
Test statistic: t=
sp
Null distribution: f (t | H0 ) is the pdf of T ∼ t(n + m − 2)
Real data from 1408 women admitted to a maternity hospital for (i)
medical reasons or through (ii) unbooked emergency admission. The
duration of pregnancy is measured in complete weeks from the
beginning of the last menstrual period.
Medical: 775 obs. with x̄ = 39.08 and s 2 = 7.77.
Emergency: 633 obs. with x̄ = 39.60 and s 2 = 4.95
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms .