QTE 2nd Assignment
QTE 2nd Assignment
KEEP A COPY
Please note that it is your responsibility to retain copies of your assessments.
A CheckforPlagiarism report MUST be attached to each assignment submission.
DECLARATION BY STUDENT
QUESTION 2:
...................................................................................................................................... 2.1
Probability that an individual chosen at random is from a group that saves more
than 20% of their salary
.............................................................................................................. 5
2.2 Probability of randomly picking a female who saves less than 10% of her salary
…………………………………………………………………………………………………………………………………………………….. 5
2.3 Probability that an individual who saves between 10% and 20% is male ………… 5
2.4 Probability that an individual picked at random from the group is male given
that the save less than 10% …………………………………………………………………………………………….. 5
2.5 Probability that an individual picked at random from the group is not a male …..6
QUESTION 3: ……………………………………………………………………………………………………………………….
3.1 A 95% confidence interval for the average lifespan of the batteries and its
interpretation……………………………………………………………………………………………………………………….. 6
3.2 A 99% confidence interval for the proportion of clients who will be interested in
the new credit facility ………………………………………………………………………………………………………… 7
QUESTION 4: …………………………………………………………………………………………………………………8
4.1 a) Formulation of the null and the alternative hypothesis test ………………………8
b) The most appropriate test statistics to use (z or t) ………………………………………8
c) Hypothesis test for a single mean at 5% significance level and its
interpretation ………………………………………………………………………………………………………………….8
QUESTION 5: ……………………………………………………………………………………………………………………9
a) Identification of the dependent and independent variables ……………………………9
b) Calculation of correlation coefficient (r) of the two variables and the
interpretation of the result ……………………………………………………………………………………9
QUESTION 1:
Class f F Midpoint f𝒳 𝑥2 f𝑥 2
0-< 6
Interval (𝒳)
5 5 3 15 9 45
6-< 12 9 14 9 81 81 729
12-< 18 4 18 15 60 225 900
18-< 24 5 23 21 105 441 2205
24-< 30 5 28 27 135 729 3645
30-< 36 2 30 33 66 1089 2178
Total= 30
n= 30
∑𝑓
𝑥
�=
𝑛
�
- Let first consider 𝒳 as the midpoint and calculate the midpoint (𝒳) for each
interval.
For 0-< 6, the midpoint is 3.
For 6-< 12, the midpoint is 9.
For 12-< 18, the midpoint is
15. For 18-< 24, the
midpoint is 21. For 24-< 30, the
midpoint is 27. For 30-< 36, the
midpoint is 33.
∑ 𝑓𝑥
= 15.6
462
𝑛 30
�= =
�
1.2 Calculation of the mode.
2𝑓𝑚𝑚−
−𝑓 𝑚
1 − 𝑓 +1
Where:
Hence: 𝑂𝑚𝑜 = 6; 𝐶 = 6; 𝑓𝑚 = 𝑚
9; 𝑓 −1 =
𝑚 5; 𝑓 = 4.
�
+1
6
6
𝑀𝑜
+
(9−5)
18−5−
=
24
9
=6+ = 6 + 2.66
= 8.66
𝑴𝒐= 8.66
9702−30
(15.4)2
=
30−1
9702−7114.
8 29
=
= 89.213
QUESTION 2:
2.1 Probability that an individual chosen at random is from a group that saves more
than 20% of their salary.
Let A= event (Individual who saves more than 20% of their monthly salary.)
80 1
800 10
Then P(A)= =
1
10
Thus, there is only chance of finding an individual who saves more than 20%.
2.2 Probability of randomly picking a female who saves less than 10% of her salary.
Let B= event (Picking a female who saves less than 10% of her salary.)
130
450 450
Then P(B)= =
13
1
There is a 3
450
chance of picking a female who saves less than 10% of her monthly
salary.
2.3 Probability that an individual who saves between 10% and 20% is male.
90 9
370 37
P(C/D)= =
9
37
There is a chance of finding a male as an individual who saves between 10% and
20%.
2.4 Probability that an individual picked at random from the group is male given
that the save less than 10%.
220
800 40
P(E/F)= =
11
1
There is a 1 chance of randomly picking from a group a male that saves less than
40
10%.
2.5 Probability that an individual picked at random from the group is not a male.
450 9
800
P= =
16
9
16
There is a of choosing from the group that an individual is not a male.
QUESTION 3:
3.1 95% confidence interval for the average lifespan of the batteries.
𝜎𝑥=√𝑛
𝜎 12.2 12.2
√20
= = = 2.72 hours.
4.47
The 95% confidence level refers to z-limit that bound a symmetrical area of 95%
around the mean of the standard normal distribution.
𝒰= 𝑥 ± Z�
�
√𝑛
= 1200 ± 5.3312
There is 95% chance that the true mean value of the lifespan of the batteries created
lies between 1195 hours and 1205 hours.
𝑥
𝒫=
𝑛 450
383
= = 0.85
Using the sample proportion (𝒫), let’s now find the standard error of (𝒫).
𝜎𝑝 = √
𝑃 (1−𝑃)
𝑛
𝜎 √ 𝑝
0.85
(1−0.85)
450
=
𝝈𝒑 = 0.0168
Thus, 99% confidence interval for the clients who will be interested in the new credit
facility is given by:
There is 99% chance that the true percentage of clients who might be interest in the
new credit facility lies between 80.6% and 89.3 %.
QUESTION 4:
Since the manager at a bank believes that clients spend on average less than 15
minutes in the queue, the hypothesis is consider to be a one-sided lower tailed test.
Ho: 𝒰 ≥ 15
H1: 𝒰 < 15 (The the management question resides in the alternative hypothesis)
b) The z-statistics is the most appropriate to use in our case since the standard
deviation is known and the sample size (n) exceeds 40 for our hypothesis test.
c) Construction of the hypothesis test for a single mean at 5% significance
level.
Step 1: Definition of the null and the alternative hypothesis
Ho: 𝒰 ≥ 15
The null hypothesis will be rejected in favour of the alternative hypothesis only when
the sample value is less than the population value.
A level of significance is needed to find the critical z-limit between the region of
The critical z-limit for one-sided lower tailed hypothesis test: z-crit= -1.645 and the
region of acceptance is z ≥ - 1.645.
𝜎 3
√𝑛 √80
= = 0.3354
18−15 3
0.3354 0.3354
Then z-stat= =
= 8.9445
This z-stat value indicates, the sample mean of 18 minutes lies 8.9445 standard error
above the null hypothesis population mean of 15 minutes.
Step 4: comparison
The sample statistics z-stat is compared to the decision rule in order to decide if it is
close enough to the null hypothesis population to accept Ho.
Since z-stat= 8.944, it lies inside the region of acceptance of z ≥ -1.645. The sample
evidence is not convincing enough to reject Ho in favour of H1, thus accept Ho at the
5% level of significance.
It can be concluded that with 95% confidence that the average time spending by client
in the queue at the bank is not less than 15 minutes and therefore the manager’s
claim cannot be supported.
QUESTION 5:
Y= Performance score
𝑛∑𝑥𝑦− ∑𝑥∑𝑦
√𝑛 ∑ 𝑥 2 −(∑𝑥)2 ×[𝑛∑𝑦 2 − (∑𝑦)2 ]
r=
X Y XY 𝑋2 𝑌2
7 82 574 49 6724
6 74 444 36 5476
5 82 410 25 6724
4 68 272 16 4624
5 75 375 25 5625
8 92 736 64 8464
The tables gives: ∑𝑥 =35; ∑𝑦 =473; ∑𝑥 2 = 215; ∑𝑦 2 = 37637; ∑𝑥𝑦 =2811 and n=6.
(6)(2811)− 35 ×473
√1290−(35)2 × [225822 −
Then r=
(473)2 ]
16866−
16555 √65
=
× 2093
311
√13604
=
r = 0.8431
Interpretation: