IB Maths Analysis and Approaches SL
Descriptive statistics (sampling, averages, spread and data displays): question types and practice
Descriptive statistics: sampling, averages, spread and data displays carried 3% of the marks in the 20 recent exams, through 6 kinds of question. The one worth the most marks is Averages and spread.
The 6 question types
The ideas you need
Population, sample and data
Population, sample and data
- The population is every member of the group a question is about; a sample is the part of it that is actually measured. In a random sample, every member has the same chance of being chosen. At SL a data set is treated as the whole population unless the question says otherwise, and calling it a sample does not count. Its standard deviation is still the GDC's (it divides by ), not (which divides by ) (Spread).
- Discrete data are counted and take separate values: goals scored, people in a car. Continuous data are measured and can take any value in a range: time, mass, length. A continuous value is recorded to some accuracy, so a time of "12 s, to the nearest second" means .
- Reliability. Ask where the data came from and whether a value can be right. A recording error should be corrected or removed before anything is calculated; a missing value makes the sample smaller; a sample that leaves out part of the population is biased (Sampling techniques).
Mini-example: a council wants to know how long its adult residents spend commuting each day, and asks of them. The population is the adults, the sample is the , and a commuting time is continuous. A recorded time of minutes a day is not believable: check it, then correct it or leave it out.
Sampling techniques
Sampling techniques
- Simple random
- How to describe it
- every member has the same chance of being chosen (and so does every possible sample): number the members, then choose with random numbers
- Calculation
- none
- What the markscheme needs
- "equal chance", and how the random choice is made
- Convenience
- How to describe it
- whoever is easiest to reach: the first to arrive, one class, one street
- Calculation
- none
- What the markscheme needs
- to name it from a description, and to say why it is likely to be biased
- Systematic
- How to describe it
- list the population, choose a random start, then take every th member
- Calculation
- What the markscheme needs
- one mark for the regular interval (the word "every"), one for the value of
- Quota
- How to describe it
- a fixed number from each group, chosen by the person collecting, not at random (e.g. the first men and women to walk past)
- Calculation
- the number from each group
- What the markscheme needs
- to name it from a description
- Stratified
- How to describe it
- split the population into groups (strata), then sample each group at random, in proportion to its size
- Calculation
- , as a whole number
- What the markscheme needs
- M1 for the proportion, A1 for the whole number
| Technique | How to describe it | Calculation | What the markscheme needs |
|---|---|---|---|
| Simple random | every member has the same chance of being chosen (and so does every possible sample): number the members, then choose with random numbers | none | "equal chance", and how the random choice is made |
| Convenience | whoever is easiest to reach: the first to arrive, one class, one street | none | to name it from a description, and to say why it is likely to be biased |
| Systematic | list the population, choose a random start, then take every th member | one mark for the regular interval (the word "every"), one for the value of | |
| Quota | a fixed number from each group, chosen by the person collecting, not at random (e.g. the first men and women to walk past) | the number from each group | to name it from a description |
| Stratified | split the population into groups (strata), then sample each group at random, in proportion to its size | , as a whole number | M1 for the proportion, A1 for the whole number |
- A bias reason names who is left out, and why their values may be different. "The sample is too small", or a bare "it is not representative", scores .
- A better method is one that reaches every group, usually stratified sampling.
- Stratified or quota? Both take a number from each group. Stratified chooses at random inside each group; quota lets the collector choose.
Mini-example (exam-style). A gym has members: are under , are aged to and are or over. The manager wants a sample of members, to ask how many hours a week they train. (a) The manager asks the first members who arrive on a Monday morning. Name this sampling technique. [1] (b) Explain why this sample is likely to be biased. [1] (c) Describe how a systematic sample of could be taken from the list of members. [2] (d) A sample of is stratified by age group instead. Find the number of members aged to in it. [2] (e) Instead, the manager asks members as they arrive until there are under , aged to and aged or over. Name this sampling technique. [1]
(a) Convenience sampling (A1) (b) Members who can't come on a weekday morning, such as those who work, are left out, and they may train for a different number of hours (R1) (c) : choose one of the first members on the list at random, then take every th member after it (A1)(A1) (d) (M1) (A1) Check: the three groups give ✓ (e) Quota sampling: a fixed number from each group, but the members are not chosen at random (A1)
Frequency tables and histograms
Frequency tables and histograms
- A frequency table gives each value, or each class, with the number of times it occurs. The frequencies add up to .
- Grouped data are put into classes written as inequalities with no gaps: , , … (SL 4.2). The class has width and mid-interval value (midpoint) . Widths can differ: has midpoint .
- A frequency histogram has one bar per class, with no gaps between bars and height equal to the frequency; at SL its classes have equal widths. Frequency density histograms, for unequal widths, are not required.
- Grouping loses the individual values, so any statistic worked out from a grouped table is an estimate.
Mini-example: times in the classes , and , with frequencies , and . The midpoints are , and , and every time in a class is treated as its midpoint: the estimated total is .
Averages: mean, median and mode
Averages: mean, median and mode
- Mean: (booklet), the total of the values divided by how many there are. So total : that line does the work in Work backwards from the mean or median. On P2 the mean comes from one-variable statistics.
- Median: the middle value once the data are in order, at position . For even it is halfway between the two middle values. Write the value, not its position.
- Mode: the most frequent value. Modal class: the class with the highest frequency, used only when the classes have equal widths (SL 4.3). Give it as the interval, never as its midpoint.
- Grouped data: the mean is estimated, using each class's midpoint for every value in the class.
- Which values matter. The median depends only on the middle of the ordered list. With an odd number of values, one extra value below the median and one above it leave the median where it is. With an even number, that is true as long as neither new value falls between the two middle values: has median , but adding and makes it . The mean uses every value, so one extreme value pulls it.
Mini-example: the number of people in each of cars.
| People | Cars |
|---|---|
| People | ||||
|---|---|---|---|---|
| Cars |
Mean: . Median: the 15th and 16th cars. The first cars have person and the next (the 13th to 21st) have , so the median is . Mode: . Two more cars pass, with person and people: the two middle cars both had people, and the new cars are on opposite sides of , so the median stays , but the mean becomes .
Spread: range, quartiles, IQR and standard deviation
Spread: range, quartiles, IQR and standard deviation
- Range largest value smallest value.
- Quartiles cut the ordered data into four equal parts. By hand: the median splits the data into a lower half and an upper half; for odd , the median itself is left out of both halves. is the median of the lower half and the median of the upper half. GDCs normally use this method too, but other methods exist, so a quartile found another way can differ slightly (SL 4.3 notes that quartiles found by hand and by technology may differ).
- IQR (booklet): the spread of the middle half of the data. Extreme values don't affect it.
- Standard deviation : roughly, the typical distance of the values from the mean. At SL it comes from technology only (one-variable statistics). Read , the value for the whole data set, not the sample value . The variance is : square the unrounded standard deviation, as a written step.
Mini-example: (). The median is the 4th value, . The lower half is , so ; the upper half is , so . and the range is . The GDC gives and , so the variance is .
Constant changes to every value
Constant changes to every value
| Every value … | has added | is multiplied by |
|---|---|---|
| Mean, median, mode, quartiles | ||
| Range, IQR, standard deviation | unchanged | |
| Variance | unchanged |
| Every value … | Mean, median, mode, quartiles | Range, IQR, standard deviation | Variance |
|---|---|---|---|
| has added | unchanged | unchanged | |
| is multiplied by |
If , the order of the values reverses as well: the new is times the old , and the new is times the old (the IQR is still multiplied by ). Exam questions use , for example a change of units or a percentage change.
Adding slides every value along together: the centre moves, but the gaps between the values don't change. Multiplying by stretches every gap by , and the variance is a square, so it is multiplied by . For both at once, : the new mean is and the new standard deviation is .
Mini-example (exam-style). The masses of loaves of bread add up to g. The scales were found to read g too low, so g is added to every recorded mass. (a) Find the mean of the corrected masses. [3] (b) State the effect of the correction on the variance of the masses. [1]
(a) Method 1: the old mean is g (A1). Adding g to every value adds g to the mean (M1): g (A1) Method 2: the new total is (M1) g (A1), so the new mean is g (A1) (b) The variance is unchanged (A1)
If the corrected masses are then written in kilograms (every value ), the mean becomes kg, the standard deviation is multiplied by and the variance by .
Scope: this is about data. The same rules for a random variable, and , are AHL 4.14.
Cumulative frequency
Cumulative frequency
- The cumulative frequency at a value is the number of data values up to and including it: a running total of the frequencies. For grouped data it is the number of values below a class boundary.
- For grouped data, plot each running total at the upper boundary of its class, start at the lowest boundary with , and join the points with a smooth curve (or straight lines).
- A count → a value (read across to the curve, then down): the median at , at , at , and the th percentile (the value with % of the data below it) at % of . On a graph the data are treated as spread out continuously, so read at , not the list position . Markschemes accept either, and on a graph the difference is too small to see.
- A value → a count (read up to the curve, then across): the number below the value. The number above it is that reading.
- A class's frequency is the difference between the readings at its two boundaries.
Mini-example: the marks of students.
| Mark, | Frequency | Cumulative frequency |
|---|---|---|
| Mark, | |||||
|---|---|---|---|---|---|
| Frequency | |||||
| Cumulative frequency |
Plot , , , , and . The median is across from : about marks. The 90th percentile is across from : marks. The number of students with marks or more is .
Each running total is plotted at the upper boundary of its class. Across from (half of ) the median is about marks; across from the 90th percentile is ; and up from the reading is , so students scored or more.
Box plots (box-and-whisker diagrams)
Box plots (box-and-whisker diagrams)
- A box plot shows the five-number summary: the least value, , the median, and the greatest value. On a scale, the box runs from to with a line at the median, and the whiskers run out to the least and greatest values.
- Each of the four sections holds a quarter of the data, however long it is on the scale. A long whisker means the values there are spread out, not that there are more of them.
- Outliers are marked with a cross, and the whisker then stops at the most extreme value that is not an outlier (SL 4.2).
- Shape. If the box and the whiskers are roughly symmetric about the median, the data may be normally distributed (SL 4.2). A median close to and a long right whisker mean a tail of high values: the data are positively skewed. A median close to and a long left whisker mean a tail of low values: negatively skewed.
Mini-example: for (Spread), the box runs from to with a line at , and the whiskers go to and . The median is in the middle of the box and the whiskers are similar ( and long), so the data are roughly symmetric.
The five-number summary on a scale: whiskers from the least value to and from to the greatest value , the box between the quartiles with the median inside it. Each of the four sections holds a quarter of the data, and here the diagram is roughly symmetric.
Outliers
Outliers
An outlier is a value more than from the nearest quartile (SL 4.1). That gives two fences:
- A value below the lower fence or above the upper fence is an outlier. A value exactly on a fence is not.
- An outlier can be a genuine value, which stays in the data, or an error, which is corrected or removed. The context decides (SL 4.1).
Mini-example: and , so and . The fences are and . So and are outliers, but and are not.
Which type?
- a list, or values with frequencies
- Asked
- median, quartiles, IQR, mode, mean, standard deviation, variance
- First move
- order the list (P1), or one-variable statistics (P2)
- a grouped table
- Asked
- an estimated mean or variance, midpoints, the modal class
- First move
- midpoints with the frequencies
- a mean or a median, and a value or frequency missing
- Asked
- the missing value
- First move
- total mean; or the running totals of the frequencies up to the median's position
- a cumulative frequency graph
- Asked
- the median, a percentile, a count, table frequencies, a population estimate
- First move
- turn the request into a cumulative count, or read up from a value
- a box plot or its five numbers; or data, with a box plot to draw
- Asked
- a count between markers, a missing marker, a drawing
- First move
- each section is a quarter of the data
- Type
- Box plots
- quartiles and a value, or a value that is not an outlier
- Asked
- outlier or not, a fence, an unknown quartile
- First move
- the fences and
- Type
- Outliers
- two groups, or a box plot's shape
- Asked
- a comparison, a claim, the skew, which graph fits
- First move
- one measure of centre and one of spread, compared with numbers, then in context
- every value changed by the same rule
- Asked
- the new mean, standard deviation or variance
- First move
- the table in Constant changes
- Type
- (concept, no type)
- a description of how a sample was chosen
- Asked
- the technique, a bias reason, a count
- First move
- the table in Sampling techniques
- Type
- (concept, no type)
- a normal model with an IQR, a quartile or a percentage
- Asked
- or
- First move
- -values from inverse normal
- a normal model with and , and a top or bottom percentage
- Asked
- the cut-off value
- First move
- inverse normal
| Given | Asked | First move | Type |
|---|---|---|---|
| a list, or values with frequencies | median, quartiles, IQR, mode, mean, standard deviation, variance | order the list (P1), or one-variable statistics (P2) | Averages and spread |
| a grouped table | an estimated mean or variance, midpoints, the modal class | midpoints with the frequencies | Averages and spread |
| a mean or a median, and a value or frequency missing | the missing value | total mean; or the running totals of the frequencies up to the median's position | Work backwards from the mean or median |
| a cumulative frequency graph | the median, a percentile, a count, table frequencies, a population estimate | turn the request into a cumulative count, or read up from a value | Cumulative frequency graphs |
| a box plot or its five numbers; or data, with a box plot to draw | a count between markers, a missing marker, a drawing | each section is a quarter of the data | Box plots |
| quartiles and a value, or a value that is not an outlier | outlier or not, a fence, an unknown quartile | the fences and | Outliers |
| two groups, or a box plot's shape | a comparison, a claim, the skew, which graph fits | one measure of centre and one of spread, compared with numbers, then in context | Compare two distributions |
| every value changed by the same rule | the new mean, standard deviation or variance | the table in Constant changes | (concept, no type) |
| a description of how a sample was chosen | the technique, a bias reason, a count | the table in Sampling techniques | (concept, no type) |
| a normal model with an IQR, a quartile or a percentage | or | -values from inverse normal | Unknown mean or standard deviation |
| a normal model with and , and a top or bottom percentage | the cut-off value | inverse normal | Find the value from a probability |
Where descriptive statistics hides in other topics
Where descriptive statistics hides in other topics
Averages and spread turn up inside other topics, usually as one step. The first move is to notice that a list of numbers (terms, data values, outcomes) is being summarised, or that a total is hiding behind a mean.
- The terms of a sequence treated as data: the mean and median of the first terms of (Arithmetic sequences)
- It becomes
- Averages: mean ; median
- Watch for
- an even number of terms has two middle terms; for an arithmetic sequence the mean and the median are equal
- A missing data value in a regression question (The mean point)
- It becomes
- Work backwards from the mean or median: from the line at , then total
- Watch for
- the line need not pass through any data point; only the mean point is certain to be on it. Substituting the missing point's into the line earns nothing
- A frequency table used as a probability distribution (Probability distribution tables)
- It becomes
- the relative frequencies are the probabilities, so : frequencies for give a mean of , the of the probabilities
- Watch for
- the same sum; "expected value" is the random-variable wording
- The IQR or the standard deviation of a normal model (Unknown mean or standard deviation)
- It becomes
- not a data set: the quartiles are the % and % points of the curve, each from . An IQR of gives
- Watch for
- a box plot's IQR is read from data; a normal model's needs inverse normal
- "The top %" of a normal model (Find the value from a probability)
- It becomes
- inverse normal with an upper-tail area of
- Watch for
- with a cumulative frequency graph it is a reading at (Cumulative frequency graphs)
- Every value changed by the same rule, next to a transformed graph (Transform a graph)
- It becomes
- Constant changes: adding moves the centre (like a translation); multiplying by scales the spread by (like a stretch)
- Watch for
- adding a constant never changes the spread
- The mean of consecutive odd numbers in a proof (Prove it: from one side to the other)
- It becomes
- total number of values, in algebra: add up to , so their mean is , the middle one
- Watch for
- the mean of an odd number of equally spaced values is the middle one (for an even number, it is halfway between the two middle ones)
| You see | It becomes | Watch for |
|---|---|---|
| The terms of a sequence treated as data: the mean and median of the first terms of (Arithmetic sequences) | Averages: mean ; median | an even number of terms has two middle terms; for an arithmetic sequence the mean and the median are equal |
| A missing data value in a regression question (The mean point) | Work backwards from the mean or median: from the line at , then total | the line need not pass through any data point; only the mean point is certain to be on it. Substituting the missing point's into the line earns nothing |
| A frequency table used as a probability distribution (Probability distribution tables) | the relative frequencies are the probabilities, so : frequencies for give a mean of , the of the probabilities | the same sum; "expected value" is the random-variable wording |
| The IQR or the standard deviation of a normal model (Unknown mean or standard deviation) | not a data set: the quartiles are the % and % points of the curve, each from . An IQR of gives | a box plot's IQR is read from data; a normal model's needs inverse normal |
| "The top %" of a normal model (Find the value from a probability) | inverse normal with an upper-tail area of | with a cumulative frequency graph it is a reading at (Cumulative frequency graphs) |
| Every value changed by the same rule, next to a transformed graph (Transform a graph) | Constant changes: adding moves the centre (like a translation); multiplying by scales the spread by (like a stretch) | adding a constant never changes the spread |
| The mean of consecutive odd numbers in a proof (Prove it: from one side to the other) | total number of values, in algebra: add up to , so their mean is , the middle one | the mean of an odd number of equally spaced values is the middle one (for an even number, it is halfway between the two middle ones) |
More in Statistics and probability
Every topic of the course
- The binomial theorem
- Exponents and logarithms
- Proof
- Sequences and series
- Exponential and logarithmic functions
- Composite and inverse functions
- Lines and graphs of functions
- Quadratics
- Reciprocal and rational functions
- Transformations of graphs
- Radians, arcs and sectors
- 3D geometry: solids and triangles in 3D
- Triangle trigonometry
- The unit circle, identities and trig equations
- Trig graphs and sinusoidal models
- Differentiation
- Integration and areas
- Kinematics
- Stationary points and optimisation