Professional Documents
Culture Documents
[Draw your reader in with an engaging abstract. It is typically a short summary of the document.
When you’re ready to add your content, just click here and start typing.]
Microsoft
[Email address]
Part (a)
The mean annual passing rate for school of education is given by;
∑𝑛
𝑖=1 𝑥𝑖
𝑥̅ = where
𝑛1
𝑥̅ = 6.5%
The mean annual passing rate for the school of humanities is given by;
∑𝑛
𝑖=1 𝑦𝑖
𝑦̅= where
𝑛2
8+3+(−9)+2+4+5+10+12+8+11
And so, 𝑦̅ = 10
54
𝑦̅ = 10
𝑦̅ = 5.4%
Page 1
Comment:
The mean annual passing rate of students from school of education is 1.1% more than that of the
students from the school of humanities. Therefore, it can be stated that the students from the
school of education have been performing better than the students from the school of humanities
in psychology final examinations during the past ten years.
Part (b)
The standard deviation for the annual passing rate in the school of education is given by;
∑(𝑥𝑖 −𝑥̅ )2
𝑠1 =√ 𝑛1 −1
𝑠1 = √166.2777778
𝑠1 = 12.89487409 = 12.9%
Page 2
Calculation of Standard deviation for the annual passing rate of students in the school of
Humanities.
∑(𝑦𝑖 −𝑦̅)2
𝑠2 =√ 𝑛2 −1
𝑠2 = √37.7777778
𝑠2 = 6.11373681 = 6.11%
Comment:
Since the value of the standard deviation for the students from the school of education seems to
be higher than that of students from the school of humanities, it tells us that the dataset from the
school of education are much more spread out or dispersed about the mean than the data values
obtained from the school of humanities which seem to closely cluster about the mean value.
Page 3
Part (c):
Computation of a 95% confidence interval for the mean difference between the two schools.
Taking the sample size in Education to be 𝑛1 =10 and
Sample size in Humanities 𝑛2 =10,
Education sample mean 𝑥̅ = 6.5%,
Humanities sample mean 𝑦̅= 5.4%,
Education standard deviation 𝑠1 = 12.89487409,
Humanities standard deviation 𝑠2 = 6.11373681,
The significance level ∝ = 5%= 0.05.
For this confidence interval, the student’s t-distribution will be used because the population
variances 𝜎1 2 and 𝜎2 2 are unknown, then 𝑛1 and 𝑛2 are both less than 30. Assuming that the
populations have equal variances, the population variance 𝜎 2 will be estimated by pooled
variance 𝑠𝑝2 .
𝑋̅ −𝜇
The statistic T= 𝑆 ~𝑡𝑛−1 with n-1 degrees of freedom follows a student’s t-distribution.
√𝑛
And υ = 𝑛1 + 𝑛2 − 2
(10−1)×(12.89487409)2 +(10−1)×(6.11373681)2
Therefore 𝑠𝑝2 = 10+10−2
𝑠𝑝2 = 101.8277778
And υ= 18
Hence the confidence interval is;
1 1
(6.5 − 5.4) ± 𝑡0.025 , 18 √101.8277778( 10 + )
10
1
= 1.1 ± 2.101 × √101.8277778 × 5
= (-8.3814, 10.5814)
Page 4
Hence with 95% confidence, it can be said that the difference in mean annual passing rates of
students between the two schools will fall within the interval (-8.3814, 10.5814).
QUESTION (d)
Hypothesis testing, two sample t –test
Given that;
Sample size in Education 𝑛1 = 10
Sample size in Humanities 𝑛2 = 10
Education sample mean 𝑥̅ = 6.5%
Humanities sample mean ̅𝑦= 5.4%
We will carry out this test step-by-step as outlined below and we will use 𝜇1 and 𝜇2 to denote
population means for school of Education and school of Humanities respectively.
1.0 Testing problem
In this context;
Null Hypothesis states that the two population means are not significantly different. That is;
𝐻0 : 𝜇1 = 𝜇2
Alternative Hypothesis states that the two population means are significantly different. That is;
𝐻𝐴 : 𝜇1 ≠ 𝜇2
1.2 Test statistic
𝑋̅ −𝑌̅
T= 1 1
√𝑆𝑃2 (𝑛 +𝑛 )
1 2
𝑡 ∗ = 0.24374996
∴ 𝑡 ∗ = 0.2437
Page 5
That is |𝑡 ∗ |=|0.2437|=0.2437< 2.101
Fail to reject 𝐻𝑜
However, to obtain enough evidence, the p-value will be calculated. This is the probability
computed. Assuming that the null hypothesis is valid, the test statistic will take a value at least as
extreme as the observed one.
If the p-value is found to be less than the set level of significance, then there would be enough
evidence so that the null hypothesis should be rejected, but if the p-value is greater than the set
level of significance then there would be no evidence for the null hypothesis to be rejected.
Thus p-value = p (𝑇18 > |𝑡 ∗ |)
= p (𝑇18 > 0.2437)
The table for probability values shows that the p-value > 0.25 > 0.05
Therefore, the p-value is greater than the set level of significance i.e. p-value > 0.05, this means
that there is no enough evidence to reject the null hypothesis.
Conclusion
Fail to reject
Since the null hypothesis failed to reject at 𝐻0 at ∝ = 0.05, it means that the mean annual passing
rates of students for both schools are not significantly different.
Page 6
REFERENCE
1. Hoel G.P. (1962) Introduction to Mathematical Statistics, 3𝑟𝑑 edition, John Wiley
and Sons, Inc. U A.
2. Moore D.S, McCabe G.P, Craig B. (2009) Introduction to the Practice of Statistics,
6𝑡ℎ 𝑒𝑑𝑖𝑡𝑖𝑜𝑛 ,W H Freeman and company, New York.
3. Montgomery C.D, Runger C.G. (2002) Applied Statistic and Probability for
Engineer’s, 3𝑟𝑑 edition, John Wiley and Sons, Inc, U.S.A.
ASSIGNMENT 1