Statistics 1: Data, Mean, Median and Mode
SSC · RRB · State exams — method by method
Four students scored 30, 40, 40 and 50. Instead of remembering the whole list we want to describe it by one number: “about 40 marks”. Statistics does exactly this: it collects data, arranges it, summarises it in one or two numbers and draws conclusions from it.
One number is not enough. Marks of 40, 40, 40, 40 or of 10, 20, 60, 70 both have mean 40, yet the two classes are very different. So two questions are asked: (1) where is the centre of the data? and (2) how widely is it spread around the centre?
| Question | Measures | In this chapter |
|---|---|---|
| Where is the centre? | mean, median, mode | this chapter: groups B, C, D |
| How spread out? | range, mean deviation, variance, standard deviation, coefficient of variation | Statistics 2 |
| How many are below a point? What is the shape? | quartiles, percentiles, skewness, the normal curve | Statistics 2 |
Here: the first group (A) gives the language of tables and pictures; group E (reading tables) holds the table-reading skills and the exam traps. The second and third questions (spread and shape) are answered fully in the next chapter, Statistics 2: Spread, Quartiles and Distribution Shape.
Data and frequency tables
Kinds of data, tally and frequency, class intervals and limits, and showing data in pictures.
Before any measure can be found the data must be arranged. These three parts are the language of every later method: what a data value is and how it is counted, every term of a class interval, and how data is shown in pictures.
Data, variable and frequency
Kinds of data, raw and grouped data, tally marks, frequency and relative frequency.
The idea
Each single value that we count or measure (a mark, an age, a height, the number of children in a family) is an observation or a data value, and the thing being measured is the variable. A list as first collected is called raw data. When the same value comes again and again it is easier to count and write it once; the number of times a value occurs is its frequency, and such a list is a frequency table.
| Term | Meaning | Example |
|---|---|---|
| Discrete variable | takes separate, countable values | children in a family, goals, shoe size |
| Continuous variable | any value between two values is possible | height, weight, time, rainfall |
| Raw data | the original list, unordered and ungrouped | 12, 15, 12, 18, 15, 12 |
| Tally mark | a counting stroke; the fifth stroke crosses the four | |||| |
| Frequency | how many times a value occurs | 12 → 3 times |
| Relative frequency | frequency ÷ total (also as a percentage) |
Here: = frequency, = total frequency (, the sum of all frequencies).
- frequency of one value or class
- total frequency = total number of observations
- the sum of all the frequencies (Σ means “sum of”)
Steps: from raw data to a table
- Write all the different values, smallest to largest, in one column.
- Read the list once from top to bottom and put a tally mark against each value.
- Count the marks to get the frequency and check that equals the number of observations.
- If needed add a column of relative frequency and of cumulative frequency (the running total).
- 1Read the list once, put a tally mark for each value and count. Counts: 0→1, 1→4, 2→3, 3→5, 4→4, 5→4, 6→3. Their sum is , so no value was missed or counted twice.
- 2The count against 2 is 3; that is its frequency.
- 1The values run from 1 to 5, so make five rows, read the list once while putting tally marks, and count: 1→7, 2→2, 3→4, 4→3, 5→4.
- 2Check: , so all 20 buses were counted.
- 3Relative frequency : 35%, 10%, 20%, 15%, 20%; they add up to 100%.
- 4Cumulative frequency (running total): 7, 9, 13, 16, 20; the last number 20 equals the total 20.
- 1Read the list once, put a tally mark for each value and count. Counts: 0→3, 1→2, 2→9, 3→6, 4→4. Their sum is , so no value was missed or counted twice.
- 2Relative frequency .
- 3As a percentage: .
Practice
Class intervals, limits and class marks
Class interval, lower and upper limits, true boundaries, class width, class mark, cumulative frequency (less than and more than).
The idea
When there are many values or the variable is continuous (like the marks of 30 students) it is useless to write the frequency of every value. Instead the values are put into fixed ranges called class intervals, such as 0–10, 10–20, 20–30, and we count how many values fall in each range. This is grouped data. A class has two ends: the lower limit and the upper limit.
| Term | Meaning | In the class 20–30 |
|---|---|---|
| Lower / upper limit | the two ends of the class | 20 / 30 |
| Class width | upper − lower limit | |
| Class mark | the middle value: average of the limits | |
| Cumulative frequency (cf) | running total of the frequencies up to this class | sum for 0–10, 10–20, 20–30 |
Here: and appear in every later formula; in grouped data all the values of a class are treated as if they were at its class mark .
Two kinds of classes: exclusive and inclusive
In exclusive classes 0–10, 10–20, 20–30 the upper limit of one class is the lower limit of the next. The rule: a boundary value is counted in the next class, so a student with 10 marks is in 10–20, not in 0–10. In inclusive classes 20–29, 30–39, 40–49 both limits belong to the same class and there is an apparent gap from 29 to 30. For calculations (median and so on) this gap must be closed: add 0.5 to the upper limit and subtract 0.5 from the lower limit to get the true boundaries.
- class mark (middle of the class)
- class width (difference of the true boundaries, or of two consecutive lower limits)
- difference between a class’s upper limit and the next class’s lower limit (1 for inclusive classes)
Steps: from raw data to a grouped table
- Find the range (largest − smallest) and choose a class width (a convenient width giving 5 to 10 classes: 5, 10, 20 …).
- Number of classes , rounded up if it is a fraction.
- Write the classes (the first starts at or below the smallest value), then put a tally mark for each value; a value on a boundary goes into the next class.
- Count the frequencies; check against the number of observations; add cf if needed.
- 1The smallest is 4 and the largest 46, so five classes cover 0 to 50: 0–10, 10–20, 20–30, 30–40, 40–50 (width 10, 5 classes).
- 2A tally mark goes in the right class for every mark; a mark on a boundary (such as 10, 20, 30, 40) goes into the next class. Counts: 4, 10, 5, 9, 2.
- 3Check: , so all 30 students were counted.
- 4“Less than” cf: below 10 → 4; below 20 → 14; below 30 → 19; below 40 → 28; below 50 → 30.
- 1The class mark is the middle value of the class: the average of its lower and upper limits.
- 2.
- 3Check: 85 is 5 above the lower limit 80 and 5 below the upper limit 90, so it is exactly in the middle.
- 1The next class is 80–89, so the gap between 79 and 80 is 1. To close it we add to the upper limit and subtract from the lower limit.
- 2True boundaries: and .
- 3Check: the width of the true boundaries is , equal to the difference of consecutive lower limits ; so the next class starts exactly at 79.5 and no gap is left.
Practice
Showing data in pictures
Bar graph, histogram, frequency polygon, cumulative frequency curve (ogive), pie chart and unequal class widths.
The idea
A picture shows the shape of the data at a glance: where it piles up and where it is empty. In a histogram each class is a rectangle; the rectangles touch because there is no gap between class intervals (a bar graph for separate categories leaves gaps between the bars). The height of a rectangle is the frequency.
| Picture | How it is drawn | Used for |
|---|---|---|
| Bar graph | separate bars with gaps; height = value | comparing categories |
| Histogram | touching rectangles; width = class, height = frequency | shape of continuous data |
| Frequency polygon | points at the class marks joined by straight lines, plus an empty class at each end | comparing two data sets |
| Ogive (cumulative curve) | “less than”: cf at the upper boundary; “more than”: cf at the lower boundary | median and percentiles |
| Pie chart | angle of each part = | share of each part |
- angle of that sector of the pie
- frequency of that class
- total frequency
- width of that class
- the standard class width (the smallest or usual width)
Steps
- Histogram: true class boundaries on the horizontal axis, frequency on the vertical; a rectangle of that height over each class.
- Polygon: a point at the middle (class mark) of the top side of each rectangle; join the points and extend to the imaginary empty classes at both ends.
- Ogive: plot the points (upper boundary, cf) and begin with (lower boundary, 0).
- Pie: find each angle ; the angles must add up to .
- 1The full circle of stands for the total 40.
- 2Angle of this class .
- 3Check: the angles of all the classes are 45°, 81°, 90°, 81°, 63°; they add up to , the full circle.
- 1“140 or more” are those not below 140. First the number below 140: .
- 2The rest .
- 3Check: “below 140” (32) and “140 or more” (68) together make , the whole total; no value is missed or counted twice.
- 1The width of this class is , while the standard width is 5.
- 2With unequal widths the frequency must be scaled by the ratio of the widths: .
- 3Check: this class is wider than the standard width 5, so its bar must be lower than its frequency 36: 12 < 36. Area check: 12 3 (the number of 5-wide parts of the class) , which equals the frequency.
Practice
The mean (arithmetic average)
The mean of raw, tabulated and grouped data, weighted and combined means, one operation on all values, corrections, and series.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mean: a list and a frequency table
The mean of a list, the mean of a frequency table and the properties of the mean.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mean: grouped data (three methods)
The mean from class marks: the direct method, the assumed-mean method and the step-deviation method.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Weighted mean and combined mean
The mean of values with weights, the combined mean of two groups and the ratio of the groups.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
The same operation on every value
The effect on the mean of adding, subtracting, multiplying or raising by a percent every value, and the reverse question.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
One value joins, leaves, changes or was wrong
A value joining, leaving or being replaced, and the correction of a wrongly noted value.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Missing frequencies and missing values
Finding one or two missing frequencies of a table, or missing values of a list, from the given mean.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
The mean of a series
The mean of natural, even and odd numbers, squares, multiples and an equally spaced series.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
The median
The median of raw data and of grouped data (from cumulative frequency), missing frequencies, and the median from an ogive.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Median: raw data
The middle value, or the average of the two middle values, after arranging; and the steadiness of the median.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Median: grouped data
The median class and its formula, the median from a “less than” table, the ogive, and missing frequencies.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
The median and counts from an ogive
The “less than” and “more than” ogives, the median from their crossing point, and the number of values below or between given points.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
The mode
The mode of raw and grouped data, the empirical relation, and choosing the right average.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mode: raw data
Finding the mode, bimodal data (two modes) and data with no mode.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mode: grouped data
Identifying the modal class and the mode formula; caution with unequal widths.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mean, median, mode: the relation and the right average
The empirical relation, the order of the three, and which average to choose when.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Solving from tables and charts
Reading answers straight from a frequency table, and the common exam traps.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Reading a frequency table
The modal class, the percent “or more”, the ratio and share of classes, and cumulative counts.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Traps: inclusive classes, unequal widths, open ends
The true boundaries and median of inclusive classes, the modal class for unequal widths, and open-ended classes.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Summary, mixed practice, revision
One table of all the formulas of this chapter, over 40 exam-style mixed questions and revision cards.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Summary of all formulas
The formulas for the language of data, the mean, median and mode, and table reading, each with one thing to remember.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mixed practice — set 1
Questions from all methods mixed; spot the method first, then solve.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Mixed practice — set 2
Mixed questions from the hard end of the exam.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.
Revision cards and exam tips
Flip cards of the most important facts, last tips, and the way to the next chapter.
This part is in All Access.
With the pass, every example, practice question and solution in this chapter opens.