Skip to study

CHAPTER 05 · STATISTICS & PROBABILITY

Statistics

Progress stays on this device

papers AA HL chapter & section analysis

Your chapter

Collect reliable evidence, select appropriate summaries and make justified predictions.

Read all chapter notes

5.1

Sampling

Define the population before choosing a sample. A simple random sample makes every sample of the chosen size equally likely. A systematic sample uses a random starting position and a fixed interval; check that any repeating population pattern does not align with that interval.

Proportional stratified sampling allocates the total sample according to stratum sizes, then selects randomly within each stratum. If allocations are not integers, use a stated rounding scheme that preserves the intended total.

Convenience, quota and voluntary-response samples can be biased even when large. Non-response, an incomplete sampling frame and a leading question can also prevent a sample from representing its target population. Distinguish a census from a sample, and categorical, discrete and continuous data.

Stratum allocation = sample size × stratum size / population size. Systematic interval = population size / sample size.

Watch out: Equal individual selection chances alone do not define a simple random sample; all samples of the fixed size must be equally likely.

Worked example

A college has 800 students, including 240 boarders. A proportional stratified sample contains 120 students. How many boarders should be selected?

  1. The boarders form 240800=310\displaystyle \frac{240}{800} = \frac{3}{10} of the population.
  2. Allocate 120×310=36\displaystyle \frac{120 \times 3}{10} = 36 places, then select randomly among boarders.

5.2

Descriptive statistics

Organise raw observations using ordered lists or frequency tables. Class intervals must be non-overlapping and labelled with their boundaries and units. A grouped mean⁡\displaystyle \operatorname{mean} is an estimate obtained from class midpoints, because the original observations within each class are unknown.

The mean⁡\displaystyle \operatorname{mean} uses all observations; the median is the middle ordered value and is less sensitive to extreme observations. A modal class is the class of greatest frequency when class widths are equal. A cumulative frequency is a running total and is non-decreasing; read percentile estimates from the appropriate fraction of the total frequency.

State the quartile convention for a small raw data set when it matters. For a full population, divide the sum of squared deviations by N; a sample-standard-deviation statistic instead uses n−1\displaystyle n - 1. Use the statistic requested by the question and retain units: variance has squared units.

Mean x‾=∑fixi∑fi\displaystyle \overline{x} = \frac{\sum f_{i} x_{i}}{\sum f_{i}}. Population variance σ2=∑fi(xi−x‾)2∑fi\displaystyle \sigma^{2} = \frac{\sum f_{i}\left(x_{i} - \overline{x}\right)^{2}}{\sum f_{i}}. IQR = Q3−Q1\displaystyle Q_{3} - Q_{1}.

Watch out: A grouped midpoint calculation estimates amean⁡\displaystyle a \operatorname{mean}; it does not reconstruct the original data.

Worked example

The complete population data set is 2, 4, 4, 6. Find its mean⁡\displaystyle \operatorname{mean} and population variance, in that order.

  1. The mean⁡\displaystyle \operatorname{mean} is 2+4+4+64=4\displaystyle \frac{2 + 4 + 4 + 6}{4} = 4.
  2. Squared deviations are 4,0,0,4, so the population variance is 84=2\displaystyle \frac{8}{4} = 2.

5.3

Justifying statistical techniques

A five-number summary consists of minimum, lower quartile, median, upper quartile and maximum. A box plot displays centre and spread compactly, but loses the individual observations and can conceal clusters. Compare distributions using the context as well as their medians and spreads.

The 1.5 IQR convention flags values strictly below Q1−1.5\displaystyle Q_{1} - 1.5IQR or strictly above Q3+1.5\displaystyle Q_{3} + 1.5IQR. A value exactly on a fence is not outside it. Investigate an outlier: it may be a recording error or a genuine observation; deletion requires justification.

Variance averages squared deviations from the mean⁡\displaystyle \operatorname{mean}, preventing positive and negative deviations from cancelling. Squaring gives large deviations more influence. Under y=ax+b\displaystyle y = ax + b, the mean⁡\displaystyle \operatorname{mean} becomes ax‾+b\displaystyle \overline{ax} + b, variance becomes a2σ2\displaystyle a^{2} \sigma^{2} and standard deviation becomes ∣a∣σ\displaystyle \left|a\right| \sigma. Median and IQR are often useful with skew or extreme values, while mean⁡\displaystyle \operatorname{mean} and standard deviation retain information from all observations.

σ2=mean⁡(x2)−[mean⁡(x)]2\displaystyle \sigma^{2} = \operatorname{mean}\left(x^{2}\right) - \left[\operatorname{mean}\left(x\right)\right]^{2}. Outlier fences: Q1−1.5\displaystyle Q_{1} - 1.5IQR, Q3+1.5\displaystyle Q_{3} + 1.5IQR. Var⁡(aX+b)=a2Var⁡(X)\displaystyle \operatorname{Var}\left(aX + b\right) = a^{2} \operatorname{Var}\left(X\right).

Watch out: Adding a constant changes the centre but not the spread; a negative scale still gives a non-negative standard deviation.

Worked example

The complete data set is 1,3,5,7. Find the population variance.

  1. The mean⁡\displaystyle \operatorname{mean} is 4. Squared deviations are 9,1,1,9.
  2. The population variance is 9+1+1+94=5\displaystyle \frac{9 + 1 + 1 + 9}{4} = 5.

5.4

Correlation, causation & regression

Keep paired observations together. A scatter diagram reveals direction, strength, clusters and possible outliers. Pearson’s r measures linear association, lies between −1 and 1, and does not establish a causal relationship; a non-linear pattern may have a small r.

The least-squares regression line of y on x minimizes squared vertical residuals and passes through (x‾, yˉ)\displaystyle \left(\overline{x},\,\bar{y}\right). Choose the regression direction according to the response you want to predict. Reversing one fitted equation does not generally produce the other regression line.

A residual is observed minus predicted. Interpolation stays within the observed input range; extrapolation assumes the trend continues beyond it and requires caution. A fitted line is useful only if a linear model is appropriate for the context.

For y=α+βx\displaystyle y = \alpha + \beta x: β=SxySxx\displaystyle \beta = \frac{S_{xy}}{S_{xx}}, α=yˉ−βx‾\displaystyle \alpha = \bar{y} - \beta \overline{x}. r=SxySxxSyy\displaystyle r = \frac{S_{xy}}{\sqrt{S_{xx} S_{yy}}}. Residual=observed−predicted.

Watch out: A correlation coefficient does not measure the slope and does not prove causation.

Worked example

For paired data (1, 3)\displaystyle \left(1,\,3\right),(2, 5)\displaystyle \left(2,\,5\right),(3, 4)\displaystyle \left(3,\,4\right),(4, 8)\displaystyle \left(4,\,8\right), find the slope and intercept of the least-squares line of y on x, in that order.

  1. The mean⁡\displaystyle \operatorname{mean} point is (2.5, 5)\displaystyle \left(2.5,\,5\right). Centred sums are Sxx=5\displaystyle S_{xx} = 5 and Sxy=7\displaystyle S_{xy} = 7.
  2. The slope is 75=1.4\displaystyle \frac{7}{5} = 1.4 and the intercept is 5−1.4×2.5=1.5\displaystyle 5 - 1.4 \times 2.5 = 1.5.