Quantitative Techniques: Topics
Quantitative Techniques: Topics
TOPICS
1. Data collection and presentation (UNGROUPED DATA)
2. Measures of location and dispersion (GROUPED DATA)
3. Index numbers
4. Simple liner regression and co-relation
5. Probability distribution
6. Financial mathematics (Simple interest, Annuities, Compound)
7. Sampling theory
8. Confidence interval and hypothesis testing
9. Time series
10. Calculus
11. Matrix
12. Approximations and errors
13. Linear programming
14. Project management
Requirements
Scientific calculator
Syllabus
Formulae list and tables
Text books
Mean
Mode
Median
1|Page
Geometric mean
Harmonic mean
Formulae
e.g. 10 60 65 61 56 72
x
1. Mean, x = n
10 60 65 61 56 72
= 6
= 54
e.g. 10 60 65 61 56 72
= 72
Steps of median:
1
n 1
Median position = 2
e.g. 10 60 65 61 56 72
= 10 56 60 61 72
1
n 1
Median position = 2
2|Page
1
6 1
= 2
= 3, 5
60 61
Median = 2
= 60, 5
OR ALTERNATIVELY
Median = 60+0.5(61-60)
= 60+0.5(1)
= 60.5
n x1 x2 x3 ... xn
GM =
e.g. over a four (4) year period, inflation rates were as follows; 2% 3.5%
4.1% and 5.2% respectively. Calculate the average inflation rate per annum.
n x1 x2 x3 ... xn
GM =
=
4
102 103.5 104.1 105.2
= 103.69
Electricity tariffs have increased by 12%, 8% and 16% per annum over the three year
period. Using a suitable method, find the annual average in the electricity.
n x1 x2 x3 ... xn
GM =
3|Page
=
3
112 108 116
= 111.9523607
= 11.95% (2 d.p)
It is associated with rates of change e.g. speed, birth rate, growth rate
n
1
x1
1
x2
... 1
xn
HM =
Five (5) communiter omnibuses A, B, C, D and E are travel from Marondera to Harare
at a speed of 90km/hr, 100km/hr, 110km/hr, 120km/hr and 130km/hr respectively.
Using a suitable method, calculate the average speed of the buses.
n
1
x1 1
x2 ... 1
xn
HM =
5
1
90 1
100 1
110 120
1
130
1
=
= 108.16KM/H
fx
WM, = f
Height (x) 1.5m 1.6m 1.7m 1.8m 1.9m
Frequency (f) 2 3 7 6 2
fx
WM = f
2(1.5) 3(1.6) 7(1.7) 6(1.8) 2(1.9)
= 23 7 6 2
4|Page
= 1.715m
A lecturer is paid $50 per hour for an 8hour session at college X; he is also paid $150
per hour for a 3hour session at college Y; and $200 per hour for a 2hour session at
college Z. Calculate the lecturer’s average hourly income from three colleges.
College X Y Z
Hourly rate $50 $150 $100
Time taken 8hours 3hours 2hours
= $96.15/HOUR (2 d.p)
EXAMPLE 2
80 40 50 80 70 50 65 75 83 92 97 50 82
93 97 99 49 78 82 73 79 77 85 79
x
Mean, x = n
80 40 50 ... 79
= 24
= 75.2083
Mode = 50
1
n 1
Median = 2
1
24 1
= 2
= 12.5
5|Page
79 79
Median = 2
= 79
What to study?
Range (the difference between the maximum and minimum)
Interquartile range (IQR)
Mean absolute deviation
Variance
Standard deviation
Coefficient of variance
Range
It is the different between the maximum and minimum. Referring from the previous
example on marks obtained by 24 QT student, calculate the range.
Range = 99 – 40
= 59
Variance
n 1 n
x x xu 2
2
n 1 n
Solutions
6|Page
x2 n x
2
i. Variance = n 1
142169 24 75.20833 2
241
=
= 279.04219
x2 n x
2
n 1
=
142169 24 75.20833 2
241
=
= 16.7045
s
100
iii. Coefficient of variance (CV) = x
16.70
75.21 100
=
= 22.2045%
GROUPED DATA
Measures of location or central tendency
fx
i. Mean, x = f
C[ fm fm 1]
X mod
ii. Mode = 2 fm fm 1 fm 1
7|Page
Key where
C[ n2 f ]
Xmed
fmed
Median, (Q2) =
Key
n
2
= median position
F(<) = represent the cumulative frequency just before the median interval
EXAMPLE 1
Given below is the data concerning age of the borrowers in purchasing a house by means of
mortgage.
8|Page
25 – 35 45
35 – 45 21
45 – 55 10
55 – 65 3
Calculate:
Solutions
fx
i. Mean x = f
3290
= 100
= 32.9
C[ fm fm 1]
X mod
ii. Mode = 2 fm fm 1 fm 1
25 21045( 45212121)
=
9|Page
= 30
C[ n2 f ]
Xmed
fmed
iii. Median, (Q2) =
25 10 (504521)
=
= 31.4444
C[ n4 f ]
Xq1
fq1
iv. Lower quartile, (Q1) =
25 10 ( 254521)
=
= 25.8889
C[ 34n f ]
Xq3
fq3
v. Upper quartile, (Q3) =
35 10 ( 752166 )
=
= 39.2857
Q3 Q1
vi. Quartile deviation = 2
39.2857 25.89
= 2
= 6.7
EXAMPLE 2
The following data gives the salary earned by a sample of 40 employees at a certain
manufacturing company
10 | P a g e
Salary (US$) Number of employees
200 – 400 3
400 – 600 10
600 – 800 17
800 – 1000 6
1000 – 1200 4
Calculate: mean, quartile deviation, median, 70th percentile, 6.5th decile (20)
Solution
EXAMPLE 3
Solutions
0–2 1 5 5 5 5
2–4 3 12 36 108 17
4–6 5 18 90 450 35
6–8 7 13 91 637 48
8 – 10 9 2 18 162 50
50 ( 240 ( 1362 (
f fx fx2
) )
)
11 | P a g e
s
100
CV = x
fx
i. Mean, x = f
240
= 50
= 4.8kg
fx2 n x
2
ii. Variance = n 1
1362 504.8
2
= 50 1
= 4.28571
=
4.28571
= 2.0702
S
CV = x
100
2.0702
100
= 4.8
= 43.1292%
C[ fm fm1 ]
Xmod
2 fm fm1 fm1
i. Mode =
2(18 12)
4
= 2 18 12 13
12 | P a g e
= 5.0909
C[ n2 f ]
Xmed
fmed
ii. Median =
225 17
4
= 18
= 4.8889
3mean median
100
iii. Coefficient of skewness = s
34.8 4.8889
= 2.0702
= - 0.1288
Comment: There is a weak negative association between weight and number of fish.
KURTOSIS
It is the degree of peakedness of a distribution
INDEX NUMBER
It is a percentage change of a given variable (item) between the two time periods.
Simple index
13 | P a g e
i. Simple Price Index or Simple Price Relative (SPI)
P1
100
p0
SPI =
p1
= Key - is the current period price
p0
Is the base period price
ii. Simple Quantity Index or Simple Quantity Relative (SQI)
Q1
100
Q0
SQI =
Q1
KEY is the current period year
Q0
Is the base period quantity
P1Q1
100
P0Q0
SVI =
It has current period price and quantity over or divided by base period of price and quantity,
then multiplies it by 100.
Aggregate indexes
There are 2 types of aggregated indexes namely:
P 100
1
UAPI = P 0
14 | P a g e
ii. Unwaited aggregated quantity index (UAQI)
Q 1
100
UAQI = Q 0
a) LASPEYRES APPROACH
PQ1 0
100
LPI = PQ 0 0
PQ0 1
100
LQI = PQ0 0
b) PAACHE APPROACH
PQ1 1
100
PPI = PQ 0 1
15 | P a g e
ii. PAASCHE QUANTITY INDEX (PQI)
PQ1 1
100
PQI = PQ1 0
LQI PQI
FQI =
EXAMPLE 1
The table below shows the prices and quantity of 4 products between 1996 and 1998
16 | P a g e
SOLUTIONS
P1
100
P0
i. SPI =
148
100
= 95
= 155.7895
Comment: the price of product A was increased by 55.7895% between 1996 and 1998
P 100
1
ii. UAPI = P 0
= 154.0046
Comment: there was an average price increase of 54.0046% between 1996 and 1998
Q 1
100
iii. UAQI = Q 0
25 118 120 45
100
= 260 124 100 48
= 57.8947
COMMENT: There was an average quantity increase of 57.8947% between 1996 and 1998
PQ 1 0
100
iv. LPI = PQ 0 0
= 152.5434
COMMENT: There was holding quantities constant at the base period level, prices increases
on an averages on an average of 52.53% between 1996 and 1998
17 | P a g e
PQ
1 1
100
v. PPI = PQ0 1
= 149.5989
COMMENT: There was a holding price constant at the base period levels prices increase on
an average of 49.6% between 1996 and 1998
= 154.5434 149.5989
= 151.0639
PQ1 1
100
vii. VAULE INDEX = PQ 0 0
= 96.1375
Pn
100
P0
FBPI =
18 | P a g e
FIXED BASE QUANTITY INDEX (FBQI)
Qn
100
Q0
FBQI =
Calculate the fixed based indexes, taking 2008 as the base year
Solutions
255
100
2008: 255 = 100
310
100
2009: 255 = 121.568
19 | P a g e
389
100
2010: 255 = 152.55
470
100
2011: 255 = 184.31
450
100
2012: 255 = 176.47
Step1
100
AF = old * index * of * new * base * year
Stpe2
Multiply all the old indexes by the AF to obtain the new indexes
100
AF = old * index * of * new * base * year
100
= 152.55
= 0.65552
20 | P a g e
2010: 0.65552 152.55 = 100
It is associated with a shifting method i.e. the base year is always in preceding time period.
Pn
100
Pn 1
CBI =
21 | P a g e
SOLUTION
Pn
100
Pn 1
CBI =
2008 : –
310
100
2009 : 255 = 121.57
389
100
2010 : 310 = 125.48
470
100
2011 : 389 = 120.82
450
100
2012 : 470 = 95.74
PW 100
WPI = PW 0
SOLUTION
PW 100
WPI = PW 0
22 | P a g e
0.16 2 1.50 1 1.20 2 2.00 3
100
= 2 0.20 1 0.75 2 0.80 3 1.00
= …………….??????????????
Regression analysis
Correlation analysis
It involves the assessment of the degree or strength of association between the dependent
and independent variable.
SCATTER DIAGRAMS
REGRASSION EQUATION
It is given that : Y = a + bx
23 | P a g e
n xy x y
n x2 x
2
b =
y b x
a = n
It is used to quantify the degree of the association between the dependent and
independent variable
It ranges from (– 1 to + 1)
n xy x y
{n x2 x }{n y2 y }
2 2
r =
Example
Find equation to determine the expected level of cost for any given (10)
SOLUTION
Y = a bx
n xy x y
n x2 x
2
b =
24 | P a g e
= 2.6
y b x
a = n
= 28
Y = 28 2.6 x
Y = 28 2.6 x
= 28 2.6 22
= $85.2 thousand
n xy x y
{n x2 x }{n y2 y }
2 2
r =
= 0.9862
Comment; there is a very strong positive linear association between output and cost of
production.
RS )
SPEARMAN’S RANK CORRELATION COEFFICIENT (
6 d 2
1
(
RS )
=
n n2 1
Key
25 | P a g e
d = represents or is the difference per paired rankings
n = number of pairs
Example
STUDENT A B C D E F G H
MATHS RANKING 2 7 6 1 4 3 5 8
ENGLISH RANKING 3 6 4 2 5 1 8 7
Find the spearman’s rank correlation coefficient for the above data and comment it.
(10)
SOLUTION
STUDENT A B C D E F G H total
MATHS RANKING 2 7 6 1 4 3 5 8
ENGLISH RANKING 3 6 4 2 5 1 8 7
D -1 1 2 -1 -1 2 3 1
d2 1 1 4 1 1 4 9 1 22
6 d 2
1
Rs
=
n n2 1
6 22
1
=
8 82 1
= 0.7381
Comment; there is a strong positive association between performance in maths and English
PROBABILITY DISTRIBUTIONS
It is the chance that a particular event will be occurring.
26 | P a g e
n( A)
P(A) = n( S )
P ( A)
=1-P(A)
Events A and B are independent event, (iff) the occurrence and non-occurrence of the event
A does not affect the occurrence of non-occurrence of B.
Hence,
P ( A B) P ( A) P ( B)
27 | P a g e
ii. Is a female given that she is employed by an international company
iii. Is a male given that he is employed by an NGOs
SOLUTIONS
550 11
P(female) = 1050 = 21
200 4
P(employed by an NGOs) = 1050 = 21
200 4
P(male employed International company) = 1050 = 21
0
P ( NGOs indigenous) = 1050 = 0%
CONDITIONAL PROBABILITY
Let A and B be any 2 events, then the conditional probability event A given that event B has
occurred, then it is the jointly probability of event A and B occurring divided by the
probability that event B has occur is equally.
P ( A/ B)
∩
P ( A B)
P ( B)
Of 250 employees of a company, a total of 130 smoke cigarettes. There are 150 males
working for this company and 85 of them are males who smoke cigarettes.
SOLUTIONS
Contingent table
28 | P a g e
NON-SMOKERS 65 55 120
TOTAL 150 100 250
120
= 250
12
= 25
45
P ( Female ∩smokes) = 250
9
= 50
195
∩
P (male smokes) = 250
39
= 50
OR =
∩
P ( MALE) P ( SMOKE) P ( MALE SMOKE)
150 130 85
= 250 250 250
1 253 250
85
=
39
= 50
OR =
∩
P (male smokes)
85 65 45
= 250
39
= 50
29 | P a g e
P
∩
( Non smo ker s female)
P ( Non smo ker s / female) = P ( Female )
55 100
= 250 250
11
20
=
∩
P (male smokes)
P (male / smokes) P ( Smokes)
=
85 130
250 250
=
17
= 26
85
P Male & Smoker s 250
=
17
50
=
P male P Smoker s
OR =
30 | P a g e
150 130
250 250
=
39
125
=
17 39
50 120
SINCE = Are not independent
TREE DIAGRAMS
If two cards are drown at once from an ordinary well shuffled deck. What is the probability
will be:
SOLUTIONS
4 3
52 51
P(Both will be queen) =
1
221
=
4 48 48 4
52 51 52 51
P(one will be a queen and the other not) =
31 | P a g e
32
221
=
P (QQ)
P(Neither will be a queen) =
48 47
52 51
=
PROBABILITY DISTRIBUTIONS
a) Binomial distribution
b) Poisson distribution
ii. Each trial results in one of two possible mutually exclusive outcomes called “success”
and “failure”
iii. The probability of “success” ‘p’, remains constant from trial to trial and the
32 | P a g e
probability of “failure” ‘q’ is such that q=1-p
v. P+Q=1
The binomial random variable “x” is the number of success in any trials.
Formula
P X r Cr p r q nr
n
Example
In an Agricultural cooperative claims that 95% of the water melons that are shipped out are
SOLUTIONS
33 | P a g e
NB
Exactly =
At least / minimum
At most / maximum
SOLUTIONS
n
Cr p r q nr
P(x=0) =
10
C0 0.950 0.05100
=
= 0.00000000000009766
px 8
= P(8)+P(9)+P(10)
n
Cr p r q nr
=
10
C8 0.958 0.05108 10C9 0.959 0.05109 10C10 0.9510 0.051010
=
34 | P a g e
= 0.9885 (4 d.p)
P(6<x<10) = P(7)+P(8)+P(9)
10
C7 0.957 0.05107 10C8 0.958 0.05108 10C9 0.959 0.05109
=
p ( x 8)
= P(0)+P(1)+…+P(8)
= 1 - {P(9)+P(10)}
= 1 – P(0)
35 | P a g e
NB P=0.05 q=0,95 n=10
P(x = 2) = P(2)
10
C2 0.052 0.95102
=
P ( x 1)
= P(0)+P(1)
10
C0 0.050 0.95100 10C1 0.051 0.95101
=
NB
Mean = np
Variance = npq
POISSON DISTRIBUTION
36 | P a g e
Properties or characteristics
in a space / time has no effect on the probability of other event in the same / other
interval
ii. The probability of a single occurrence of the event in a given interval is proportional
iii. The mean number of events in each unit will be de-noted by “a”
iv. If “x” is a Poisson random variable, then the probability distribution formula is given
as follows
e a .a x
x!
P(X = x) =
= x=0,1,2…
NB
Variance = a
37 | P a g e
iii. The number of death per day due to rare disease in a year
iv. The number of operating machines that breakdown in a plant during a month
Example
Suppose the number of complaints received at a company per day is a random variable
SOLUTIONS
38 | P a g e
e 4 40
0!
P(x = 0) =
= 0.0183
P x 1
= P(0)+P(1)
e 4 40 e 4 41
0! 1!
=
= 0.0916
P x 3
= P(3)+P(4)+…
1 [ P 0 P (1) P (2)]
=
e 4 40 e 4 41 e 4 4 2
1[ ]
0! 1! 2!
=
= 0.7619
e 2 20
0!
P(x = 0) =
39 | P a g e
= 0.1353
e 2 2 2 e 2 23
2! 3!
=
= 0.4511
CONTINUOUS DISTRIBUTION
Normal distribution
Properties
It is bell shaped
40 | P a g e
X
Z =
P 0 Z 1.65
1.65
= i.e. go and find 1.65 into the table under Z
= 0.4505
P 0 Z 1.96
1.96
=
= 0.4750
P 1.24 Z 0
1.24
=
= 0.3925
USE
= 0.5 + 0.4505
41 | P a g e
= 0.9505
P Z 1.95
0.5 1.95
=
= 0.9744
P 0.95 Z 1.75
0.95 1.75
=
= 0.3289 + 0.4599
= 0.7888
= 0.4945 – 0.3665
= 0.128
= 0.5 – 0.4750
= 0.025
= 0.5 – 0.4963
= 0.0037
EXAMPLES
42 | P a g e
A study of past participants of a certain program indicates that the mean length of time
spend on the program is normally distributed with a mean of 500Hrs and a standard
deviation of 100hrs
Solution
P 0 Z 0.8
=
600 500
P Z
P X 600 100
=
P Z 1
=
=
0.5 1
= 0.5 +
700 500
P X
P X 700 100
=
P Z 2
=
=
0.5 2
43 | P a g e
420 500 650 500
P Z
P 420 X 650 100 100
=
P 0.8 Z 1.5
=
=
0.8 1.5
P 0.9 Z 0.1
=
=
0.9 0.1
= 0.3159 – 0.0398
= 0.2761
LINEAR PROGRAMING
STEPS IN CONSTRUCTING LINEAR PROGRAMMING
EXAMPLE
To start a new bus company, Mr X needs at least 5 buses and 10 minibuses. He does not
want more than 30 vehicles altogether. A bus takes up 3 units of space and a minibus takes
up 1 unit of a garage spaces and there are 54 units altogether. Running costs are $90 000 a
day for a bus and $48 000 a day for a minibus.
Determine graphically the maximum daily costs and corresponding number of buses and
minibuses. (14 marks)
Solutions
44 | P a g e
Objective function
Subject to:
x y 30 (Quantity)
3 x y 54 (Capacity)
x5
y 10
EXAMPLE 1
ABC Ltd makes two products, table and chairs which must be produced through Assembly
and Finishing department. Assembling department has 60hours available and Finishing
Department can handle up to 48hours of work. Manufacturing one table requires 4hours in
Assembling and 2hours in Finishing department. Each chair requires 2hours in Assembling
and 4hours in Finishing Department. If profit is $8 per table and $6 per chair, determine the
best possible combination of the number of table that can be produced in order to
maximize profits?
SOLUTION
45 | P a g e
Maximum Profits (P) =
8x 6 y
Subject to :
4 x 2 y 60 (Assembling Department)
2 x 4 y 48 (Finishing Department)
Constraint : x0
y0
FINANCIAL MATHEMATICS
Interest
Annuities
We have two types of annuities i.e. (Present Value and Future Value of an annuity)
Simple interest
It is charged once a year and it is expressed over a given period. The interest is charged on
the principal once a year.
I = PRT
46 | P a g e
T = Time in year
FV = P(1+in)
P = Principal
N = Time in years
FV = P(1+in)
P = Principal
N = number of period
m
i
1 1
R = m
Key r
EXAMPLE
Bank A pays interest of 18% compound annually, Bank B pays 17% compound monthly, Bank
C pays 16% compound daily. Which Bank pays the highest effective rate of interest?
m
i
1 1
Bank A: r = m
47 | P a g e
1
0.18
1 1
= 1
= 0.18
= 18%
m
i
1 1
Bank B : r = m
12
0.17
1 1
= 12
= 0.1839
= 18.38%
m
i
1 1
Bank C : r = m
365
0.16
1 1
= 365
= 0.17346
= 17.35%
What rate of interest is required for $122 million to amount to $168 million in 8 months in
simple interest?
FV = P(1+in)
8
1221 i
168 = 12
46 = 81.333i
ANNUITIES
48 | P a g e
They are associated with a fixed payment over a specified period of time. E.g. money for
investments and loan repayments
Types of annuities
1 1 i
n
R
An i
=
An
= present value
Example
Mr Dhuku borrowed $20 000 at 16% interest per year. Determine the regular payment, R if
interest is compounded:
Quarterly
Half yearly
SOLUTIONS
1 1 i
n
R
An i
=
1 1 0.04 20
R
0.04
20 000 =
20 000 = R(13.59033)
R = $1 471.63
EXAMPLE 2
49 | P a g e
A person borrowed $10 000 at 15% per annum compounded half yearly over a period of
four (4) years. Calculate the periodic payment
SOLUTIONS
1 1 i
n
An R
i
=
1 1 0.0758
R
0 .075
10 000 =
10 000 = R(5.8573)
R = $1 707.27
AMORTISATION
It is associated with loan repayment
Amortisation schedule
Example1
A college wishes to borrow $50 000 to purchase a mini-bus. The debt is to be amortised at
an interest rate of 10% per annum for 8 years. Calculate:
50 | P a g e
SOLUTIONS
1 1 i
n
R
An i
=
1 1 0.18
R
0 .1
50 000 =
50 000 = R(5.33492)
R = $9 372.20
0 - - - 50 000
51 | P a g e
Example 2
A debt of $60 000 is to be repaid through Amortisation over 2 years. The rate of interest is
iii. Indicate the capital and interest portion of 5th payment. (14)
SOLUTIONS
1 1 i
n
R
An i
=
1 1 0.038
R
0 . 03
60000 =
60000 = R(7.01969)
R = $8 547.38
0 - - - 60 000
52 | P a g e
1 8 547.38 1 800 6 747.38 53 252.62
At 5th payment the capital is $24 177.24 and the interest portion is $953.14
Sn
FUTURE VALUE OF ANNUITY
1 i n 1
Sn R
i
=
Sn
Where = the future/maturity value
53 | P a g e
R = periodic payment
N = number of compounds
EXAMPLE
What is the future value of annuity of $4 000 at 12% per annum compounded quarterly for
5 years. (4)
SOLUTIONS
1 i n 1
Sn R
i
=
1 0.0320 1
4000
0. 03
=
= $107 481.50
Example 2
An investor deposit $1000 at the end of each year for five (5) years and earns interest at
15% per annum on her investment. How much will be accumulated in account at the end of
54 | P a g e
5 years? (4)
SOLUTIONS
1 i n 1
Sn R
i
=
1 0.155 1
1000
0 .15
=
= $6 742.38
SINKING FUND
It shows number of periods, amount, interests, principal’s increase and investment value for
a future value of annuity.
VALUE
0 - - - 0
55 | P a g e
Example 1
A firm wishes to accumulate a fund of $200 000 000 in 5 years by paying equal annual
Annual payment
SOLUTIONS
1 i n 1
R
Sn i
=
1 0.04 5 1
R
0 .04
200 000 000 =
2000000000 5.41632256
R
5.41632256 5.41632256
=
56 | P a g e
VALUE
0 - - - 0
36 925 422.70 36 925 422.70 36 925 422.70
1 0
SAMPLING THEORY
Confidence interval (C.I)
It is the interval or range of value in which we inspect to find the population parameter at a
Confidence interval for the true population mean,
SITUATIONS
i.e. sigima known
Z.
x n
57 | P a g e
KEY
x
= sample mean
Z
= normal distribution table figure
n 30
(sigima) is unknown and n is large
S
X Z.
n
=
n 30
(sigima) unknown and n is small
S
X .t
2
n 1.
n
=
Key
58 | P a g e
PQ
P Z.
n
=
EXAMPLE1
After a particular wet night, 12 worms surfaced on the lawn, the length measured were in
centimetre were:
9,5 9,9 11,2 10,6 9,5 11,1 10,9 9,8 10,1 10,2 10,9 11
Then construct a 95% confidence interval for the true population mean of worms. (8)
SOLUTIONS
x
x = n
Mean,
= 10,3917 (4dp)
x2 n x
2
n 1
Variance =
59 | P a g e
x2 n x
2
n 1
Standard deviation =
= 0,6317 (4dp)
S
X .t
2
n 1.
n
= 1 – 0,95 = 0,05
t(11) = 2,201
0,63
10,39 2,2
12
=
10,39 0,4003
=
= (9,9897 ; 10,7903)
60 | P a g e
EXAMPLE 2
The weight of 7 similar boxes in kg of dog food is as follows: 9,8 10,4 10,0 9,0
10,2 9,6 9,9. Find the 95% confidence interval for the mean of all dog foods.
SOLUTIONS
S
X .t
2
n 1.
n
x
mean, , , x n
=
= 9,8429
x2 n x
2
n 1
Standard deviation =
= 0,4541 (4dp)
61 | P a g e
Therefore, alpha = 1 – 0,95 = 0,05
t(7) = 2,365
S
X .t
2
n 1.
n
0,45
9,84 2,365
7
=
9,84 0,4022
=
= (9,4378 ; 10,2422)
EXAMPLE 3
The sales manager of a firm that manufactures light bulbs carried out an investigation on
the life average life of these light bulbs. A sample of 36 these bulbs showed a mean of
1430hours with a standard deviation of 100hours. Construct a 95% confidence interval for
Solutions
62 | P a g e
S
X Z.
n
Draw a diagram
Z 0,475
Z 1,96
S
X Z.
n
100
1430 1,96
36
=
1430 32,66667
=
= (1397,33 ; 1462,67)
EXAMPLE 4
A sample of 100 people was selected at a tax conference. Their ages were recorded and the
63 | P a g e
i. 98% confidence interval for the mean age
SOLUTIONS
Z 0,49
Z 2,33
S
X Z.
n
6
32 2,33
100
=
32 1,398
=
= (30,60 ; 33,398)
64 | P a g e
EXAMPLE 5
A researcher wishes to investigate the proportion of people who regularly travel by a train.
Of a sample of 400 people, 285 said they did so. Construct a population confidence interval
i. 99,5%
ii. 99%
iii. 94%
iv. 88%
v. 92,5%
SOLUTIONS
PQ
P Z.
n
P population ~ 0 f ~ success
285
P 0,7125
400
q 1 p
q 1 0,7125 0,2875
65 | P a g e
THEN DRAW A NORMAL DISTRIBUTION
Z 0,4975
Z 2,81
PQ
P Z.
n
0,7125 0,2875
0,7125 2,81
400
=
0,7125 0,06359
=
= (0,6489 ; 0,7761)
= (64,89% ; 77,61%)
HYPOTHESIS TESTING
be validated.
Hypothesis test = it is a statistical procedure which is used to assess whether the given
66 | P a g e
claim/assertion is true or false.
This is the value obtained from statistical table which separate the rejection region from
acceptance region.
Test statistics
It is a value calculated from experimented data which helps one to go either for rejected or
non-rejected region.
4. Determine/calculate the critical value (CV) and hence state the rejection criteria
67 | P a g e
6. Compare 4 and 5 and hence draw up your conclusion
Situations
n 30
, we use Z-test
If the sigima is unknown and n is large
n 30
If the sigma is unknown and n is small , we use T-test
1. Ho : = 60
H1 : 60 (if it is one tailed)
2. Ho : = 60
H1 : 60 (if it is one tailed)
3. Ho : = 60
H1 : 60 (if it is two tailed)
68 | P a g e
Stating or examples of hypothesis
It is thought that the mean time of a person uses a credit card in a year is 180 neither more
or less. To test this hypothesis, a sample mean was found to be 192 with a standard
SOLUTION
= 180 (180 is the population mean)
Ho :
H1 : 180 (it is two tailed)
Then draw a diagram and lable the rejected and accepted region
x
s/ n
Z calc =
192 180
50 / 55
=
= 1,7799 (4dp)
As Z calc = 1,7799 and in the acceptance region, we do not reject Ho and concluded that at
5% significance level that the mean time of a person uses a credit card is 180.
Example 2
69 | P a g e
A trade union claims that the average hourly rate paid to domestic clean is only $2.85. A
house league wants to test this claim. The league therefore conducted a survey amongst a
250 domestic cleaners throughout the country and found that the hourly paid for cleaners
was $3.03 with a variance of $1. Test the hypothesis at 5% significance level that the
average hourly paid rate to domestic cleaners is indeed $2.85. (18 marks)
SOLUTION
= 2.85
Ho :
H1 : 2.85 (2 tailed)
Then draw the diagram and show the accepted and rejected region
x
s/ n
Z calc =
3.03 2.85
1 / 250
=
= 2.846 (3 dp)
As Z calc = 2.846 and in the rejection region, we reject Ho and conclude that the mean
70 | P a g e
Example 3
At a forum of the Deans students held last year, most delegates held a view that college
students washed average of 6.8 videos monthly. A random sample of 36 college students
reviewed that the mean number of videos washed last month was 6.2 with a standard
deviation of 0.5. Is there any evidence that students wash fewer videos? Test at 5%
SOLUTION
= 6.8
Ho :
CV (Z) = 1.65
THEN DRAW A DIAGRAM AND SHOW THE ACCEPTED AND NON-ACCEPTED REGION
x
s/ n
Z calc =
6.2 6.8
0.5 / 36
=
71 | P a g e
= -7.2
As Z-calc = -7.2 and we reject Ho and concluded that students watched less than 6,8 videos
per month.
EXAMPLE 4
It is thought that the mean net weight of bags of sugar produced by a machine is at least
1.03kg. a sample of 230 bag had a mean net weight of 1.02kg with a standard deviation of
0.02kg. test the hypothesis mean is at least 1.03kg at the 1% significance level. (12)
SOLUTION
1.03
Ho :
H1 : < 1.03 (one tailed)
THEN DRAW THE DIAGRAM AND LABEL THE ACCEPTED AND NON-ACCEPTED REGION
72 | P a g e
x
s/ n
Z calc =
1,02 1.03
0.02 / 230
=
= -7.58 (2 dp)
As Z-calc = -7.58 and we reject Ho and concluded that the mean net weight of bags of sugar
73 | P a g e