A sample of 10 observations has mean 6.2 and standard deviation 1.5. Test whether the sample comes from a population with mean 5.5 at 5% level of significance.
(Given t0.05,9=2.262)
Solution
H0:μ=5.5 vs H1:
t=s/n
Critical value =2.262.
Since ∣t∣=1.476<2.262, accept H0.
The sample may come from a population with mean 5.5.
Question 3 – t-Test (Two Samples)
Two samples give the following results:
Sample
Size
Mean
Variance
A
10
15
4
B
12
14
5
Test whether the means differ significantly at 5% level.
(Given t0.05,20=2.086)
Solution
H0:μ1=μ2 vs
Pooled variance:
sp2=sp=4.55≈2.133t=sp
∣t∣=1.095<2.086 → accept H0. Means do not differ significantly.
Question 4 – F-Test
Two samples of sizes 8 and 10 have variances 4.5 and 9.0 respectively. Test whether the variances are significantly different at 5% level.
(Given F0.05(7,9)=3.29)
Solution
H0:σ12=σ vs
F=s12s
Critical value F0.05(9,7)≈3.68 (or given 3.29 for reverse).
Since F=2< critical value, accept . Variances are not significantly different.
Question 5 – Chi-Square Test (Goodness of Fit)
A die is thrown 120 times and the following frequencies are observed:
Face
1
2
3
4
5
6
Frequency
15
22
18
25
16
24
Test whether the die is fair at 5% level.
(Given χ0.05,52=11.07)
Solution
Expected frequency under H0 (fair die) =120/6=20 for each face.
χ2==2025+4+4+25+16+16=
4.5<11.07 → accept H0. The die is fair.
Question 6 – One-Way ANOVA
Three groups of students were given different teaching methods. Their scores are:
Method A
Method B
Method C
8
7
9
9
6
10
7
8
8
10
7
11
Perform one-way ANOVA and test at 5% level whether the methods differ.
(Given F0.05(2,9)=4.26)
The following are the means and ranges of 5 subgroups of size 4:
Subgroup
1
2
3
4
5
Xˉ
12.5
11.8
13.0
12.2
12.7
R
2.1
1.8
2.5
1.9
2.0
Given A2=0.73, D3=0, . Construct the control limits for and charts.
Solution
Xˉˉ=512.5+11.8+13.0Rˉ=52.1+1.8+2.5+1.9+2.0
Xˉ-Chart
UCLCLLCL
R-Chart
UCLCLLCL
Question 8 – p-Chart
In a manufacturing process, the fraction defectives in 6 samples of size 200 are:
0.02, 0.03, 0.015, 0.025, 0.04, 0.02.
Construct the control limits for the p-chart.
Solution
pˉ=60.02+0.03+0.015+0.025
Practice Tips
Always state H0 and H1 clearly and choose the correct critical value.
For small samples use t-distribution; for variances use ; for frequencies use .
UCLCLLCL=pˉ+3npˉ(1−pˉ)=0.025+32000.025×0.975=0.025+30.000121875=0.025+3×0.01104=0.025+0.0331=0.0581=0.025=0.025−0.0331=−0.0081→0(since proportion cannot be negative)
F
χ2
In ANOVA, check that SST=SSB+SSW.
Control chart limits use 3-sigma; LCL is taken as 0 if negative for attribute charts.