myUASARevision for UASA
Mathematics notes, chapter 12

Data handling

Textbook Mathematics Form 1 (DLP), pages 264–290

What this chapter covers

  • Write statistical questions (questions whose answers vary) and choose a method to collect the data — interview, survey, observation or experiment (12.1.1)
  • Classify data as categorical or numerical (discrete or continuous) and organise ungrouped data in a frequency table using tally marks (12.1.2)
  • Construct a bar chart, dual bar chart, pie chart, line graph, dot plot and stem-and-leaf plot, and say why the representation suits the data (12.1.3)
  • Convert one data representation to another suitable representation and justify the choice (12.1.4)
  • Read and interpret bar charts, pie charts, line graphs, dot plots, stem-and-leaf plots, histograms and frequency polygons, and make inferences and predictions (12.1.5)
  • Explain why data must be represented ethically, and spot misleading scales and inaccurate charts (12.1.6)

Malaysia's population in 2014 was about 30.6 million: 15.8 million males and 14.8 million females. Numbers like these are data. Data handling means collecting data, organising it, showing it in a chart, and then reading the chart to find out what the data tells us. You meet it in newspapers, on television, in sport and in almost every job.

The order to remember: ask a statistical question → collect → classify and organise (frequency table) → represent (chart) → interpret (inference, prediction).
EnglishBahasa Melayu
statistical questionsoalan statistik
categorical data, numerical datadata kategori, data numerik
frequency tablejadual kekerapan
bar chart, pie chart, line graphcarta palang, carta pai, graf garis
dot plot, stem-and-leaf plotplot titik, plot batang-dan-daun
histogram, frequency polygonhistogram, poligon kekerapan
interpreting datamentafsir data

12.1Data collection, organisation and representation process, and interpretation of data representation

Statistical questions and collecting data

A statistical question is a question that is answered by collecting data, and the answers vary (there is variability in the data).
QuestionStatistical?Why
"How tall are the students in Class 1 Amanah?"YesThe heights vary: 150 cm, 156 cm, 164 cm, …
"What is the favourite food of the students in Class 1 Amanah?"YesThe answers vary: nasi lemak, fried noodles, laksa, …
"How tall is Rosmee?"NoIt has only one answer (one person, one height).

After writing the question, choose how to collect the data (textbook p. 266).

MethodExample
InterviewAsk students one by one how they travel to school.
Survey (questionnaire)Give a form asking for each student's favourite TV programme.
ObservationCount the cars that pass a junction every hour.
ExperimentRecord the temperature of hot water every five minutes as it cools.
"How tall is Rosmee?" is not a statistical question. If the question has only one fixed answer, there is no data that varies.
Is each question a statistical question? a) "How many hours do the Form 1 students sleep each night?" b) "What time does school start?" c) "Which method suits counting how many lorries pass the school gate in an hour?"
Show answerHide answer
a) Yes — the answers vary from student to student.
b) No — there is only one answer.
c) Observation (watch and count).

Classifying data and frequency tables

Categorical data describes a characteristic; it is not measured with numbers (gender, colour of cars, flavour of sweets, blood group).
Numerical data is a quantity measured with numbers. It can be discrete (counted in whole units: number of family members) or continuous (measured on a scale: mass 53 kg, 56.2 kg, 66.5 kg).

Example 1 (textbook p. 267)

  1. The body temperature of each student: numerical (continuous — it is measured).
  2. The number of trees planted in each district: numerical (discrete — it is counted).
  3. The causes of road accidents: categorical.
Ask yourself: "Can I add or average the answers?" Yes → numerical. Counting → discrete. Measuring with a ruler, scale, clock or thermometer → continuous.
A number used as a name is still categorical, for example a shirt size or a bus route number. And "number of …" is always discrete, even when it is large.

Ungrouped data is raw data that has not been organised. We organise it in a frequency table, using tally marks in groups of five.

Example 2 (textbook p. 267)

The number of children in each of 20 families: 2, 0, 1, 1, 2, 1, 3, 0, 4, 3, 2, 4, 1, 0, 2, 1, 0, 2, 2, 3.

  1. List the possible values 0, 1, 2, 3, 4 in the first column.
  2. Go through the data once, making a tally mark for each value. The fifth mark crosses the first four.
  3. Count the tallies to get each frequency, and check that the total is 20.
Frequency table: 0 children frequency 4, 1 child 5, 2 children 6, 3 children 3, 4 children 2, total 20
The T-shirt sizes of Form 1 Cekal students are: XL L XL M M L M L M M M M XL XL L XL L M M L M L L S M M L. Construct a frequency table. Is this data categorical or numerical?
Show answerHide answer
S: 1, M: 12, L: 9, XL: 5; total 27 (check: 1 + 12 + 9 + 5 = 27).
The sizes are categorical data.

Constructing data representations

A chart makes data easier to read. The best chart depends on the type of data and the purpose. Every chart needs a title, labelled axes (or labelled sectors) and a uniform scale.

RepresentationBest for
Bar chartComparing categories (dual bar chart: comparing two sets of data)
Pie chartShowing each category as a part of the whole
Line graphShowing changes over a period of time (trends)
Dot plotShowing the distribution of a small set of numerical data; spotting clusters and extreme values
Stem-and-leaf plotShowing the distribution of numerical data while keeping every original value

(a) Bar chart. Bars of equal width, evenly spaced; the height of each bar is the frequency.

Example 3 (textbook p. 269)

Leisure activities of Form 1 Bakti: Reading 8, Watching television 9, Surfing the Internet 7, Exercising 6, Listening to music 4.

  1. Draw the axes. Mark the vertical axis "Number of students" with a uniform scale from 0 (here 0 to 10).
  2. Label the horizontal axis "Activity" and draw one bar for each activity.
  3. Write the title.
Bar chart Activities During Leisure Time: reading 8, watching television 9, surfing the Internet 7, exercising 6, listening to music 4

Justification: a bar chart is suitable for comparing the number of students in the different activities.

Example 4: dual bar chart (textbook p. 270)

Dual bar chart of Science and Mathematics quiz marks: Ai Fen 30 and 45, Haris 35 and 40, Nora 45 and 40, Raju 50 and 35

A dual bar chart puts two bars side by side for each student, with a key, so we can compare the two quizzes. For example, Ai Fen did better in Mathematics (45) than in Science (30).

(b) Pie chart. Sectors of a circle show each category as a part of the whole.

Angle of a sector = frequency of the categorytotal frequency × 360°. The angles must add up to 360°.

Example 5 (textbook pp. 270–271)

Cars sold by colour: Red 9, Yellow 12, White 10, Blue 5. Total = 9 + 12 + 10 + 5 = 36.

ColourNumber of carsAngle of sector
Red9936 × 360° = 90°
Yellow121236 × 360° = 120°
White101036 × 360° = 100°
Blue5536 × 360° = 50°
Total36360°

Draw a circle, draw a radius, measure each angle with a protractor, label the sectors and write the title.

Pie chart Sales of Cars of Dynamic Model: red 90 degrees, yellow 120 degrees, white 100 degrees, blue 50 degrees

Justification: a pie chart is suitable for comparing each colour with the total number of cars.

Do not use the frequency as the angle (12 cars is not 12°). Always find the fraction of the total first, then multiply by 360°. Check that the angles add up to 360°.
The favourite songs of 120 children: Rasa Sayang 30, Ikan Kekek 40, Bangau Oh Bangau 20, Geylang Si Paku Geylang 15, Lompat Si Katak Lompat 10, Dayung Sampan 5. Find the angle of each sector.
Show answerHide answer
Total = 120, so each child is 360° ÷ 120 = 3°.
Rasa Sayang 30 × 3° = 90°; Ikan Kekek 120°; Bangau Oh Bangau 60°; Geylang Si Paku Geylang 45°; Lompat Si Katak Lompat 30°; Dayung Sampan 15°.
Check: 90 + 120 + 60 + 45 + 30 + 15 = 360°.

(c) Line graph. Points joined by straight lines show how data changes over time. Time goes on the horizontal axis.

Example 6 (textbook pp. 271–272)

A patient's temperature from 1 a.m. to 10 a.m.: 37.8, 37.9, 38.2, 38.4, 38.2, 37.9, 37.9, 37.6, 37.6, 37.5 (°C).

Line graph of patient's temperature from 1 a.m. to 10 a.m., rising from 37.8 to a peak of 38.4 at 4 a.m. and falling to 37.5 at 10 a.m.; the vertical axis has a zigzag break between 0 and 37.4

The scale goes up in 0.2 °C steps. The zigzag on the vertical axis shows that the values from 0 to 37.4 are left out. The graph shows clearly that the temperature was highest (38.4 °C) at 4 a.m. and then fell.

Justification: a line graph is suitable for showing the changes in temperature over 10 hours.

(d) Dot plot. Each value is a dot above a number line. It shows where the data clusters, how it spreads, and any extreme value (an unusual value far from the rest).

Example 7 (textbook pp. 272–273)

The duration of dental treatment, in minutes, for 14 patients: 23, 24, 21, 24, 25, 24, 25, 24, 22, 17, 21, 23, 22, 23.

  1. Draw a number line covering the smallest value (17) to the largest (25).
  2. Put one dot above the value for each patient; stack repeated values.
  3. Write the title.
Dot plot Duration of Dental Treatment: one dot at 17, two at 21, two at 22, three at 23, four at 24, two at 25

The times range from 17 to 25 minutes and cluster around 21 to 25 minutes. 17 minutes is an extreme value.

The number of text messages sent by 15 students: 3, 4, 8, 7, 11, 6, 5, 7, 6, 3, 9, 6, 5, 11, 8. If you draw a dot plot, how many dots stand above 6? What are the smallest and largest values?
Show answerHide answer
3 dots above 6 (the most common value).
Smallest 3, largest 11, so the number line runs from 3 to 11.

(e) Stem-and-leaf plot. Each value is split by place value: the leaf is the last digit and the stem is the digit or digits in front. Every original value is kept, so we can still calculate with the data.

Example 8 (textbook pp. 273–274)

Mathematics marks of 20 students: 60, 56, 69, 32, 63, 58, 71, 86, 52, 64, 50, 67, 82, 63, 75, 50, 69, 78, 77, 59.

  1. Write the stems (tens digits) from 3 to 8 down the left, including 4 even though no mark is in the 40s.
  2. Write each units digit as a leaf beside its stem, in the order the data comes.
  3. Rearrange the leaves in ascending order. Repeated marks repeat their leaf (50 and 50 give 0 0).
  4. Write the key and the title.
Stem-and-leaf with unsorted leaves: 3 | 2; 4 | ; 5 | 6 8 2 0 0 9; 6 | 0 9 3 4 7 3 9; 7 | 1 5 8 7; 8 | 6 2
Stem-and-leaf with sorted leaves: 3 | 2; 4 | ; 5 | 0 0 2 6 8 9; 6 | 0 3 3 4 7 9 9; 7 | 1 5 7 8; 8 | 2 6. Key 3 | 2 means 32 marks
Always write a key. Without it, 3 | 2 could mean 32, 3.2 or 320. And never skip an empty stem: leaving out stem 4 would make the gap in the marks disappear.
The ages of 24 magazine readers: 44 53 33 65 51 30 42 34 57 36 51 32 39 44 25 31 58 47 31 22 58 38 60 47. Draw a stem-and-leaf plot.
Show answerHide answer
2 | 2 5
3 | 0 1 1 2 3 4 6 8 9
4 | 2 4 4 7 7
5 | 1 1 3 7 8 8
6 | 0 5
Key: 2 | 2 means 22 years. (Check: 2 + 9 + 5 + 6 + 2 = 24 leaves.)

Converting one representation to another

A representation can be changed into another one that suits the purpose better. Always justify the change.

Example 9: bar chart to line graph (idea from textbook pp. 275–276)

Bar chart of profits 2010 to 2015: 30, 45, 40, 55, 65, 70 million RM
Line graph of the same profits 2010 to 2015

The data is collected over six years, so a line graph is more suitable: it shows the profit trend over time (here rising from RM30 million to RM70 million, with a small drop in 2012).

FromToJustification
Bar chart of data over timeLine graphShows changes over a period of time
Stem-and-leaf plotDot plotBoth show the distribution of numerical data and keep the original values
Pie chart (percentages)Bar chartShows and compares the actual number in each category
To change a pie chart with percentages into a bar chart, first find each number: percentage × total. For 25 donors with group A = 28%: 28100 × 25 = 7 donors.
A pie chart shows the blood groups of 25 donors: A 28%, B 20%, O 36%, AB 16%. Find the number of donors in each group, ready to draw a bar chart.
Show answerHide answer
A: 0.28 × 25 = 7; B: 0.20 × 25 = 5; O: 0.36 × 25 = 9; AB: 0.16 × 25 = 4.
Check: 7 + 5 + 9 + 4 = 25.

Interpreting data representations

To interpret a chart: read the values carefully from the scale, calculate (total, difference, mean, percentage), then make an inference (a conclusion about the data) or a prediction (what will probably happen next).

Example 10: line graph (textbook pp. 277–278)

Line graph Mass of Waste Produced 2010 to 2015: 1.9, 2.1, 2.9, 2.6, 2.1, 1.6 thousand tonnes
  1. Mass in 2010 = 1.9 thousand tonnes = 1 900 tonnes.
  2. 2011 and 2014 both show 2.1 thousand tonnes: the masses are the same.
  3. Total = 1 900 + 2 100 + 2 900 + 2 600 + 2 100 + 1 600 = 13 200 tonnes; mean = 13 2006 = 2 200 tonnes.
  4. Inference: the mass of waste decreases each year after 2012.
  5. Prediction: the trend continues downwards, so 2016 is about 1 100 tonnes (the textbook's answer).
Read the units on the axis. "Thousand tonnes" means 1.9 on the scale is 1 900 tonnes, not 1.9 tonnes.

Example 11: dot plot (based on textbook p. 278; numbers adapted)

The lifespans of 24 dry cells are tested. Cells lasting less than 10 hours are rejected.

Dot plot of lifespans of 24 dry cells from 8 to 20 hours; dots: 8 one, 9 two, 12 one, 13 three, 14 two, 15 two, 16 one, 17 three, 18 four, 19 two, 20 three; the 12 dots from 17 to 20 are boxed
  1. Maximum lifespan = 20 hours; minimum = 8 hours.
  2. Rejected (less than 10 hours): the dots at 8 and 9 = 1 + 2 = 3 cells. Percentage = 324 × 100% = 12.5%.
  3. 50% of 24 = 12 cells. Counting from the right: 3 + 2 + 4 + 3 = 12 dots from 17 to 20, so 50% of the cells last at least 17 hours.

Histograms show grouped data (data in class intervals). The bars touch; each bar's width is an interval and its height is the frequency. A histogram does not show the actual values, but it can show a large data set.

Example 12: histogram (textbook p. 279)

Histogram Heights of Girls: 140-144 frequency 6, 145-149 frequency 13, 150-154 frequency 18, 155-159 frequency 10, 160-164 frequency 3
  1. Girls with heights 155–159 cm: 10.
  2. Girls 160 cm and above (eligible for volleyball): only the 160–164 bar, 3 girls.
  3. Inference: most girls are 145 cm to 159 cm tall. (Check: 6 + 13 + 18 + 10 + 3 = 50 girls.)
A frequency polygon joins the midpoints of the tops of the histogram bars with straight lines. An empty class (frequency 0) is added at each end so that the polygon starts and ends on the horizontal axis.
The heights histogram with a frequency polygon drawn through the midpoints of the bar tops, starting at 0 for 135-139 and ending at 0 for 165-169
Frequency polygon drawn from the histogram (textbook p. 279)

Example 13: frequency polygon (textbook p. 280)

Frequency polygon Time of Fun Run for 1 km: 6-10 0, 11-15 10, 16-20 24, 21-25 30, 26-30 26, 31-35 12, 36-40 8, 41-45 0
  1. Total participants = 10 + 24 + 30 + 26 + 12 + 8 = 110 (the end points at 0 add nothing).
  2. 16–20 minutes: 24 participants.
  3. Inference: most participants took 16 to 30 minutes.
When reading a polygon or histogram, read the frequency at the class you want, then add the classes needed. "16 minutes or more" means every class from 16–20 onwards, not just 16–20.
The diameters of 30 axles, in mm: 24 | 5 6 6 8; 25 | 0 1 1 2 3 6; 26 | 0 0 0 1 3 3 4 5 8 9; 27 | 3 4 4 5 7 8 8; 28 | 2 3 6 (key: 24 | 5 means 24.5 mm). a) Give the largest and the smallest diameters. b) What percentage of the axles have diameters exceeding 27.5 mm?
Show answerHide answer
a) Largest 28.6 mm, smallest 24.5 mm.
b) Exceeding 27.5 mm: 27.7, 27.8, 27.8, 28.2, 28.3, 28.6 = 6 axles (27.5 itself does not exceed 27.5).
630 × 100% = 20%

Representing data ethically

To represent data ethically (honestly): the scale must be uniform and start at 0, and the data shown must be accurate (for example, pie chart percentages add up to 100%).

Example 14: a misleading scale (textbook p. 282)

Bar chart of goals with vertical axis starting at 6: Adam 14, Daud 7, Ravi 10, Zain 9; Adam's bar looks twice as tall as Ravi's
The same goals drawn with the axis starting at 0
  1. Adam scored 14 goals and Ravi 10. Twice Ravi's goals = 20, so Adam did not score twice as many.
  2. On the first chart Adam's bar (14 − 6 = 8 units) looks twice Ravi's (10 − 6 = 4 units) because the axis starts at 6. This is misleading. The vertical scale should start at 0, as on the second chart.

Example 15: inaccurate data (textbook p. 282)

Pie chart of grades: A 22%, B 36%, C 28%, D 10%

Total = 22 + 36 + 28 + 10 = 96%. The pie chart is not accurate because the percentages must add up to 100%.

Do not compare bar heights when the axis does not start at 0. Read the actual values from the scale, then compare.
Two line graphs show the same ticket prices from 2011 to 2015. Graph P has a vertical scale from 0 to 100; graph Q has a scale from 0 to 50 on the same height. Which graph makes the price rise look bigger? Which one might a manager use to make the rise look small?
Show answerHide answer
Graph Q (smaller range, so the line is steeper) makes the rise look bigger.
The manager might use graph P, where the line looks flatter. The data is the same, so the choice of scale can mislead the reader.

Summary

IdeaKey factExample
Statistical questionAnswered by collecting data that varies"How tall are the students in 1 Amanah?"
Collecting dataInterview, survey, observation, experimentCounting cars at a junction: observation
Categorical dataA characteristic, not measuredBlood group, colour of cars
Numerical dataDiscrete (counted) or continuous (measured)Number of siblings; mass 56.2 kg
Frequency tableTally in fives, then count; check the totalChildren in 20 families: 4, 5, 6, 3, 2
Bar chartCompare categories; equal widths, equal gapsLeisure activities
Pie chartPart of the whole; angle = frequency ÷ total × 360°9 of 36 cars → 90°
Line graphChanges over time; trend and predictionTemperature every hour
Dot plotDistribution, clusters, extreme valuesDental treatment times
Stem-and-leaf plotKeeps every value; leaves sorted; needs a key3 | 2 means 32
Histogram, frequency polygonGrouped data; polygon joins midpoints of bar topsHeights 140–144, 145–149, …
Ethical representationScale starts at 0 and is uniform; data accuratePie chart percentages total 100%