3. = ±1.96(0.0327)
= ±0.0641
ii) From table, the z-value for 95% CI = 1.96
The 95% Confidence Interval for population mean,
= p ± zσ p
ˆ ˆ
= 0.2 ± 1.96(0.0327)
= 0.072 ± 0.0641
= (0.1359, 0.2641)
95% of confidence interval for the percentage of cakes being effect with fungus is lies between 0.1359 to
0.2641
iii) From table, the z-value for 90% CI = 1.65
E = 0.05
2
zs
n = p.q.
E
2
1.65
= 0.2 × 0.8 ×
0.05
= 174.24
The sample size needed is 174 .
QUESTION 3(a)
σ = 1.75 n = 35 , x = 7.32
i. H0 : µ ≥ 8
H1 : µ < 8
ii. Since n is large, 35 >30, we use normal distribution to make the test.
x−µ 7.32 − 8
=
Test statistic, z = σ 1.75 = - 2.2988
n 35
iii. At α = 0.05 , we reject H0 if z < -1.65
Since - 1.65 > -2.29 , we reject H0
We conclude that there is no evidence that the effective rate of broadband networking for High-Speed Company
production of electronic is at least 8.
4. QUESTION 3(b)
24
n= 505 , p=
ˆ = 0.0475
505
24
i. p=
ˆ = 0.0475
505
ii. H0 : p = 0.35
H1 : p ≠ 0.35
iii. Since np > 5 and nq > 5 , we use normal distribution to make the test .
p − p 0.0475 − 0.35
ˆ
=
Test statistic , z = pq 0.35 × 0.65 = -14.25
n 505
At α = 0.01 , we reject H0 if z < -2.58 or z > 2.58
Since -2.58 > -14.25 , we reject H0. We conclude that the proportion of the safety rate of the building is not equal
0.35
QUESTION 4(a)
i. Independent variable: Driving Experience (years)
ii. Scatter diagram
Label x -axis
Label y -axis
Title
Diagram
iii.
5. ∑ x = 1396
2
∑ x = 90
n=8
∑ y = 29642
2
∑ y = 474
∑ xy = 4739
n∑ xy − ∑ x ∑ y
r=
n x2 − ( x ) 2 n y 2 − (
∑ ∑ ∑ ∑ y)
2
8 ( 4739 ) − 90 ( 474 )
=
8 ( 1396 ) − 902 8 ( 29642 ) − 4742
= −0.7679
There is a negative correlation between the variables.
QUESTION 4(b)
i. There is a strong positive correlation between cost and age.
ii.
n∑ xy − ∑ x ∑ y
b=
n∑ x 2 − ( ∑ x )
2
6 ( 3100 ) − 49 ( 325 )
=
6 ( 481) − 492
= 5.515
a = y − bx
= 54.17 − 5.515 ( 8.17 )
= 9.112
Regression line: y = 9.112 + 5.515 x
iii. 0.96862 = 0.9382 .
93.82% of the total variation in Cost is explained by Age and another 6.18% is
explained by another factors.
iv.
y = 9.112 + 5.515 x
ˆ
= 9.112 + 5.515 ( 16 )
= 97.35