Statistics Inferential Statistics

Leaving Cert Higher Level Mathematics revision notes with diagrams, key terms and self-check questions.

5 min readHigher LevelBy Studytok
Practise this topic — free →

Inferential statistics gives us a way to make reliable claims about a whole population using just a single sample. Instead of running an expensive census, you collect random data, calculate sample figures, and assess how much those values might swing by chance. For Leaving Certificate Higher Level, you need to master three core techniques: describing sampling distributions through the Central Limit Theorem, building confidence intervals for means and proportions, and conducting two-tailed hypothesis tests with z-scores or p-values.

Sampling and the Central Limit Theorem

A population includes every single individual or item you want to study, whereas a sample is just a subgroup picked from that population. Any numerical measurement describing the population is a parameter, like the population mean μ\mu or population proportion pp. A measurement calculated from your sample is a statistic, such as the sample mean xˉ\bar{x} or sample proportion p^\hat{p}. Parameters stay fixed, but statistics change from sample to sample. This natural bounce between different samples is called sampling variability.

If you took hundreds of random samples of size nn from the same population and calculated xˉ\bar{x} for each one, the spread of those sample means forms the sampling distribution of the mean. The Central Limit Theorem tells us that whenever the sample size is large enough (usually n30n \geq 30), this sampling distribution is approximately normal, even if the parent population is skewed or irregular. The mean of this sampling distribution equals the true population mean μ\mu, and its standard deviation is known as the standard error, given by σxˉ=σn\sigma_{\bar{x}} = \frac{\sigma}{\sqrt{n}}. In exam questions where the population standard deviation σ\sigma is unknown, you can safely use the sample standard deviation ss as an approximation when n30n \geq 30.

A skewed population supplies repeated random samples of equal size. Their means form an approximately normal distribution centred at μ.
A skewed population supplies repeated random samples of equal size. Their means form an approximately normal distribution centred at μ.

Confidence Intervals for Means and Proportions

A single sample statistic gives you a point estimate, but it tells you nothing about how close you are to the true figure. A confidence interval fixes this by giving a plausible band of values backed by a chosen confidence level. At Higher Level, you will nearly always calculate 95% confidence intervals, which use the critical value z=1.96z = 1.96 from the standard normal tables.

For a population mean, calculate the 95% interval using [xˉ1.96sn,xˉ+1.96sn]\left[\bar{x} - 1.96\frac{s}{\sqrt{n}}, \bar{x} + 1.96\frac{s}{\sqrt{n}}\right]. For example, if a sample of 100100 students has a mean study time of 2020 hours with standard deviation 44 hours, the standard error is 4100=0.4\frac{4}{\sqrt{100}} = 0.4. The margin of error is 1.96×0.4=0.7841.96 \times 0.4 = 0.784, giving an interval from 19.21619.216 to 20.78420.784 hours.

For a population proportion, the 95% interval is p^±1.96p^(1p^)n\hat{p} \pm 1.96\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}, where p^=xn\hat{p} = \frac{x}{n} is the sample proportion. The margin of error is largest when p^=0.5\hat{p} = 0.5, because p^(1p^)\hat{p}(1 - \hat{p}) cannot exceed 0.250.25. This gives the maximum 95% margin of error E=1.960.25n=0.98n1nE = 1.96\sqrt{\frac{0.25}{n}} = \frac{0.98}{\sqrt{n}} \approx \frac{1}{\sqrt{n}}. For example, with a sample of n=900n = 900, the maximum margin of error is E1900=1300.033E \approx \frac{1}{\sqrt{900}} = \frac{1}{30} \approx 0.033 (or 3.3%3.3\%). To find the sample size required for a desired margin of error EE, rearrange to n1E2n \approx \frac{1}{E^2}; for example, achieving a margin of ±4%\pm 4\% (E=0.04E = 0.04) requires n=10.042=625n = \frac{1}{0.04^2} = 625. You should note how confidence levels and sample sizes behave. If you want a higher level of certainty, like 99% (z=2.575z = 2.575), your margin of error grows and your interval gets wider. Conversely, because nn sits under a square root in the denominator, you have to quadruple your sample size if you want to cut the margin of error in half.

Intervals centred at the same sample mean widen from 95% to 99% confidence. At fixed confidence and standard deviation, increasing n to 4n halves the margin of error.
Intervals centred at the same sample mean widen from 95% to 99% confidence. At fixed confidence and standard deviation, increasing n to 4n halves the margin of error.

Hypothesis Testing and P-Values

A hypothesis test is a formal method to decide whether sample evidence contradicts an existing claim. You start by stating two competing claims: the null hypothesis (H0H_0), which represents no change or the status quo, and the alternative hypothesis (H1H_1), which claims a genuine difference. At Higher Level, tests on a population mean are two-tailed, so you write H0:μ=kH_0: \mu = k and H1:μkH_1: \mu \neq k.

To test the claim, convert your sample mean into a test statistic using z=xˉμsnz = \frac{\bar{x} - \mu}{\frac{s}{\sqrt{n}}}. At the standard 5% significance level, the critical values are ±1.96\pm 1.96. If your test statistic lands in the critical region (z1.96z \geq 1.96 or z1.96z \leq -1.96, meaning z1.96|z| \geq 1.96), you reject H0H_0. If z<1.96|z| < 1.96, you fail to reject H0H_0.

You can also make decisions using a p-value, which measures the exact probability of getting a result at least as extreme as your sample if H0H_0 were true. For a two-tailed test, look up your positive z-score in the log tables, find the tail area 1P(Zz)1 - P(Z \leq |z|), and double it: p=2(1P(Zz))p = 2(1 - P(Z \leq |z|)). If p<0.05p < 0.05, reject H0H_0; if p0.05p \geq 0.05, fail to reject H0H_0. Always wrap up with a sentence in plain English stating what your decision means in the context of the question.

A normal curve under H₀ shows critical regions beyond ±1.96 and separately hatched p-value areas beyond the magnitude of an observed z-score.
A normal curve under H₀ shows critical regions beyond ±1.96 and separately hatched p-value areas beyond the magnitude of an observed z-score.

Testing hypotheses about a population proportion

To test a claim about a population proportion at the 5% level of significance using the margin of error:

  1. State the null and alternative hypotheses: H0:p=kH_0: p = k and H1:pkH_1: p \neq k.
  2. Calculate the sample proportion p^=xn\hat{p} = \frac{x}{n} and the margin of error EE (using 1.96p^(1p^)n1.96\sqrt{\frac{\hat{p}(1-\hat{p})}{n}} or the maximum margin 1n\frac{1}{\sqrt{n}}).
  3. Set up the 95% confidence interval: [p^E,p^+E][\hat{p} - E, \hat{p} + E].
  4. Make your decision: reject H0H_0 if kk lies outside the confidence interval; fail to reject H0H_0 if kk lies inside the interval.
  5. State your conclusion in the context of the problem.

For example, test the claim that support for the transport initiative is 50% (H0:p=0.5H_0: p = 0.5 versus H1:p0.5H_1: p \neq 0.5) using the survey in Worked Example 2 below, where 280280 of 500500 voters supported it (p^=0.56\hat{p} = 0.56):

  • The 95% confidence interval is [0.516,0.604][0.516, 0.604] (or [0.515,0.605][0.515, 0.605] using the maximum margin 15000.045\frac{1}{\sqrt{500}} \approx 0.045).
  • Because 0.50.5 lies outside this interval, we reject H0H_0.
  • There is sufficient evidence at the 5% level of significance that public support is not 50%.
The claimed proportion 0.500 lies to the left of the 95% confidence interval from 0.516 to 0.604, centred at the sample proportion 0.560.
The claimed proportion 0.500 lies to the left of the 95% confidence interval from 0.516 to 0.604, centred at the sample proportion 0.560.

Key terms

Population
The entire collection of individuals, items, or scores that you want to draw conclusions about.
Sample
A subset selected from a population to represent the whole group in an investigation.
Parameter
A fixed numerical characteristic describing an entire population, such as the mean μ\mu or proportion pp.
Statistic
A numerical value calculated from sample data, like xˉ\bar{x} or p^\hat{p}, which varies from sample to sample.
Sampling Variability
The natural variation in sample statistics that occurs when different random samples are drawn from the same population.
Central Limit Theorem
A theorem stating that the sampling distribution of the mean approaches a normal distribution as sample size grows (n30n \geq 30), regardless of the population shape.
Standard Error
The standard deviation of a sampling distribution, representing the typical distance between a sample statistic and the true population parameter.
Null Hypothesis (H0H_0)
The baseline statement assuming no difference, no change, or that an established claim is true, written with an equals sign.
Alternative Hypothesis (H1H_1)
The statement you adopt if the sample provides convincing evidence against the null hypothesis, written as not equal to (\neq) for two-tailed tests.
P-value
The probability of getting a sample statistic as extreme as, or more extreme than, the observed value, assuming the null hypothesis is true.
Critical Region
The set of extreme test statistic values (such as z1.96|z| \geq 1.96 at the 5% level) that leads you to reject the null hypothesis.

Check yourself

  1. Why does a 99% confidence interval end up wider than a 95% confidence interval for the exact same sample?

    A higher confidence level requires a higher critical value (z=2.575z = 2.575 compared to z=1.96z = 1.96). Multiplying the standard error by a larger number increases the margin of error, making the interval wider.

  2. A hypothesis test produces a test statistic of z=1.78z = -1.78 at the 5% significance level. What is your statistical decision?

    Fail to reject H0H_0, because 1.78=1.78|-1.78| = 1.78, which is less than the critical value of 1.961.96.

  3. If you want to cut the margin of error of a confidence interval by half without changing the confidence level, what must you do to the sample size?

    You must quadruple the sample size (multiply nn by 44) because nn appears under a square root in the denominator of the standard error formula.

  4. In a two-tailed test, your calculated z-score is 2.152.15. Find the p-value given that P(Z2.15)=0.9842P(Z \leq 2.15) = 0.9842.

    The upper tail is 10.9842=0.01581 - 0.9842 = 0.0158. Doubling this for a two-tailed test gives a p-value of 2×0.0158=0.03162 \times 0.0158 = 0.0316.

You've read the theory
Now turn it into exam marks.

Practise statistics inferential statistics as questions and flashcards in Studytok, with explanations when you get stuck.

Continue for free →
  1. Read the notes
    3 sections
  2. 2
    Test yourself
    Questions marked instantly
  3. 3
    Keep revising
    Flashcards and exam-style practice