S4, S5 - Frequency tables and comparing distributions
Work out averages from frequency tables and estimate a mean from grouped measurements. Compare distributions using a centre and a spread, interpret their displays, and use sample statistics to describe a population without claiming more than the data support.
The mean from a frequency table
Two bus services both advertise a mean delay of minutes. Could one still be much more dependable? We will compare their distributions after learning how to recover an average from a compact table.
You already know
Mean is total divided by the number of observations. Median uses ordered positions, mode uses frequency, and range uses the smallest and largest values.
Suppose a table says that people each own bike. That row contributes people and bikes. If people each own bikes, their row contributes people and bikes. Keep those two totals separate.
Mean from a frequency table
For value with frequency ,
Here means “add all the entries in this column”. Multiply each value by its frequency, add the products, then divide by the total frequency.
Not on the formulae sheet: learn it.
A product column is a useful organiser, not a new kind of data.
Worked example 1: counting bikes and people
Question. Bike counts have frequencies . Work out the mean number of bikes. Non-calculator.
Plan. Add the products for the bike total, then divide by the number of people.
Why this step? The table has four rows but represents ten people. Dividing by four would average the row labels, not the observations.
Answer. bikes per person.
Check. Expanding the table gives , also totalling .
Change only the zero row's frequency from to . The bike total stays fixed, but more people share it.
Worked example 2: extra zero observations
Question. Bike counts now have frequencies . Work out the mean to decimal places. Calculator allowed.
Plan. Update the total frequency but keep the unchanged product total.
Why this step? Zero observations add to the denominator even though their products are zero.
Answer. bikes per person, to decimal places.
Check. Adding people with no bikes must reduce the original mean of .
A correct table can still lead to the wrong denominator.
Watch out
Wrong: . This ignores frequency. Right: total the column and divide by the total frequency, not the number of rows.
Use both totals in the next table.
Combining groups with different sizes
A group mean is shorthand for a total. Before combining groups, unwrap that shorthand. A class of must have more influence than a class of .
A combined mean
For two groups of sizes with means ,
The groups must measure the same quantity in the same units and must not overlap.
Not on the formulae sheet: learn it.
This is the ordinary mean formula after recovering each group's total. It is not permission to average averages without checking group sizes.
Worked example 3: equal-sized groups
Question. Ten pupils have mean score . Another ten have mean score . Work out the combined mean. Non-calculator.
Plan. Recover both score totals, add them and divide by all twenty pupils.
Why this step? Each pupil counts equally. Equal group sizes happen to give equal weights to the two means.
Answer. .
Check. The answer is midway between and , as the group sizes match.
Change only the second group's size from to . Its mean should now pull the answer more strongly.
Worked example 4: unequal-sized groups
Question. Ten pupils have mean score . Another thirty have mean score . Work out the combined mean. Non-calculator.
Plan. Recalculate the second total and the total number of pupils.
Why this step? Thirty pupils contribute three times as many observations as ten. Averaging the two means would give the groups equal influence instead.
Answer. .
Check. The answer lies between and , nearer because more pupils belong to that group.
The size check often catches an incorrect combined mean before you finish writing it.
Watch out
Wrong: for unequal-sized groups. Right: recover the totals first. Averaging group means directly works when the group sizes are equal, not in general.
The next groups share the same measurement and units, so their totals can be combined.
Median and mode from frequencies
A frequency table already puts repeated values into bundles. You can locate the middle without writing every observation out, but you must count through those bundles.
For values with frequencies , the zeros occupy positions to , the ones occupy to , the twos occupy to , and the threes occupy to . These running totals locate observations; they are not new data values.
Key idea
Find the median's observation positions using the total frequency, then locate their values. For the mode, choose the value with the greatest frequency.
The median-position rule is not on the formulae sheet: learn it. A vertical line chart supplies the same table: its horizontal positions are values and its heights are frequencies.
Worked example 5: middle values in different rows
Question. Values have frequencies . Work out the median and mode. Non-calculator.
Plan. Locate positions and among the fourteen observations.
Why this step? Two middle positions can fall in different rows. Do not choose whichever row has the larger frequency.
Answer. Median , mode .
Check. There are seven observations at most , and seven at least .
Change only the last frequency from to . There is now one middle observation.
Worked example 6: an odd total frequency
Question. Values have frequencies . Work out the median and mode. Non-calculator.
Plan. Find position in the new total of fifteen observations.
Why this step? An extra observation can change which position defines the median, even when the most frequent value stays the same.
Answer. Median , mode .
Check. Seven observations occur before position , and seven after it.
The frequency itself is not the mode.
Watch out
Wrong: mode because is the largest frequency. Right: mode , the value occurring five times. Likewise, median position does not mean median value .
Here both middle positions fall in one bundle.
Grouped data and estimates of the mean
A table saying eight people waited between and minutes has hidden their individual waits. You cannot recover the exact total. Use each class midpoint as a representative value and be honest that the answer is an estimate.
Class interval, midpoint and modal class
A class interval groups values between boundaries. For , include , but exclude , so adjoining classes do not overlap. Its midpoint is . For equal-width classes, the modal class is the class with the greatest frequency; it is an interval, not its midpoint.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account