IB Syllabus Requirements for Hypothesis Testing
4.11
Hypotheses, chi-squared tests and comparison of two means
4.18
Critical regions, distribution-based tests and errors
4.11
HYPOTHESES, CHI-SQUARED TESTS AND COMPARISON OF TWO MEANS
A hypothesis test uses evidence from a sample to assess a claim about a population. One claim acts as the working position. We then ask how surprising the observed result would be if that claim were correct.
The null hypothesis, written , is the population claim treated as true while the test probability is calculated. Here, identifies the assumed claim and has no unit. The alternative hypothesis, written , is the competing population claim supported when the evidence against is sufficiently strong. Again, identifies a claim and has no unit.
Hypotheses refer to population parameters, not sample statistics. For instance, a claim about a population mean might be written
Usually, the equality belongs in . When the parameter isn’t represented algebraically, hypotheses can be stated clearly in words, as in a chi-squared test of independence.
The wording of sets the tail:
A one-tailed test is a hypothesis test whose alternative specifies one direction of departure. A two-tailed test allows departures in either direction. Choose the direction from the research claim before looking at the data; choosing it afterwards distorts the test.
The significance level, written , is a probability threshold fixed before the test. It limits the tolerated chance of rejecting a true null hypothesis, and is dimensionless. Common values are , and .
The p-value is the probability, assuming is true, of obtaining a test statistic at least as extreme as the observed one in the direction or directions specified by . It is written , where is a dimensionless probability. It is not the probability that is true.
Use the decision rule
while means there is insufficient evidence to reject . Don’t write “accept ” for this second conclusion. An inconclusive sample does not prove the null claim.
A result is statistically significant when its p-value does not exceed the chosen significance level. Finish in context with a sentence about the population and the original claim: “There is sufficient evidence at the significance level to suggest that …” or “There is insufficient evidence …”. Statistical significance does not guarantee truth, practical importance or a large effect. Some researchers therefore object to treating a p-value as a yes-or-no certificate. Its value depends on the model, sample size, assumptions and selected threshold.
Simulation helps show the logic. Generate many samples under and calculate the statistic for each one. Then estimate the p-value using the proportion at least as extreme as the observed statistic. This simulation represents the repeated-sampling model; it does not simulate the probability that a hypothesis itself is true.
An observed frequency is the count actually recorded in a category. Write it as , where is a dimensionless count. An expected frequency is the count predicted for that category when is assumed true. Write it as , where is also a dimensionless count.
The chi-squared statistic is
Every cell makes a non-negative contribution. Larger differences between and give larger values of , so chi-squared tests use the upper tail.
Expected frequencies should generally exceed because smaller values make the chi-squared approximation unreliable. The examination setting uses expected frequencies greater than , though this limitation still matters in an exploration or field study.
A contingency table is a frequency table that classifies the same observations using two categorical variables. A chi-squared test for independence is an upper-tailed test used to assess whether those variables are associated in the population.
The hypotheses are typically
For one cell in a contingency table,
Technology can find the full set of expected frequencies and the test statistic, but the calculation is still worth understanding.
The degrees of freedom are
Degrees of freedom count how many cell values remain free to vary after the totals impose their restrictions.
The following layout connects the observed table, expected table and contributions to .
Chi-squared table of observed, expected and contributions
| Item | C1 | C2 | C3 | Total |
|---|---|---|---|---|
| R1 obs | 24 | 16 | 20 | 60 |
| R1 exp | 21.6 | 20.4 | 18.0 | 60 |
| R1 contr. | 0.27 | 0.95 | 0.22 | 1.44 |
| R2 obs | 12 | 18 | 10 | 40 |
| R2 exp | 14.4 | 13.6 | 12.0 | 40 |
| R2 contr. | 0.40 | 1.42 | 0.33 | 2.15 |
| Col total | 36 | 34 | 30 | 100 |
| Test stat. | — | — | — | 3.59 |
In examinations, a contingency table has at most four rows or four columns, and . Use technology to obtain and the p-value. When a critical value is supplied, either comparison leads to the same decision:
A chi-squared goodness-of-fit test is an upper-tailed test comparing the observed frequencies of one categorical variable with frequencies predicted by a stated distribution or set of proportions.
The hypotheses are
If a category has hypothesized probability , then
At this level, if there are categories, then
This notation separates the number of categories from the sample size .
Use the same formula and the same p-value or critical-value decision rule. Only upper-tailed tests at the usual , and levels are required. Keep the context clear: rejecting shows that the stated model is not a satisfactory fit. It does not identify the correct alternative model.
When expected frequencies are small, it may be better to combine defensibly related categories or use an exact or simulation-based method. Yates's continuity correction is sometimes used with small two-by-two tables because a continuous chi-squared distribution is approximating discrete counts. However, it can be conservative and is not universally preferred. The real issue is whether the approximation is adequate, not simply whether a correction button exists.
A two-sample t-test compares two population means when the population variances are unknown. At this level, the two samples are unpaired, and the measured variable in each population is assumed to have a normal distribution.
Write and for the two population means, each with the units of the measured variable. Typical hypotheses are
and one of
Technology carries out the test. In the examination setting, assume that the two population variances are equal and use the pooled two-sample t-test. The samples must remain independent. A before-and-after study involving the same individuals would be paired, so it is not this SL procedure.
Calculator output includes a t-statistic and a p-value. Write for the dimensionless t-test statistic. Match the p-value to the correct one-tailed or two-tailed alternative, compare it with , then interpret the result using the two population means. Don’t replace “population means” with “sample means” in the conclusion. The sample means provide the evidence; the population means are the subject of the claim.
The normality condition matters because the reference t-distribution uses a model for normally distributed underlying variables. In fields such as psychology, strongly non-normal measurements or ordinal scores may lead to a rank-based procedure such as the Mann-Whitney U test. This test relies less directly on a normal population model, but choosing it changes what is being compared and does not automatically make a study reliable.
Hypothesis tests are widely used with field data in biology, environmental studies, psychology, health science and geography. The calculation may be routine, but the quality of the conclusion still depends on sampling, measurement, independence and whether the selected model suits the data.
4.18
CRITICAL REGIONS, DISTRIBUTION-BASED TESTS AND ERRORS
A test statistic gives a numerical summary of the sample evidence. Its distribution is known or modelled under . The critical region contains the test-statistic values that lead to rejection of , while a critical value forms the boundary between this rejection region and the values that do not lead to rejection.
For a continuous distribution, the critical region has probability under . In a one-tailed test, all of this area lies in one tail. A two-tailed test normally splits it between the two tails. Use the alternative hypothesis to decide where the region should go.

A result is in the critical region exactly when its p-value satisfies . There is no need to calculate critical regions for t-tests here; use the technological output and interpret it.
When the population is normally distributed and its standard deviation is known, use the normal distribution to test the mean. The standardized statistic is
The denominator gives the standard deviation of the sampling distribution of .
Use to choose the correct lower-tail, upper-tail or two-tail probability. The test assumes a normal population model. A small p-value shows inconsistency with the specified null model; it does not prove that every other model is correct.
If is unknown, use the t-distribution regardless of sample size. A one-sample t-test tests a population mean by estimating the unknown population standard deviation from one sample. Technology carries out the calculation, after which the p-value is interpreted in the usual way.
In a matched-pairs design, observations form meaningful pairs. These could be two measurements from the same individual or measurements from deliberately matched individuals. Convert each pair into a difference. If is the difference for pair , where has the units of the measured variable, test the population mean difference with a one-sample t-test. Pairing is handled as a single-sample technique, not as an independent two-sample test.
A binomial hypothesis test is an exact test of a population success probability. It requires a fixed number of independent trials, two outcomes and a constant success probability.
Let
If the claimed probability is , where is a dimensionless hypothesized success probability, then .
Only one-tailed binomial tests are required. For an observed number of successes , where is a dimensionless observed count:
Since is discrete, the probability of a critical region usually cannot equal exactly. Choose the largest tail region whose probability under stays below the stated significance level. Push the boundary inward as far as possible without letting the Type I error probability reach or exceed the permitted level.
A Poisson hypothesis test is an exact one-tailed test for the mean number of independent events in a fixed interval under a Poisson model. Write
In examinations, the data are supplied.
For , where is the hypothesized mean number of events per interval, use the relevant cumulative probability under . For an upper-tailed claim, find the probability of the observed total or more. For a lower-tailed claim, use the probability of the observed total or fewer. As in a binomial test, choose a discrete critical region that maximizes its probability while keeping it below .
When several equal intervals are combined, their total count is also Poisson. Under , the mean of this total equals the number of intervals multiplied by . Keep the interval attached to the parameter when interpreting it: a mean of events per hour is not interchangeable with a mean per day.
The population product moment correlation coefficient, written , is a dimensionless parameter measuring the direction and strength of linear association in a population. To test for the presence of a linear association, use
against the one-tailed or two-tailed alternative that matches the claim. The paired variables are assumed to follow a bivariate normal distribution, so their joint population distribution is modelled by a two-variable normal distribution.
Technology calculates the test result from the supplied bivariate data. The sample product moment correlation coefficient is , where is a dimensionless measure of linear association in the sample. Its sign and size describe the sample; the hypothesis test concerns the population parameter .
Rejecting provides evidence of non-zero linear correlation, not causation. The association may instead reflect a lurking variable, reverse direction or the study design. Failing to reject doesn’t prove that no relationship exists either. A relationship could be weak, non-linear or obscured by limited data.
A hypothesis-test decision can go wrong in two different ways.
A Type I error occurs when a true null hypothesis is rejected. Its probability is
A Type II error occurs when a false null hypothesis is not rejected. Its probability is written , where is a dimensionless probability. Unlike , it must be calculated for a specified alternative parameter value. There is no single value of covering every possible alternative.
The power of a test is the probability that the test correctly rejects at a specified alternative parameter value:
For a normal mean with known variance, first calculate an observation or sample-mean critical boundary from the distribution under . Then, using the distribution under the stated alternative, find the probability of falling outside the rejection region. The probability inside the non-rejection region under that alternative is .

The same reasoning applies to binomial and Poisson models, using cumulative probabilities. First find the integer-valued critical region under . Then use the alternative success probability or alternative Poisson mean to calculate the probability of landing outside that region. Only one-tailed discrete cases are required.
If the sample size and model stay unchanged, reducing generally makes rejection harder and increases . Increasing the sample size can reduce both error probabilities because the sampling distributions become more concentrated. The consequences determine which error needs greater protection. A false alarm may be especially serious when an intervention is costly or harmful, whereas a missed effect may matter more if failing to act creates substantial risk.
The two-distribution diagram shows how both the decision boundary and the true parameter value affect these errors.
A significant result indicates that the data would be unusually extreme under a particular null model. It does not show that the conclusion is certainly true. Tests focus on selected population parameters and may leave other scientifically important features unexamined. A test of a mean does not establish the shape of a distribution, while a test of correlation does not establish a causal mechanism.
This limitation matters particularly in field studies across the sciences and human sciences. Mathematical evidence contributes to a knowledge claim, but the confidence it deserves also depends on the study design, validity of measurements, plausibility of assumptions and costs of the two error types.