CH 2 Processing and Representing Data
CH 2 Processing and Representing Data
Statistics
Mr M Dominguez
[email protected]
Chapter 2: Processing and Representing
2.1 Tables
Data
2.2 Two-way tables
2.3 Pictograms
2.4 Bar charts
2.5 Stem and leaf diagrams
2.6 Pie charts
2.7 Comparative pie charts
2.8 Population pyramids
2.9 Choropleth Maps
2.10 Histograms and frequency polygons
2.11 Cumulative frequency charts
2.12 The shape of the distribution
2.13 Histograms with unequal class-widths
2.14 Misleading diagrams
2.15 Choosing the right format
Lesson 1: 2.1, 2.2, 2.3, 2.4, 2.5
Lesson 2: 2.6, 2.7
Lesson 3: 2.8, 2.9
Lesson 4: 2.10, 2.11
Lesson 5: 2.11, 2.12
Lesson 6: 2.13,
Lesson 7: 2.14, 2.15
§ 2.1 Tables
2) Felicity asked 100 students how they came to school one day.
Each student walked or came by bicycle or came by car.
49 of the 100 students are girls.
10 of the girls came by car.
16 boys walked.
21 of the 41 students who came by bicycle are boys.
Construct a two-way table for this data.
168
93
9 27
65 110
Girls 10 19 20 49
Boys 14 16 21 51
Total 24 35 41 100
§ 2.3 Pictograms
Marmalade
Jam
Marmite
= 8 people
§ 2.4 Bar Charts
• Place the bars for the two sets of data next to each
other for each category
Composite (stacked) bar chart
Find the following using the stem and leaf diagram below
(The total is 25)
1. Median
2. Range
3. Mode
4. Modal group
Back-to-back stem and leaf diagrams
§ 2.6 Pie charts
Tea:
Tea
Milk: Coffee
84o 108o
Chocolate: 54
24o
60
o Milk
Squash 72 Cola 48o
36o
Chocolate
Cola: 90
Squash
Coffee: 126
The pie charts show some information about the numbers of matches won,
drawn and lost by a cricket team and by a hockey team last year.
O L
M
J
§ 2.10 Histograms and Frequency Polygons
This method is only used when all the class widths are the same,
which is very unlikely in an exam.
Key points:
The x-axis is in groups but needs to be plotted as a continuous
scale. Each bar starts at the lower bound of the group and ends at
the upper bound: hence there should be no gaps between bars.
A frequency polygon is constructed by joining the midpoints of the
top of the bars together.
Draw a bar chart for this data
Draw a frequency polygon for this data
§ 2.11 Cumulative frequency charts
Continuous data
• For a cumulative frequency graph we join the points up in a smooth
curve.
• For a cumulative frequency polygon we join the points one by one with a
ruler.
Discrete Data
• We can draw a cumulative frequency step polygon.
Draw a Cumulative Frequency Curve of the following information
Cumulative Frequency is also called a ‘running total’
Temperature (˚F) Frequency Cumulative
Frequency
17 17
46 63
73 136
52 188
12 200
Estimate the number of days with a temperature below 71°F
Find an estimate of the median number of days.
Draw a Cumulative Frequency Curve of the following information
Estimate the number of days with a temperature below 70°F.
Find an estimate of the median number of days.
Temp <60 <70 <80 <90 <100
(°F)
C.F 17 63 136 188 200 200
180
Key points to always 160
remember:
Cumulative Frequency
140
1) ALWAYS plot at the upper
120
boundary of each group.
i.e 60, 70, 80, 90, 100 100
2) Connect the points with a 80
single smooth curve 60
• Approximately 63 days 40
20
0
40 50 60 70 80 90 100
Temperature (°F)
Draw a Cumulative Frequency Curve of the following information
Estimate the number of students who achieved more than 65 marks
Cumulative Frequency
140
120
Careful!
200 – 123 = 77 students 100
80
60
40
20
0
0 20 40 60 80 100
Marks
The table shows how many items
of junk mail Kavina’s parents get
each day.
We can draw a cumulative
frequency step polygon for this
data.
A cumulative frequency
step polygon can be
thought of as a ‘less than
graph’
Cumulative Frequency
14
12
10
8
6
Plot the points, number of goals
against cumulative frequency. 4
2
Join the points up by going 0
across then up. 0 1 2 3 4
Goals
§ 2.12 The shape of a distribution
Q1 Q2 Q3 Q1 Q2 Q3
Q1 Q2 Q 3
10
Frequency Density
8
6
4
0
0 10 20 30 40 50 60 70 80
Speed (mph)
Frequency
30 < t ≤ 35 5 4 0.8
3 50 < t ≤ 70 20 24 1.2
2.5
1.5
0.5
0 10 20 30 40 50 60 70
Time t
What if you were asked;
Frequency Density
Estimate the number of people 8
who took between 30 and 90
seconds to complete the test?
6
Rectangle 1 0.5 by 30 30 to 90
= 15 people 4 seconds
Rectangle 2 1.5 by 30
= 45 people
2
Total = 60 people! 2
1
0
0 40 80 120 160 200
Seconds
Estimate the number of people who took between
45 and 60 seconds.
Frequency
density
45 to 60
3
seconds
(1)+(2)
2.5
1.5
1
1
0.5 2
0 10 20 30 40 50 60 70
Time t
Frequency Density
10 x 8 = 80
4
10 x 5 = 50
30 x 6 = 180
2
20 x 2 = 40
0 20 x 1 = 20
0 10 20 30 40 50 60 70 80 90
4
2
2
1
0
0 10 20 30 40 50 60 70 80 90
Speed (mph)
Estimate the Rectangle 1:
number of people 10 x 2 = 20 people
whose average
speed was 10 to 40 Rectangle 2:
mph 20 x 6 = 120 people So 140 people in
total!
45 to 65 mph
Frequency Density
4 2
1
3
2
0
0 10 20 30 40 50 60 70 80 90
16
12
4
?
100
0
0 50 100 150 200 250 300 350 400 450
Gallons of Milk produced by Farm
200 to 300
24
18
12
1 2
6
900
0
0 50 100 150 200 250 300 350 400 450
Gallons of Milk produced by Farm
24
18
12
1800
1200
6 450
900
900 2100 3900 150
0
0 50 100 150 200 250 300 350 400 450
Which interval will the Gallons of Milk produced by Farm
median be in?
After the first 2 groups, we have had 2100
Median = (n+1) ÷ 2 farms from the total. After the 250-350
group, we have had 3900 farms. The middle
= (4501) ÷ 2 farm must therefore be in the 250-350
= 2250.5 group.
A shoe manufacture measured the length l mm of 200 people’s feet.
The results are summarised in the table below.
50 1 x 12
40 = 12 babies
30
20 Rectangle 2
10 2 30 30 ÷ 1.5
1 0.5 x 16
= 20
1.5 = 8 babies
Weight (kg)
Thirty babies weighed over 4.5kg. Babies weighing under 2kg Total
are taken to a Special Care unit.
= 20 babies
Calculate the number of babies taken to the Special Care
unit.
§ 2.14 Misleading Diagrams
Key points:
Make sure that scales are consistent.
Axes should be labelled
3D graphs can be misleading.
The scale should be appropriate.
When looking at changes over time, proportions or
percentages may be more useful.
The source of the data should be clear and reliable.
§ 2.15 Choosing the right format