Lecture Notes 7 1 1
Lecture Notes 7 1 1
Exercise 4.6 (Test and Confidence Interval for Variance (or Standard De-
viation), σ) We first look at examples of the hypothesis test and confidence interval
when S 2 is calculated from a random sample of size n from a normal population with
variance σ 2 . The test statistic is
(n − 1)S 2
χ2 =
σ02
H0 H1 reject H0 at level α if
σ 2 ≤ σ02 σ 2 > σ02 χ2c > χ2 (n − 1, α)
σ 2 ≥ σ02 σ 2 < σ02 χ2c < χ2 (n − 1, 1 − α)
σ 2 = σ02 σ 2 6= σ02 χc > χ (n − 1, α/2) or χ2c < χ2 (n − 1, 1 − α/2)
2 2
(n−1)S 2
³ ´
• lower confidence interval, LCI: χ2 (n−1,α)
, ∞
(n−1)S 2
³ ´
• upper confidence interval, UCI: −∞, χ2 (n−1,1−α)
C. smaller than the critical value, χ2 (27, 0.05), we will accept that
the variance in carbon content exceeds 0.4 mm.
D. larger than the p–value we will accept that the variance in carbon
content exceeds 0.4 mm.
ii. Since the p–value is (circle one)
A. larger than the critical value, χ2 (27, 0.05), we will accept that the
variance in carbon content exceeds 0.4 mm.
B. smaller than the level of significance, α = 0.05, we will accept that
the variance in carbon content exceeds 0.4 mm.
C. smaller than the critical value, χ2 (27, 0.05), we will accept that
the variance in carbon content exceeds 0.4 mm.
D. larger than the test statistic we will reject that the variance in
carbon content is equal to 0.4 mm.
iii. Population, Parameter, Sample and Statistic. Match the statistical
items with the appropriate parts of this soil example.
iii. Conclusion. Since the test statistic, 14.5, is larger than the critical
value, 8.7, we (circle one) accept / reject the null hypothesis that
σ = 13.
(b) P–Value Versus Level of Significance, Standardized.
i. Statement. The statement of the test is (circle one)
A. H0 : σ = 13 versus H1 : σ > 13
B. H0 : σ = 13 versus H1 : σ < 13
C. H0 : σ = 13 versus H1 : σ 6= 13
ii. Test. Since the standardized test statistic is χ2 = 14.5, the p–value,
at n − 1 = 18 − 1 = 17 df, is given by
Exercise 4.7 (Hypothesis Test and Confidence Interval of σσ21 ) We now look at
examples of the hypothesis test and confidence interval when S12 and S22 are calculated
from two independent random samples of size n1 and n2 from two normal populations
with variances σ12 and σ22 . The test statistic is
S12
F =
S22
with critical value Fc where,
H0 H1 reject H0 at level α if
σ12 σ12
σ22
≤ δ0 σ22
> δ0 Fc > δ0 F (n1 − 1, n2 − 1, α)
σ12 σ12
σ22
≥ δ0 σ22
< δ0 Fc < δ0 F (n1 − 1, n2 − 1, 1 − α)
σ12 σ12
σ22
= δ0 σ22
6= δ0 Fc > δ0 F (n1 − 1, n2 − 1, α/2) or Fc < δ0 F (n1 − 1, n2 − 1, 1 − α/2)
S12
³ ´
1
• lower confidence interval, LCI: S22 F (n1 −1,n2 −1,α)
, ∞
S12
³ ´
1
• upper confidence interval, UCI: −∞, S22 F (n1 −1,n2 −1,1−α)
σ1
See Lab 7: Tests and CIs For σ2
.
1. Hypothesis Test: Plasma Levels Again. The average and standard deviation of
the plasma levels for males and females are given below.
132Chapter 4. Inferences About One Or Two Populations: Interval Data (ATTENDANCE 7)
p–value = P (F ≥ 1.23)
iii. Conclusion. Since the p–value, 0.43, is larger than the level of signifi-
cance, 0.05, we (circle one) accept / reject the null hypothesis that
σ12 = σ22 .
(c) Related Questions. Match the statistical terms with the appropriate parts
of the plasma example.
terms plasma example
(i) population (i) nine male, six female plasma levels
s2
(ii) sample (ii) F = s21
2
(iii) statistic (iii) all 17–year–olds plasma levels
σ2
(iv) parameter (iv) F = σ12
2
iii. Conclusion. Since the test statistic, 1.07, is in between the two crit-
ical values, (0.238, 3.51), we (circle one) accept / reject the null
hypothesis that σ12 = σ22 .
(b) P–Value Versus Level of Significance.
i. Statement. The statement of the test is (circle one)
A. H0 : σ12 = σ22 versus H1 : σ12 > σ22
B. H0 : σ12 = σ22 versus H1 : σ12 < σ22
C. H0 : σ12 = σ22 versus H1 : σ12 6= σ22
ii. Test. Since the test statistic is F = 1.07, the p–value is given by
p–value = 2 × P r(F ≥ 1.07)
which equals (circle one) 0.14 / 0.44 / 0.88.
(Use 2nd DISTR 9:F cdf(1.07,E99,8,12).)
The level of significance is 0.05.
iii. Conclusion. Since the p–value, 0.88, is larger than the level of signifi-
cance, 0.05, we (circle one) accept / reject the null hypothesis that
σ12 = σ22 .
If n is large (n > 30, say), and the prediction is about one individual, the t critical
values can be replaced by z critical values and the resulting prediction intervals are
said to be normal limits. From a “big picture” point of view, we look at more of the
details of the large n and small n one–sample mean problems.
Section 6. Predicting Future Observations (ATTENDANCE 7) 135
Exercise 4.9 (Violating the Assumptions of the Statistical Model.) All sta-
tistical models thus far involve one or more of the following three assumptions (some-
times called the analysis of variance (ANOVA) assumptions):
normal
heavy-tailed
light-tailed
The box–plot indicates the data is (circle one) skewed right / symmetric /
skewed left and (circle one) heavy–tailed / normal / light–tailed (where
heavy–tailed distributions are indicated by extreme outliers).
4. Independence. True / False Independence is violated if the sample has not been
collected properly. A systematic dependence of error occurs in time series.