Professional Documents
Culture Documents
Quat 6221 WB
Quat 6221 WB
Quat 6221 WB
QUANTITATIVE TECHNIQUES
WORKBOOK 2023
This manual enjoys copyright under the Berne Convention. In terms of the Copyright
Act, no 98 of 1978, no part of this manual may be reproduced or transmitted in any
form or by any means, electronic or mechanical, including photocopying, recording or
by any other information storage and retrieval system without permission in writing
from the proprietor.
Student Portal
The full-service Student Portal provides you with access to your academic
administrative information, including:
• an online calendar,
• timetable,
• academic results,
• module content,
• financial account, and so much more!
When you log into the Student Portal, the ‘Module Information’ page displays the
‘Module Purpose’ and ‘Textbook Information’ including the online ‘Module Guides or
‘Module Manuals’ and assignments for each module for which you are registered.
Supplementary Materials
For certain modules, electronic supplementary material is available to you via the
‘Supplementary Module Material’ link.
The ‘Module Discussion Forum’ may be used by your lecturer to discuss any topics
with you related to any supplementary materials and activities such as ICE, etc.
To view, print and annotate these related PDF documents, download Adobe
Reader at following link below:
www.adobe.com/products/reader.html
The following Library Online Databases are available to you. Please contact your
librarian if you are unable to access any of these. Use the same username and
password as for student portal
Table of Contents
Using this Workbook ....................................................................................................5
Learning Unit 1: Introduction to Statistics .....................................................................6
1. Activities ...............................................................................................................6
2. Revision Exercises .............................................................................................11
3. Solutions to Activities and Revision Exercises ...................................................17
Learning Unit 2: Index Numbers ................................................................................27
1 Activities .............................................................................................................27
2 Revision Exercises .............................................................................................30
3. Solutions to Activities and Revision Exercises ...................................................32
Learning Unit 3: Descriptive Statistics ........................................................................39
1. Activities .............................................................................................................39
2. Revision Exercises .............................................................................................45
3 Solutions to Activities and Revision Exercises ...................................................52
Learning Unit 4: Linear Regression And Correlation Analysis ...................................67
1 Activities .............................................................................................................73
2 Revision Exercises .............................................................................................75
3 Solutions to Activities and Revision Exercises ...................................................78
Learning Unit 5: Basic Probability ................................Error! Bookmark not defined.
1 Activities .............................................................................................................83
2 Revision Exercises .............................................................................................90
3 Solutions to Activities and Revision Exercises ...................................................94
Learning Unit 6: Probability Distributions .................................................................100
1 Activities ...........................................................................................................100
2. Revision Exercises ...........................................................................................103
3. Solutions to Activities and Revision Exercises .................................................107
Learning Unit 7: Introduction to Sampling Distributions ...........................................113
1 Activities ...........................................................................................................113
2 Revision Exercises ...........................................................................................115
3 Solutions to Activities and Revision Exercises .................................................117
Learning Unit 8: Hypothesis Testing ........................................................................120
1 Activities ...........................................................................................................120
2 Revision Exercises ...........................................................................................122
3. Solutions to Exercises ......................................................................................123
Learning Unit 9: Chi-Square Tests ...........................................................................128
1 Activities ...........................................................................................................128
2 Revision Exercises ...........................................................................................132
3 Solutions to Activities and Revision Exercises .................................................134
FORMULAE SHEET: Quantitative Techniques (QUAT6221 and BSTA6212) .........143
Bibliography .............................................................................................................148
1. Activities
1.1 Activity 1
Purpose:
Task:
Activity 2
Purpose:
Task:
11. The recording of the first three digits of the shoppers’ cell
phone numbers.
Activity 3
Purpose:
Task:
2. Revision Exercises
2.1 Revision Exercise 1
1. Classify the following sets of data as qualitative or
quantitative. If classified as quantitative, is it discrete or
continuous?
Religious affiliation
The number of sit-ups you can do
The daily temperature at 12h00
Number of traffic fatalities
Time required to complete a crossword puzzle
The ages of the students in your study group
The colours you can identify in a rainbow
Telephone numbers in a telephone directory
Shoe sizes
The three major professional tennis tournaments
listed: Australian Open; Wimbledon; US Open
The amount of weight lost in the past month by a
person following a strict diet
The classification of Boeing aircraft as 727, 737 or
747, according to size
Average Time
Number of
Academic Status (Hours) Spent
Students
Watching TV
1st years 30 6.4
2nd years 20 4.5
3rd years 10 2.8
1.1 A sample;
1.2 A population;
1.3 An inference;
1.4 A statistic.
2.1 Populations;
2.2 Samples;
2.3 Inferential statistics;
2.4 Descriptive statistics.
3.1 Populations;
3.2 Samples;
3.3 Inferential statistics;
3.4 Descriptive statistics.
8.1 Sampling;
8.2 Using a secondary source;
8.3 Asking questions;
8.4 Using the random number table.
11. 49, 34, and 46 students are selected from the 1st year,
2nd year and 3rd year classes, consisting respectively of
490, 340 and 460 students. The type of sampling is.
temperature.
4.5 In 2004, all major
league soccer teams
spent a total of
R1 968 088 on
players’ salaries.
Decide whether the
numerical value is
from a population or a
sample, and then
specify whether it is a
parameter or a
statistic.
3.2 Activity 2
Questions: Model
Solutions:
Specify the measurement scale for each of the
following:
1. Whether you are a South African (SA) Nominal
citizen.
2. The amount you paid to fill up your Ratio
petrol tank.
3. The time it took you to get to the Ratio
university this morning.
4. The size of your take-away coffee. Ordinal
5. Your belt size. Ratio
6. Your student number. Nominal
7. The occupation of 200 shoppers at a Nominal
supermarket.
8. The daily temperature measured inside Interval
the supermarket.
9. The amount spent by every shopper at a Ratio
supermarket.
10. Rating a new product as good, average Ordinal
or poor.
11. The recording of the first three digits of Nominal
the shoppers’ cell phone numbers.
3.3 Activity 3
2.
3.
1 Activities
Consult the web page: http://www.statssa.gov.za/ for detailed
information on economic indicators.
Activity 1
Purpose:
Task:
The table below shows the prices (R) and quantities (kg) of
food items bought during 2013 and 2014.
2013 2014
P0 Q0 P1 Q1 P1Q0 P0Q0 P0Q1 P1Q1
Rice 7 80 6 70 480 560 490 420
Meat 30 50 35 60 1 750 1 500 1 800 2 100
Potatoes 3 100 3 100 300 300 300 300
40 230 44 230 2 530 2 360 2 590 2 820
Step 1:
Step 2:
Label 2013 price and quantity columns as P0 and Q0, and for
2014 label them as P1 and Q1.
Activity 2
The following table shows the 2011 and 2012 prices and
registrations of four makes of cars by a dealer in
Johannesburg. The number of motor vehicles per make of car
registered in 2011 and 2012 were used as respective weights.
Number of
Prices (R’000) registrations
Make 2011 2012 2011 2012
P0 P1 Q0 Q1 P0Q1 P1Q0
Audi 170 228 57 68 11 560 12 996
BMW 226 286 526 492 111 192 150 436
Toyota 102 136 1703 1803 183 906 231 608
Volkswagen 77 99 1343 1229 94 633 132 957
Total 575 749 3 629 3 592 401 291 527 997
2 Revision Exercises
Revision Exercise 1
The prices and quantities of bread were compared over a two-
year period. Use the data in the table below to answer the next
three questions.
Prices Quantities
Commodity 2010 2011 2010 2011 P1Q0 P0Q0
White bread 12.50 15.00 8 2 120.00 100
Brown bread 16.00 22.50 5 7 112.50 80
Rye bread 27.50 20.00 2 5 40.00 55
Total 56.00 57.50 272.50 235
Revision Exercise 3
The table below shows the prices and annual consumption of
the raw materials used in Gauteng Breweries in 2010 and
2011.
Task:
The table below shows the prices (R) and quantities (kg) of
food items bought during 2013 and 2014.
2013 2014
P0 Q0 P1 Q1 P1Q0 P0Q0 P0Q1 P1Q1
Rice 7 80 6 70 480 560 490 420
Meat 30 50 35 60 1 75 1 50 1 80 2 10
0 0 0 0
Potatoe 3 100 3 100 300 300 300 300
s
40 230 44 230 2 53 2 36 2 59 2 82
0 0 0 0
Step 1:
Step 2:
Label 2013 price and quantity columns as P0 and Q0, and for
2014 label them as P1 and Q1.
∑ 𝑄1 230
𝐼𝑞 = ∑ × 100 = × 100 = 100
𝑄𝑜 230
∑ 𝑝0 𝑞1
𝐼𝑞 = × 100
∑ 𝑝0 𝑞0
2 590
= × 100 = 109.75
2 360
∑ 𝑝1 𝑞1
𝐼𝑝 = × 100
∑ 𝑝1 𝑞0
2820
= × 100 = 111.46
2 530
3.2 Activity 1
The following table shows the 2011 and 2012 prices and
registrations of four makes of cars by a dealer in
Johannesburg. The number of motor vehicles per make of car
registered in 2011 and 2012 were used as respective weights.
Number of
Prices registration
(R’000) s
Make 20 20 201 2012
11 12 1 Q1 P0Q1 P1Q0 P0Q0 P1Q1
P0 P1 Q0
Audi 17 22 57 68 11 56 12 99 9 690 15 50
0 8 0 6 4
BMW 22 28 526 492 111 1 150 4 118 8 140 7
6 6 92 36 76 12
Toyota 10 13 170 1803 183 9 231 6 173 7 245 2
2 6 3 06 08 06 08
Volkswag 77 99 134 1229 94 63 132 9 103 4 121 6
en 3 3 57 11 71
Total 57 74 3 62 3 59 401 2 527 9 405 6 523 0
5 9 9 2 91 97 83 95
∑ 𝑝1 𝑞1 523095
𝐼𝑝(𝑃) = ∑ × 100 = × 100 =
𝑝0 𝑞1 401291
130.35.
There was an average increase in price of
30.35% between 2011 and 2012, holding
quantities constant at 2012 values.
∑ 𝑞1 14
2. 𝐼𝑞 = ∑ × 100 = × 100 = 93.33
𝑞𝑜 15
∑ 𝑝1 𝑞0 272.50
3. 𝐼𝑝(𝐿) = ∑ × 100 = × 100
𝑝𝑜 𝑞𝑜 235
= 115.96
∑ 𝑝1 𝑞1 287.5
4. 𝐼𝑝(𝑃) = ∑ × 100 = × 100
𝑝𝑜 𝑞1 274.5
= 104.74
∑ 𝑃1 848
3. 𝐼𝑝 = ∑ × 100 = × 100 = 132.92
𝑃𝑜 638
∑ 𝑞1 19391
𝐼𝑞 = ∑ × 100 = × 100 = 135.19
𝑞0 14344
∑ 𝑝1 𝑞0 1148858
4. 𝐼𝑝(𝐿) = ∑ × 100 = × 100
𝑝0 𝑞0 1020463
= 112.58
∑ 𝑝1 𝑞1 1355537
5. 𝐼𝑝(𝑃) = ∑ × 100 = × 100
𝑝0 𝑞1 1245275
= 108.85
• Prescribed Textbook, Chapter Two and Chapter Three. (Please note, all
references and exercises related to Excel can be done for enrichment
purposes but will not be assessed.)
1. Activities
1.1 Activity 1
Purpose:
Task:
6 18 7 9 24 12 6 19 11
1.2 Activity 2
Purpose:
Task:
1.3 Activity 3
Purpose:
Task:
1.4 Activity 4
Purpose:
Task:
70
63 64
60 59
Number of Calls
50 50
40 40
30
25
20
10
0 0
0 8 16 24 32 40 48
Duration (minutes)
1.5 Activity 5
Purpose:
Task:
7. Plot the ogive, and read the value of the median from the
graph.
2. Revision Exercises
2.1 Revision Exercise 1
1. A small company pays each of its five cleaners R22 000,
two clerks R70 000 each and the manager R270 000.
How many employees earn less than the mean salary?
28 19 10 12
3. For the data 2, 19, 29, 19, 100, 9, 90; which of the mean,
median or mode would be changed if the 2 was changed
to 29?
-2 6 4 10 -4 12 2 -1 3 1
25 7 22 33 18 15
1.5 The oldest 25% of the smokers are older than what
age?
2. The inter quartile range for a data set is; 90 – 66. Decide
which of the following data values would be classified as
an outlier. 50; 140; 100?
4.5 What values can the mean possibly be? Why will
this be a possibility?
N T N R N T N R N
R T M R M M N M
M N R T R R T M
55.8 60.9 39.1 40.0 71.4 77.1 37.0 35.5 31.7 65.2
45.9 59.1 91.3 56.0 36.7 52.6 49.5 65.8 44.6 62.3
83.2 58.2 69.3 42.3 71.7 47.3 48.0 69.8 33.8 61.2
75.3 94.6 61.8 64.9 60.6 61.5 56.3 78.8 27.1 76.0
60.7 47.2 30.0 39.8 87.1 69.0 74.5 68.2 65.0 66.3
15 14
12 11
10
9
6
3
3 2
0
2-<5 5-< 8 8-<11 11-<14 14-<17
Profit (R'000)
1.1 What was the mean time that it took the applicants
in the sample to complete the test?
6 18 7 9 24 12 6 19 11
1. Calculate the mean, median and • If you take the nine provinces into
modal number of newspapers. account, the average number of
Explain each answer. newspapers published per province
is 12.44;
112
x̅ = = 12.44
9
• The median position is:
9+1
= 5 (Note: The numbers must
2
be in numerical order). The median
is therefore 11. Half of the provinces
publish 11 different newspapers or
less, the other half publish 11
newspapers or more;
• The mode = 6. More of the
provinces publish six different
newspapers than any other number.
2. By comparing the mean, median Mean = 12.44; Median = 11; Mode = 6
and modal statistics, what can you
conclude about the shape of the Distribution of Daily and Sunday
distribution? Newspapers 2010
mode< med<mean
3.2 Activity 2
Year
Safety Transport
Lunch
This is compound information and both a
Equipment per Month multiple and stacked bar chart will be
2009 120 10 20 suitable.
2010 140 20 20
2011 100 40 30 Multiple Bar Chart
2012 110 30 50 150
100
R'00
50
0
2009 2010 2011 2012
R'00
100
80
60
40
20
0
2009 2010 2011 2012
3.3 Activity 3
The following percentage frequency distribution resulted from a
study of how late a sample of employees of an organisation
arrived for work during a specific month:
3.4 Activity 4
Duration of International
Calls
80
Number of Calls
60 59 63 64
50
40 40
20 25
0 0
0 8 16 24 32 40 48
Duration (minutes)
1. What is the sample size? The last point is the sample size = 64.
2. How many intervals are used in Count the number of upper boundaries =
the construction of the graph? 6.
3. What the most frequently occurring Between 0 and 8 minutes.
time of the calls?
4. Half of the calls are shorter than Half of the number of calls is 32. If you
how many minutes? read 32 from the y-axis to the graph and
drop down to the x-axis, half of the calls
are shorter than approximately 11
minutes.
5. How many of the calls are longer 59 calls are shorter than 32 minutes.
than 32 minutes? There are 64 calls in the sample;
therefore, five calls were longer than 32
minutes.
6. How many of the calls are 10 Approximately 29 calls.
minutes or less?
3.5 Activity 5
The following data set represents the distribution of annual
salaries (R’000) of 50 males who all perform similar jobs in a
particular industry.
4. Total = 5 × 20
= 100
5 + 15 + 30 = 50
100 – 50 = 50
5. Range = 12 – (-4)
= 16
8.
110
8.1 = 2.2 rejects
50
8.3 3
∑(𝐱−𝐱̅)𝟐 𝟑𝟗𝟔
9. s=√ =√ = 8.899 R8 899
𝐧−𝟏 𝟔−𝟏
2000
10. CV (CT) = × 100 = 7.41% CV (JHB) =
27000
2100
× 100 = 8.4%
25000
20000
11. CV (ABSA) = × 100 = 13.33%
150000
25000
CV (First National) = 100 = 15.63%
160000
ABSA’s reported prices are more uniform.
140 is an outlier.
3. S = 100
Q1 pos. =3.25
Q1 value = 190 + 0.25(10) =192.5
Median = 350
Q3 pos = 9.75
Q3 value = 410 + 0.75(170) = 537.5
L = 980
4.
4.1 50% because that is the interquartile range.
4.2 25%, because 90kg is Q3.
4.3 85kg.
4.4 100 – 50 = 50kg.
4.5 The mean must be smaller than 85 because the
distribution is negatively skewed.
4.6 Lower limit = 70 – 1.5(20) = 40kg. Weights lower
than 40kg will be considered outliers.
Upper limit = 90 + 1.5(20) = 120kg. Weights
greater than 120kg will be considered outliers.
2,5
2
R0'000
1,5
0,5
0
2009 2010 2011 2012
f
N //// // 7
T //// 5
R //// // 7
M //// / 6
25
frequency
6 7
N
T
R
M
7 5
2. 3 + 14 + 11 + 10 + 2 = 40
3. The ones that earned the most will fall in the last interval:
therefore, they earned between R14 000 and less than
R17 000.
(21−12)3
1.2 Median = 7 + = 8.93 minutes. Half of the
14
applicants took 8.93 minutes or less to write the
test.
Arrows
7. Continue in the same way until all the data values have
been entered.
Example:
X value Y value
3 86
4 92
5 95
4 83
2 78
3 82
Calculator steps:
Select 2ndF MODE to clear memory.
3 STO 86 M+
4 STO 92 M+
5 STO 95 M+
4 STO 83 M+
2 STO 78 M+
3 STO 82 M+
8. Once all the values have been entered, clear the screen
by selecting <On/C>.
n: RCL 0
y: RCL 2
x: RCL ·
xy: RCL ·
x2: RCL ±
y2: RCL 3
SHIFT CLR 1 =
2. Enter the y-value of the first data point and select M+.
7. Once all the values have been entered, clear the screen
by selecting AC.
SHIFT key
Key
M+ data
key
10. Enter the correct value. Once you have finished editing
the data, select AC to exit the data edit mode.
Example:
X value Y value
3 86
4 92
5 95
4 83
2 78
3 82
Calculator steps:
3 86 M+
4 92 M+
5 95 M+
4 83 M+
2 78 M+
3 82 M+
n: SHIFT 1 3
x: SHIFT 1 2
x2: SHIFT 1 1
y: SHIFT 1 SCROLL RIGHT WITH ARROW 2
xy: SHIFT 1 SCROLL RIGHT WITH ARROW 3
2 Activities
2.1 Activity 1
Purpose:
Task:
2.2 Activity 2
The maximum daily temperature (in C) and coffee sales (in
Rands) for a coffee shop for eight randomly selected days
were recorded:
3 Revision Exercises
3.1 Revision Exercise 1
Bulk advertising is often used to influence the response of
buyers. For example, a product is advertised at ‘2 for R20’ to
convince people that they are getting a bargain. To test this
theory, a Fruit and Veg store advertises an item for equal
periods of time at five bulk rates, and records the quantities
sold:
x = 36 y = 108 xy = 715 x 2
= 304
y = 2008
2
6
5
4
3
2
1
0
0 2 4 6 8
Family size
Task:
1000
800
600
400
200
0
0 500 1000 1500 2000 2500
KILOMETRES
3. With reference to the diagram, The agency’s hypothesis was correct. The
do you think that the travel scatter plot shows a positive relationship,
agency’s hypothesis is correct? indicating that the longer the flight, the more
Why or why not? expensive the airfare.
Distance Airfare(Y) XY X2 Y2
(X)
2375 1330 3158750 5640625 1768900
1400 810 1134000 1960000 656100
1250 750 937500 1562500 562500
2325 1266 2943450 5405625 1602756
985 621 611685 970225 385641
2025 1110 2247750 4100625 1232100
10360 5887 11033135 19639600 6207997
𝟏𝟎𝟑𝟔𝟎 𝟓𝟖𝟖𝟕
̅=
𝒙 ̅=
= 𝟏𝟕𝟐𝟔. 𝟔𝟕 𝒚 = 𝟗𝟖𝟏. 𝟏𝟕
𝟔 𝟔
𝒏 ∑ 𝒙𝒚 − ∑ 𝒙 ∑ 𝒚
𝒓=
√[𝒏 ∑ 𝒙𝟐 − (∑ 𝒙)𝟐 ] × [𝒏 ∑ 𝒚𝟐 − (∑ 𝒚)𝟐 ]
𝟔(𝟏𝟏𝟎𝟑𝟑𝟏𝟑𝟓) − 𝟏𝟎𝟑𝟔𝟎(𝟓𝟖𝟖𝟕)
=
√[𝟔(𝟏𝟗𝟔𝟑𝟗𝟔𝟎𝟎) − (𝟏𝟎𝟑𝟔𝟎)𝟐 ] × [𝟔(𝟔𝟐𝟎𝟕𝟗𝟗𝟕) − (𝟓𝟖𝟖𝟕)𝟐 ]
= 𝟎. 𝟗𝟗𝟖
𝑛 ∑ 𝑥𝑦 − ∑ 𝑥 ∑ 𝑦
𝑏1 =
𝑛 ∑ 𝑥 2 − (∑ 𝑥 )2
6(11033135) − 10360(5887)
= = 0.4958
6(19639600) − (10360)2
∑ 𝑦 − 𝑏1 ∑ 𝑥 5887 − 0.4958(10360)
𝑏0 = = = 125.09
𝑛 6
4.2 Activity 2
The maximum daily temperature (in C) and coffee sales (in
Rands) for a coffee shop for eight randomly selected days
were recorded:
2. r = 0.81
There is a strong, positive linear correlation between bulk
rate and sales.
3. If x = 6:
2. Positive relationship.
3. One
4. Five
1 Activities
Activity 1
Purpose:
Task:
1. The probabilities are 0.05, 0.14, 0.17, 0.33, 0.20 and 0.11
that students will respectively rate a new sandwich filling in
the tuck shop as very poor, poor, fair, good, very good or
excellent.
You must make sure that you can identify why you must use
this rule: There is only one outcome, and the events are
mutually exclusive. When you have completed all of the
activities, you will be required to do revision exercises where
the rule to be used is not specified.
Activity 2
Purpose:
Task:
You must make sure that you can identify when you must use
this rule: There is only one outcome, and the events are not
mutually exclusive. When you have completed all of the
activities, you will be required to do revision exercises where
the rule to be used is not specified.
Activity 3
Purpose:
Task:
1. If you roll a dice twice, what is the probability that you will
obtain a six both times?
2. Peter carries car insurance on both his car and his wife’s
car. During any year, the probability is 0.01 of an
insurance claim on his car, with a probability of 0.06 of
there being a claim on his wife’s car. During one year,
what is the probability that both Peter and his wife will
have insurance claims on their cars?
You must make sure that you can identify when you must use
this rule: There are two or more outcomes and the events are
independent. When you have completed all of the activities,
you will be required to do revision exercises where the rule to
be used is not specified.
Note:
Activity 4
Purpose:
You must make sure that you can identify when you must use
this rule: There are two or more outcomes, and the events are
dependent. When you have completed all of the activities, you
will be required to do revision exercises where the rule to be
used is not specified.
Activity 5
Purpose:
These activities are based on counting rules, and how they can
be used to calculate probabilities.
Task:
You must be sure that you can identify when you must use
these rules. The only way to do this is to study the relevant
section.
2 Revision Exercises
Revision Exercise 1
1. Which of the following numbers cannot be a probability?
1.1 -0.001;
1.2 0.4;
5
1.3 ;
4
1.4 0;
1.5 1.
• Type A: 70;
• Type B: 90;
• Type O: 105;
• Type AB: 35.
13. Emma has a box of marbles. The marbles are red, green
and blue. The probability that she picks a green marble
is 0.6 and the probability that she picks a red marble is
0.25. What is the probability that she picks a blue
marble? How many of the 20 marbles in the box are red
ones?
Revision Exercise 2
1. In a sample of 250 students travelling to campus, 190
use taxis. Of the taxi commuters, 130 travel more than
15km. Of those who do not use taxis, 40 travel less than
15km. Compile a contingency table and answer the
following questions.
𝟑 𝟏
2.2 P(1 or 3 or 5) = =
𝟔 𝟐
𝟐𝟔 𝟏
3.1 P(red) = =
𝟓𝟐 𝟐
𝟏𝟔 𝟒
3.2 P(honours) = =
𝟓𝟐 𝟏𝟑
𝟏𝟐 𝟑
3.3 P(a face card) = =
𝟓𝟐 𝟏𝟑
12 6 18 9
4.1 P(<10) = + = =
56 56 56 28
12 34 4 50 25
4.2 P( 5) = + + = =
56 56 56 56 28
5.1 P(̅̅̅̅̅̅̅
Ford) = 1 – P(Ford)
= 1 – 0.34
= 0.66
5.3 ̅̅̅̅̅̅̅̅
P(F or T) = 1 - 0.42
= 0.58
Activity 2
1. P(A or B) = 0.25 + 0.40 - 0.15
= 0.50
4 26 2 28 7
3.1 P(7 or Black) = + − = =
52 52 52 52 13
12 26 6 32 8
3.2 P(Face or red) = + − = =
52 52 52 52 13
4 13 1 16 4
3.2 P(Ace or Heart) = + − = =
52 52 52 52 13
1 1 1 4 2
4. P(2 or 3) = + − = =
2 3 6 6 3
Activity 3
𝟏 𝟏 𝟏
1. P(6 and 6) = × =
𝟔 𝟔 𝟑𝟔
𝟏 𝟏 𝟏 𝟏
4. P(H and T and H) = × × =
𝟐 𝟐 𝟐 𝟖
𝟏 𝟏 𝟏 𝟏
5. P(B and B and B) = × × =
𝟐 𝟐 𝟐 𝟖
Activity 4
Task:
Activity 5
Task:
1. 5 6 4 = 120
3.1 4 5 5 = 100
3.2 5C3 = 10
3.3 4P2 = 12
Revision Exercise 1
𝟓
1. -0.001 and
𝟒
2.2 40 -25 = 15
15 3
P(A only) = =
200 40
2.3 A or S = 60 + 40 - 25 = 75
75
P(A or S) = = 0.375
200
Therefore:
50 40
̅̅̅̅̅̅̅̅
P(B or S) =1- = = 0.4444
90 90
14 13 182
6.1 P(W and W) = × =
26 25 650
12 14 14 12 168
6.2 P(M and F) or P(F and M)= ( × )+ ( × )=
26 25 26 25 325
7.
P 0.75 P=0.75
Begin
P 0.6 FP=0.25∙ 0.6=0.15
F 0.25
105 70 175 7
P(O or A) = + = =
300 300 300 12
𝑃(𝑇 𝑎𝑛𝑑 𝐶)
11.1 P(T/C) = ∴ 𝑃(𝑇 𝑎𝑛𝑑 𝐶 ) = 𝑃(𝑇/𝐶) × P(C)
𝑃(𝐶)
15 23 15
= × =
23 32 32
23 9
11.2 P(not C) =1- =
32 32
P(Blue) = 1 – 0.85
= 0.15
Revision Exercise 2
1.
< 15 km 60 40 100
130 20 17
1.1 P(>15) = + =
250 250 25
60 6
1.2 P(<15) = =
250 25
60 170 20 21
1.3 P(𝑇̅ or >15) = + − =
250 250 250 25
2.
2.1 ̅ ) = 160 = 16
P(𝑀
350 35
135 160 55 24
2.2 P(C or F) = + − =
350 350 350 35
34 17
2.3 P(M and Cd) = =
350 175
1 Activities
1.1. Activity 1
Purpose:
Task:
© The Independent Institute of Education (Pty) Ltd 2023 Page 100 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
1.2 Activity 2
Purpose:
Task:
1.3 Activity 3
Purpose:
© The Independent Institute of Education (Pty) Ltd 2023 Page 101 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Task:
© The Independent Institute of Education (Pty) Ltd 2023 Page 102 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
2. Revision Exercises
2.2 Revision Exercise 1
1. Let the random variable x represent the number of
bicycles sold per day by Jones Bicycle Shop. The
probability distribution for this activity is shown below:
x 0 1 2 3 4
P(x) 0.2 0.1 0.3 ?? 0.1
© The Independent Institute of Education (Pty) Ltd 2023 Page 103 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 104 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 105 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 106 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
3.3 Activity 2
𝑒 −3 34
1. P(x = 4) = = 0.1680
4!
30 ∙𝑒 −3
P(x = 0) =
0!
= 0.0498
31 ∙𝑒 −3
P(x = 1) =
1!
= 0.1494
𝑒 −6 62
3. P(x = 2) = = 0.0446
2!
© The Independent Institute of Education (Pty) Ltd 2023 Page 107 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
10 ∙𝑒 −1
P(x = 0) =
0!
= 0.3679
11 ∙𝑒 −1
P(x = 1) =
1!
= 0.3679
12 ∙𝑒 −1
P(x = 2) =
2!
= 0.1839
𝑒 −1.5 1.52
5. P(x = 2) =
2!
= 0.2510
3.4 Activity 3
2000−2450
1. z = = −1.13
400
3000−2450
z = = 1.38
400
P(-1.13 < z < 1.38) = P(-1.13 < z < 0) + (0 <z < 1.38)
= 0.3708 + 0.4162
= 0.7870
3000−2450
2. z = = 1.38
400
2000−2450
3. z = = −1.13
400
2000−2450
4. z = = −1.13
400
© The Independent Institute of Education (Pty) Ltd 2023 Page 108 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
30 ∙𝑒 −3
P(x = 0) =
0!
= 0.0498
© The Independent Institute of Education (Pty) Ltd 2023 Page 109 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
31 ∙𝑒 −3
P(x = 1) =
1!
= 0.1494
32 ∙𝑒 −3
P(x = 2) =
2!
= 0.2240
85 ∙𝑒 −8
P(x = 5) =
5!
= 0.0916
86 ∙𝑒 −8
P(x = 6) =
6!
= 0.1221
80 ∙𝑒 −8
P(x = 0) =
0!
= 0.0003
3. 𝜆 = 2 per day
24 ∙𝑒 −2
P(x = 4) =
4!
= 0.0902
4. λ = 2 per 60 days
20 ∙𝑒 −2
P(x = 0) =
0!
= 0.1353
© The Independent Institute of Education (Pty) Ltd 2023 Page 110 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
14−20
z = = −1.50
4
25−20
z = = 1.25
4
1.3 z = 1.04
x = zσ + μ = (1.04 × 4) + 20 = 24.16 minutes
3.8 − 3.2
𝑧= = 1.5
0.4
3 − 3.2
𝑧= = −0.50
0.4
4 − 3.2
𝑧= = 2.00
0.4
2.4 z = -1.34
x = zσ + μ = (-1.34 × 0.4) + 3.2 = 2.664 tons
© The Independent Institute of Education (Pty) Ltd 2023 Page 111 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
25−20
Z = =1
5
10−20
z = = −2.00
5
12−20
z = = −1.60
5
3.4 z = -0.92
𝑥 = 𝑧𝜎 + 𝜇 = (−0.92 × 5) + 20 = R15.40
90−70
z = = 1.33
15
© The Independent Institute of Education (Pty) Ltd 2023 Page 112 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
1 Activities
Activity 1
Purpose:
Task:
Activity 2
Purpose:
© The Independent Institute of Education (Pty) Ltd 2023 Page 113 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Task:
© The Independent Institute of Education (Pty) Ltd 2023 Page 114 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
2 Revision Exercises
Revision Exercise 1
1. According to statistics released by the Department of
Health, 15% of all South Africans have hearing
problems. In a random sample of 120 South Africans,
what is the probability of at least 18% having hearing
problems?
Revision Exercise 2
1. Assume that the value of the day-to-day claims received
by a medical aid scheme is normally distributed with a
mean of R400 and a population standard deviation of
R80. A random sample of 120 claims is selected, and the
claim values are recorded. What is the probability that
the sample mean value of the claims does not differ from
the actual population mean value by more than R12 in
either direction?
© The Independent Institute of Education (Pty) Ltd 2023 Page 115 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 116 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
𝑝− 𝜋 0.10−0.12
𝑧= =
𝜋(1−𝜋) 0.12(1−0.12)
√ √
𝑛 150
= -0.75
0.15 − 0.12
𝑧= = 1.13
√0.12(1 − 0.12)
150
Activity 2
1. Sampling Error = 𝑥̅ − 𝜇 = 22.1 - 20 = 2.1
2 𝜇𝑥̅ = 𝜇𝑥 = 20
𝜎𝑥 5
𝜎𝑥̅ = = = 0.79
√𝑛 √40
22.1−20
𝑧= 5 = 2.66
√40
© The Independent Institute of Education (Pty) Ltd 2023 Page 117 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Revision Exercise 1
1. P(p 0.18) = P(z > 0.92)
= 0.5 – P(0 < z < 0.92)
= 0.5 – 03212
= 0.1788
𝑝− 𝜋 0.18−0.15
𝑧= =
𝜋(1−𝜋) 0.15(1−0.15)
√ √
𝑛 120
= 0.92
0.20−0.25
𝑧= = -1.15
0.25(1−0.25)
√
100
1
0.10 −
7
𝑧= = -1.64
1 1
√7(1−7)
180
0.30−0.38
𝑧= = -1.65
0.38(1−0.38)
√
100
© The Independent Institute of Education (Pty) Ltd 2023 Page 118 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Revision Exercise 2
1. P(388 < 𝑥̅ < 412) = P(-1.64 < z < 1.64)
= 2 × P(0 < z < 1.64)
= 2(0.4495)
= 0.8990
388−400
z= 80 = -1.64
√120
412−400
z= 80 = 1.64
√120
1.6−1.5
z= 0.3 = 2.79
√70
20−23
z= 10 = -3.00
√100
9130−9250
z= 2072 = -0.52
√81
20−19.5
z= 1.8 = 1.67
√36
© The Independent Institute of Education (Pty) Ltd 2023 Page 119 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
1 Activities
1.1 Activity 1
Purpose:
Task:
The steps to follow are the same for all hypothesis procedures.
The only differences that can occur are the choice of H0 and
H1, the table used (z or t) to determine the critical value(s), and
the equation used to obtain the sample statistic.
© The Independent Institute of Education (Pty) Ltd 2023 Page 120 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
1.2 Activity 2
Purpose:
Task:
In a survey, consumers were asked if they had ever used
online shopping. 72 of the 165 respondents answered “yes”.
The steps to follow are the same for all hypothesis procedures.
The only differences that can occur are the choice of H0 and
H1, the table used (z or t) to determine the critical value(s), and
the equation used to obtain the sample statistic.
1.3 Activity 3
Purpose:
Task:
The steps to follow are the same for all hypothesis procedures.
The only differences that can occur are the choice of H0 and
H1, the table used (z or t) to determine the critical value(s), and
the equation used to obtain the sample statistic.
© The Independent Institute of Education (Pty) Ltd 2023 Page 121 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
2 Revision Exercises
2.1 Revision Exercise 1
The Dairy Ice cream factory uses a filling machine for its two
litre cartons. There is some variation in the actual amount that
goes into a carton. The machine can go out of setting and
inject a mean quantity less than or more than two litres. To
monitor the filling process, the production manager selects a
simple random sample of 46 filled cartons, and measures the
contents. The average amount per carton was found to be 2.15
litres, with a standard deviation of 0.30 litres. Test whether the
machine is still in setting, using a 5% level of significance.
© The Independent Institute of Education (Pty) Ltd 2023 Page 122 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
3. Solutions to Exercises
3.1 Activity 1
Step 1: State the null and alternative hypotheses
H0: ≤ 20 200
H1: > 20 200
1%
2.33
Step 3: Compute Test Statistic
𝑥̅ − 𝜇 22100 − 20200
𝑧𝑠𝑡𝑎𝑡 = 𝜎 = = 3.11
4100
√𝑛 √45
Step 5: Conclusion:
© The Independent Institute of Education (Pty) Ltd 2023 Page 123 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
3.2 Activity 2
Step 1: Hypotheses
H0: ≤ 0.50
H1: > 0.50
𝑝− 𝜋 0.44 − 0.50
𝑧= = = −1.54
√𝜋(1 − 𝜋) √0.50 × 0.50
𝑛 165
Step 5: Conclusion
3.3 Activity 3
Step 1: Hypotheses
H0: μ = 50
H1: μ ≠ 50
© The Independent Institute of Education (Pty) Ltd 2023 Page 124 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
𝑥̅ − 𝜇 55 − 50
𝑡 − 𝑠𝑡𝑎𝑡 = 𝑠 = = 0.79
22
√𝑛 √12
Step 5: Conclusion
H0: µ = 2.00
H1: µ ≠ 2.00
© The Independent Institute of Education (Pty) Ltd 2023 Page 125 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
𝑥̅ − 𝜇 2.15 − 2.00
𝑧 − 𝑠𝑡𝑎𝑡 = 𝑠 = = 3.39
0.30
√𝑛 √46
Step 5: Conclusion
H0: π ≥ 0.20
H1: π < 0.20
𝑧 − 𝑠𝑡𝑎𝑡 ≥ −1.28
𝑝− 𝜋 0.265 − 0.20
𝑧 − 𝑠𝑡𝑎𝑡 = = = 2.30
√ 𝜋 (1 − 𝜋 ) √0.20 × 0.80
𝑛 200
© The Independent Institute of Education (Pty) Ltd 2023 Page 126 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Step 5: Conclusion
H0: π = 0.96
H1: π ≠ 0.96
𝑝− 𝜋 0.9375 − 0.96
𝑧 − 𝑠𝑡𝑎𝑡 = = = −1.03
√ 𝜋 (1 − 𝜋 ) √0.96 × 0.04
𝑛 80
Step 5: Conclusion
© The Independent Institute of Education (Pty) Ltd 2023 Page 127 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
1 Activities
Activity 1
Purpose:
Task:
© The Independent Institute of Education (Pty) Ltd 2023 Page 128 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Activity 2
Purpose:
Task:
Expected % of customers
Day
Monday 5
Tuesday 10
Wednesday 15
Thursday 15
Friday 25
Saturday 30
TOTAL 100
• Monday, 31;
• Tuesday, 18;
• Wednesday, 36;
• Thursday, 23;
• Friday, 47;
• Saturday, 60.
© The Independent Institute of Education (Pty) Ltd 2023 Page 129 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Activity 3
Purpose:
Task:
Ethnic Group
A B C D TOTAL
TV 30 20 25 20 95
Radio 25 25 20 20 90
News Paper 10 10 5 30 55
TOTAL 65 55 50 70 240
Activity 4
Purpose:
Task:
© The Independent Institute of Education (Pty) Ltd 2023 Page 130 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Province TOTAL
Satisfaction A B C D
Satisfied 75 86 91 85 337
Dissatisfied 75 64 59 65 263
TOTAL 150 150 150 150 600
© The Independent Institute of Education (Pty) Ltd 2023 Page 131 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
2 Revision Exercises
Revision Exercise 1
In a small Lotto (using digits 0 to 9 only), the number of times
digits 0 to 9 turned up in a run of 300 selections are
summarised in the table below.
Digit 0 1 2 3 4 5 6 7 8 9
Frequency 24 22 25 32 32 35 37 26 32 35
Test the claim that the Lotto is fair, i.e. that the distribution is
uniform, at a 10% level of significance.
Revision Exercise 2
The manager of the human resources department of a certain
bank analysed the qualification profile of a random sample of
134 managers. The information he obtained is summarised in
the following table:
Management level
Section Department Division
Qualification head head head TOTAL
Matric 28 14 8 50
Diploma 20 24 6 50
Degree 10 10 14 34
TOTAL 58 48 28 134
Revision Exercise 3
A researcher wishes to investigate whether the proportion of
smokers within different age groups is the same. The question
asked was: “Have you smoked at least one cigarette per day in
the past week?” The results of the survey are as follows.
Age (years)
18 - 29 30 - 49 50 – 64 65 & older Total
Smoked 23 20 22 12
Did not smoke 57 60 58 68
TOTAL
© The Independent Institute of Education (Pty) Ltd 2023 Page 132 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Revision Exercise 4
According to past studies, it was found that 40% of consumers
buy full cream milk, and that 2% milk, low fat milk, skimmed
milk and soya milk each attract 15% of consumers. To assess
whether the demand for each type of milk has changed, a
store manager of a hyper store surveys 200 customers
regarding the type of milk they purchase. The results were as
follows.
© The Independent Institute of Education (Pty) Ltd 2023 Page 133 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
No population parameters are being estimated in this test, so m = 0. There are five
different categories of internet facility under consideration. Therefore, df = k – m – 1 =
5 – 0 – 1 = 4.
For α = 0.10, the critical value for 2 = 7.779. We will therefore accept H0 if:
𝜒 2 ≤ 7.779
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 14.38
𝑓𝑒
Step 5: Conclusion
We do not accept H0 at α = 0.10, and conclude that there is probably not equal usage
of the various internet banking facilities.
© The Independent Institute of Education (Pty) Ltd 2023 Page 134 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Activity 2
Step 1: Hypotheses
H0: The manager’s belief regarding the distribution of customer arrivals is correct.
H1: H0 is not true
No population parameters are being estimated in this test, so m = 0. There are six
different categories of day under consideration. Therefore, df = k – m – 1 = 6 – 0 – 1
= 5.
For α = 0.05, the critical value for 2 = 11.070. We will therefore accept H0 if:
𝜒 2 ≤ 11.070
Expected % of
Day customers fe fo (fo – fe)2/fe
Monday 5 10.75 31 38.15
Tuesday 10 21.50 18 0.57
Wednesday 15 32.25 36 0.44
Thursday 15 32.25 23 2.65
Friday 25 53.75 47 0.85
Saturday 30 64.5 60 0.31
TOTAL 100 215 215 42.97
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 42.97
𝑓𝑒
Step 5: Conclusion
We do not accept H0 at α = 0.10, and conclude that the manager’s belief regarding
the distribution of customer arrivals is probably incorrect.
© The Independent Institute of Education (Pty) Ltd 2023 Page 135 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Activity 3
Step 1: Hypotheses
H0: There is no relationship between ethnic group and the source of news.
H1: H0 is not true
There are three rows of news source and four columns of ethnic group. Therefore, df
= (r – 1)(c – 1) = (3 - 1)(4 – 1) = 6.
For α = 0.05, the critical value for 2 = 12.592. We will therefore accept H0 if:
𝜒 2 ≤ 12.592
Ethnic
Group fo fe (fo – fe)2/fe
A TV 30 25.73 0.71
Radio 25 24.38 0.02
Newspaper 10 14.90 1.61
B TV 20 21.77 0.14
Radio 25 20.63 0.93
Newspaper 10 12.60 0.54
C TV 25 19.79 1.37
Radio 20 18.75 0.08
Newspaper 5 11.46 3.64
D TV 20 27.71 2.15
Radio 20 26.25 1.49
Newspaper 30 16.04 12.15
TOTAL 240 240 24.83
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 24.83
𝑓𝑒
© The Independent Institute of Education (Pty) Ltd 2023 Page 136 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Step 5: Conclusion
Activity 4
Step 1: Hypotheses
H0: The proportion of South Africans who are satisfied with the services supplied to
them is equal for each province.
H1: H0 is not true
There are two rows of satisfaction level and four columns of province. Therefore,
df = (r – 1)(c – 1) = (2 - 1)(4 – 1) = 3.
For α = 0.10, the critical value for 2 = 6.251. We will therefore accept H0 if:
𝜒 2 ≤ 6.251
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 3.66
𝑓𝑒
© The Independent Institute of Education (Pty) Ltd 2023 Page 137 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Step 5: Conclusion
We do not reject H0 at α = 0.10, and conclude that the proportion of South Africans
who are satisfied with the services supplied to them is probably equal for each
province.
Revision Exercise 1
Digit 0 1 2 3 4 5 6 7 8 9
Frequency 24 22 25 32 32 35 37 26 32 35
Test the claim that the Lotto is fair. That will be if the distribution is uniform, at a 10%
level of significance.
Step 1: Hypotheses
H0: The lotto is fair (i.e. each number has an equal chance of turning up).
H1: H0 is not true
No population parameters are being estimated in this test, so m = 0. There are ten
different number categories under consideration. Therefore, df = k – m – 1 = 10 – 0
– 1 = 9.
For α = 0.10, the critical value for 2 = 14.684. We will therefore accept H0 if:
𝜒 2 ≤ 14.684
© The Independent Institute of Education (Pty) Ltd 2023 Page 138 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 8.37
𝑓𝑒
Step 5: Conclusion
We do not reject H0 at α = 0.10, and conclude that the lotto is probably fair (i.e. there
is an equal chance that each number will turn up).
Revision Exercise 2
Step 1: Hypotheses
H0: Qualification and management level are independent (i.e. there is no relationship
between qualification and management level).
H1: H0 is not true.
There are three rows of qualification and three columns of management level.
Therefore, df = (r – 1)(c – 1) = (3 - 1)(3 – 1) = 4.
© The Independent Institute of Education (Pty) Ltd 2023 Page 139 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
For α = 0.05, the critical value for 2 = 9.488. We will therefore accept H0 if:
𝜒 2 ≤ 9.488
Management
Qualification Level fo fe (fo – fe)2/fe
Matric Section 28 21.64 1.87
Department 14 17.91 0.85
Division 8 10.45 0.57
Diploma Section 20 21.64 0.12
Department 24 17.91 2.07
Division 6 10.45 1.89
Degree Section 10 14.72 1.51
Department 10 12.18 0.39
Division 14 7.10 6.71
TOTAL 134 134 15.98
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 15.98
𝑓𝑒
Step 5: Conclusion
Revision Exercise 3
Step 1: Hypotheses
H0: The proportion of smokers is the same for each age group.
H1: H0 is not true
© The Independent Institute of Education (Pty) Ltd 2023 Page 140 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
There are two rows of smoking status and four columns of age group. Therefore, df =
(r – 1)(c – 1) = (2 - 1)(4 – 1) = 3.
For α = 0.05, the critical value for 2 = 7.815. We will therefore accept H0 if:
𝜒 2 ≤ 7.815
Age (years)
18 - 29 30 - 49 50 – 64 65 and older Total
Smoked 23 20 22 12 77
Did not smoke 57 60 58 68 243
Total 80 80 80 80 320
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 5.11
𝑓𝑒
Step 5: Conclusion
© The Independent Institute of Education (Pty) Ltd 2023 Page 141 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Revision Exercise 4
Step 1: Hypotheses
H0: The demand for each type of milk has not changed.
H1: H0 is not true
No population parameters are being estimated in this test, so m = 0. There are five
different categories of milk under consideration. Therefore, df = k – m – 1 = 5 – 0 – 1
= 4.
For α = 0.10, the critical value for 2 = 7.779. We will therefore accept H0 if:
𝜒 2 ≤ 7.779
(𝑓𝑜 − 𝑓𝑒 )2
𝜒 2 − 𝑠𝑡𝑎𝑡 = ∑ = 24.57
𝑓𝑒
Step 5: Conclusion
We do not accept H0 at α = 0.10, and conclude that the demand for each type of milk
has probably changed significantly.
© The Independent Institute of Education (Pty) Ltd 2023 Page 142 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
∑𝑛𝑖=1 𝑥𝑖 ∑𝑛𝑖=1 𝑓𝑖 𝑥𝑖
𝑥̅ = 𝑥̅ =
𝑛 𝑛
𝑛 𝑐 (𝑓𝑚 − 𝑓𝑚−1 )
𝑐 [ − 𝑓(<)] 𝑀𝑜 = 𝑂𝑚𝑜 +
𝑀𝑒 = 𝑂𝑚𝑒 + 2 2𝑓𝑚 − 𝑓𝑚−1 − 𝑓𝑚+1
𝑓𝑚𝑒
2. Measures Of Dispersion
R = 𝑥𝑚𝑎𝑥 − 𝑥𝑚𝑖𝑛
∑ 𝑥 2 − 𝑛 𝑥̅ 2 ∑ 𝑓𝑥 2 − 𝑛 𝑥̅ 2
𝑠2 = 𝑠2 =
𝑛−1 𝑛−1
𝑠
𝑠 = √𝑠 2 𝐶𝑉 = × 100%
𝑥̅
𝑄3 − Q1
Interquartile range = Q3 - Q1 Quartile Deviation =
2
𝑛 3𝑛
𝑐 [ − 𝑓(<)] 𝑐[ − 𝑓(<)]
𝑄1 = 𝑂𝑞1 + 4 𝑄3 = 𝑂𝑞3 + 4
𝑓𝑞1 𝑓𝑞3
© The Independent Institute of Education (Pty) Ltd 2023 Page 143 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
3. Probability Distributions
𝑒 −𝑎 𝑎 𝑥 𝑒 −𝜆 𝜆𝑥 𝜇 = 𝜆 and 𝜎 = √𝜆
𝑃 (𝑥 ) = or 𝑃(𝑥 ) =
𝑥! 𝑥!
𝑦̂ = 𝑏0 + 𝑏1 𝑥 or 𝑦̂ = 𝑎 + 𝑏𝑥
𝑛 ∑ 𝑥𝑦 − ∑ 𝑥 ∑ 𝑦 ∑ 𝑦 − 𝑏1 ∑ 𝑥
𝑏1 = 𝑏 = 𝑏0 = 𝑎 =
𝑛 ∑ 𝑥 2 − (∑ 𝑥)2 𝑛
𝑛 ∑ 𝑥𝑦 − ∑ 𝑥 ∑ 𝑦 𝑟 2 = (𝑟)2 × 100
𝑟=
√[𝑛 ∑ 𝑥 2 − (∑ 𝑥)2 ][𝑛 ∑ 𝑦 2 − (∑ 𝑦)2 ]
5. Hypothesis Testing
𝑥̅ − 𝜇 𝑥̅ − 𝜇
𝑧= 𝑧 or 𝑡 =
𝜎/√𝑛 𝑠/√𝑛
6. Index Numbers
𝑝1
Price relative = × 100%
𝑝0
∑(𝑝1 𝑞0 )
Laspeyres price index = × 100%
∑(𝑝0 𝑞0 )
∑(𝑝1 𝑞1 )
Paasche price index = ∑(𝑝0 𝑞1 )
× 100%
© The Independent Institute of Education (Pty) Ltd 2023 Page 144 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 145 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
© The Independent Institute of Education (Pty) Ltd 2023 Page 146 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
TABLE 3
The Chi-Squared distribution ()
This table gives the values of (df)(α)
df 0,995 0,99 0,975 0,95 0,9 0,1 0,05 0,025 0,01 0,005
1 --- --- 0,001 0,004 0,016 2,706 3,841 5,024 6,635 7,879
2 0,01 0,02 0,051 0,103 0,211 4,605 5,991 7,378 9,21 10,597
3 0,072 0,115 0,216 0,352 0,584 6,251 7,815 9,348 11,345 12,838
4 0,207 0,297 0,484 0,711 1,064 7,779 9,488 11,143 13,277 14,86
5 0,412 0,554 0,831 1,145 1,61 9,236 11,07 12,833 15,086 16,75
6 0,676 0,872 1,237 1,635 2,204 10,645 12,592 14,449 16,812 18,548
7 0,989 1,239 1,69 2,167 2,833 12,017 14,067 16,013 18,475 20,278
8 1,344 1,646 2,18 2,733 3,49 13,362 15,507 17,535 20,09 21,955
9 1,735 2,088 2,7 3,325 4,168 14,684 16,919 19,023 21,666 23,589
10 2,156 2,558 3,247 3,94 4,865 15,987 18,307 20,483 23,209 25,188
11 2,603 3,053 3,816 4,575 5,578 17,275 19,675 21,92 24,725 26,757
12 3,074 3,571 4,404 5,226 6,304 18,549 21,026 23,337 26,217 28,3
13 3,565 4,107 5,009 5,892 7,042 19,812 22,362 24,736 27,688 29,819
14 4,075 4,66 5,629 6,571 7,79 21,064 23,685 26,119 29,141 31,319
15 4,601 5,229 6,262 7,261 8,547 22,307 24,996 27,488 30,578 32,801
16 5,142 5,812 6,908 7,962 9,312 23,542 26,296 28,845 32 34,267
17 5,697 6,408 7,564 8,672 10,085 24,769 27,587 30,191 33,409 35,718
18 6,265 7,015 8,231 9,39 10,865 25,989 28,869 31,526 34,805 37,156
19 6,844 7,633 8,907 10,117 11,651 27,204 30,144 32,852 36,191 38,582
20 7,434 8,26 9,591 10,851 12,443 28,412 31,41 34,17 37,566 39,997
21 8,034 8,897 10,283 11,591 13,24 29,615 32,671 35,479 38,932 41,401
22 8,643 9,542 10,982 12,338 14,041 30,813 33,924 36,781 40,289 42,796
23 9,26 10,196 11,689 13,091 14,848 32,007 35,172 38,076 41,638 44,181
24 9,886 10,856 12,401 13,848 15,659 33,196 36,415 39,364 42,98 45,559
25 10,52 11,524 13,12 14,611 16,473 34,382 37,652 40,646 44,314 46,928
26 11,16 12,198 13,844 15,379 17,292 35,563 38,885 41,923 45,642 48,29
27 11,808 12,879 14,573 16,151 18,114 36,741 40,113 43,195 46,963 49,645
28 12,461 13,565 15,308 16,928 18,939 37,916 41,337 44,461 48,278 50,993
29 13,121 14,256 16,047 17,708 19,768 39,087 42,557 45,722 49,588 52,336
30 13,787 14,953 16,791 18,493 20,599 40,256 43,773 46,979 50,892 53,672
40 20,707 22,164 24,433 26,509 29,051 51,805 55,758 59,342 63,691 66,766
© The Independent Institute of Education (Pty) Ltd 2023 Page 147 of 148
IIE Module Guide QUAT6221/d/p/w; BSTA6212
Bibliography
Johnson RR, Kuby PJ. 2011. Elementary Statistics. 11th ed. Duxbury.
Lombaard, C, Van der Merwe, L, Kele and T, Mouton, S. 2010. Elementary Statistics
for Business and Economics. 1st ed. Heinemann: Pearson Publishing
Willemse I. 2009. Statistical Methods and Calculation Skills. 3rd ed. Juta.
© The Independent Institute of Education (Pty) Ltd 2023 Page 148 of 148