Find critical regions, test a population mean with z- and t-tests (including matched pairs), test a proportion and a Poisson mean, test ρ = 0 with technology, and calculate the probabilities of Type I and Type II errors.
Each is in the Maths AI glossary, with every other term in the subject.
The set of values of the test statistic for which the null hypothesis is not rejected; it contains every possible value outside the critical region.
The probability, assuming the null hypothesis is true, that the test statistic falls in the critical region; for a discrete test it is usually less than the nominal significance level.
A hypothesis test for a population proportion , in which the number of successes in independent trials is modelled by
With a free account, Augment remembers where you stopped and what you have practiced.
A joint distribution of two random variables in which each variable is normally distributed and, for any value of one, the other is normally distributed with a mean that depends linearly on it.
The set of values of the test statistic for which the null hypothesis is rejected at a given significance level.
A statement, fixed before the data are collected, of which observed values will lead to rejecting the null hypothesis and which will not.
Data in which each value in one sample is linked to exactly one value in the other, because both come from the same individual or from two individuals deliberately matched on relevant characteristics.
A hypothesis test for the mean of a normal population with unknown standard deviation, using the statistic , which follows the t-distribution with degrees of freedom when the null hypothesis is true.
A one-sample t-test applied to the differences within matched pairs, testing whether the population mean difference equals zero.
A hypothesis test for the mean of a Poisson distribution, in which the observed count in a stated interval is modelled by when the null hypothesis is true.
The product-moment correlation coefficient between two variables in the whole population, written ; the sample correlation coefficient is its estimate.
The probability of rejecting the null hypothesis when it is false, for a specified value of the parameter under the alternative hypothesis; it equals .
Rejecting the null hypothesis when it is true.
Not rejecting (accepting) the null hypothesis when it is false.
A hypothesis test for the mean of a normal population with known standard deviation , using the statistic , which follows the standard normal distribution when the null hypothesis is true.
Find the critical value and critical region of a test, for a normal sample mean and for one-tailed binomial and Poisson tests.
Perform a z-test for the mean of a normal population when the population standard deviation is known.
Perform a one-sample t-test for the mean of a normal population when the population standard deviation is unknown, from raw data or from summary statistics.
Perform a paired t-test on matched pairs by treating the differences as a single sample.
Perform a one-tailed binomial test for a population proportion and a one-tailed Poisson test for a population mean.
Use technology to test the hypothesis that the population correlation coefficient is 0, and state the assumptions the test needs.
Define Type I and Type II errors and calculate their probabilities for normal, binomial and Poisson tests.
Interpret the result of a test, and the risks of each kind of error, in context.
Subtopic 4.11, Hypothesis testing, built the logic of a test: state a null hypothesis, measure how far a sample is from what it predicts, and reject it only when a result that extreme would be rare. That logic applies to any population parameter. A food producer may want to know whether the mean mass of its loaves has fallen, a clinic whether a new drug adds hours of sleep, a quality inspector whether the proportion of faulty items has risen, a call centre whether complaints have become less frequent, and a biologist whether two measurements are correlated in the population at all.
Each of these questions uses a different distribution to calculate probabilities under the null hypothesis: the normal distribution or the t-distribution for a mean, the binomial distribution for a proportion, the Poisson distribution for a rate. The decision can be made with a p-value or with a critical region fixed in advance, and every decision carries a risk of being wrong in one of two ways. Measuring those two risks, and trading one against the other, turns a single test into a decision procedure whose reliability can be stated.
Every test of a population parameter follows the five steps from subtopic 4.11: state the null hypothesis and the alternative hypothesis about a population parameter; choose the significance level ; find the test statistic and the p-value (or the critical region); compare; and conclude in context. Three points from that framework matter throughout.
is always an equality about a population parameter: , ,
The idea of a null hypothesis goes back to an experiment R. A. Fisher described in The Design of Experiments (1935). The phycologist Muriel Bristol claimed she could taste whether milk or tea had been poured into a cup first. She was given eight cups in random order, four of each kind, and asked to pick out the four milk-first cups. The null hypothesis is that she cannot tell the difference and is choosing at random.
There are ways to choose 4 cups from 8, and only one of them is completely correct. If she is guessing, every choice is equally likely.
Getting exactly 3 of the 4 milk-first cups right can happen in ways, so
Source: R. A. Fisher, The Design of Experiments (1935); Wikipedia article "Lady tasting tea", retrieved 2026.
A p-value measures how extreme one particular sample is. A different approach fixes, before any data are collected, exactly which values of the test statistic will lead to rejection. The test then becomes a rule that anyone can apply by measuring the statistic and comparing it with a boundary set in advance.
The boundary of the critical region is the critical value (or two critical values for a two-tailed test). Every other value of the statistic lies in the acceptance region.
"Acceptance" is a traditional name. A statistic in the acceptance region means only that there is not enough evidence to reject , never that has been shown to be true.
When a sample of size is taken from a normal population with mean and known standard deviation , the sample mean has the sampling distribution from subtopic 4.15.
Under , the distribution is centred at
Alternative hypothesis | Critical region | Area in each tail |
|---|---|---|
, where |
For a continuous statistic the boundary itself has probability zero, so it does not matter whether the critical region is written with or . The two methods of deciding always agree: lies in the critical region exactly when the p-value is less than , because the tail beyond
A two-tailed critical region splits between the two tails. The normal curve of for a machine part with target length 120 mm shows the result at the 1% level: each tail beyond a critical value has area 0.005, and the acceptance region in the middle holds the remaining 99%.

A count, such as the number of clicks on a link or the number of errors in an hour, can take only whole-number values. Its probabilities jump from one value to the next, so there is usually no critical region whose probability under is exactly . The rule is to choose the largest critical region whose probability is still less than , which is the region that comes as close as possible to without going over it.
To find the boundary, list the cumulative probabilities near the tail and write down the two values either side of . For an upper-tail test the region is , where
and for a lower-tail test the region is , where
Feature | Continuous statistic () | Discrete statistic (binomial, Poisson) |
|---|---|---|
Probability of the critical region under | exactly | the largest value less than |
A test for a single population mean compares a sample mean with a claimed value . How far apart they are only means something when measured against the standard error, and that is where the two tests differ: the standard error
The choice depends only on whether the population standard deviation is known.
Situation | Test | Distribution of the statistic under |
|---|---|---|
known (given, or known from long experience) | z-test | standard normal, |
The rule holds whatever the sample size. A sample of 200 with unknown still uses a t-test; a sample of 5 with known still uses a z-test. For large samples the two tests give almost the same p-value, because the t-distribution approaches the normal distribution as grows, but the correct test is the one that matches what is known. Both tests assume the population is normally distributed (or, for a large sample, that the central limit theorem makes approximately normal).
If is true and is known, standardising the sample mean gives a statistic with a fixed, known distribution.
The numerator is how far the sample mean is from the claimed mean; the denominator is how far sample means typically fall from by chance. A value of means that the sample mean is 2.26 standard errors below the claimed mean, a distance that random sampling produces rarely.
The p-value is the tail area beyond in the direction of : for
Choose the one-sample z-test: on a TI-84 Plus CE, STAT → TESTS → Z-Test; on a Casio fx-CG50, MENU → Statistics → TEST → Z → 1-SMPL.
Choose data input (a list of raw values) or statistics input ( and ).
Enter ,
The written solution defines , states the hypotheses, names the test ("z-test, since is known") and gives , the p-value, the comparison with and the conclusion in context. Calculator syntax such as "Z-Test(500, 4.2, 498.1, 25)" is not mathematical notation, so it is never written in place of these.
When is unknown it is replaced by the unbiased estimate calculated from the sample. The resulting statistic has the same structure as .
Because varies from sample to sample, varies more than would: a sample that happens to have a small
The p-value is found with the GDC's t-test, from a list of data or from , and . Critical regions are not found for t-tests: the decision is made with the p-value.
Enter the data in a list, or have , and ready.
Choose the one-sample t-test: on a TI-84 Plus CE, STAT → TESTS → T-Test; on a Casio fx-CG50, MENU → Statistics → TEST → t → 1-SMPL.
Enter
The GDC's standard deviation labelled "Sx" or "sx" is , and "σx" is . A t-test entered with statistics must use
Data are often summarised by only , and . The unbiased estimates come first, using the methods of subtopic 4.14.
The second formula follows from
Both tests for a mean rest on three assumptions: the sample is random, the observations are independent, and the population is normal (or the sample is large enough for to be approximately normal). A volunteer sample from one class, or one shop's customers on one morning, may not represent the population at all, and then no test on the data can say anything reliable about the population mean.
A two-tailed test at significance level and a confidence interval at level give the same answer, as subtopic 4.16 shows:
Many studies measure the same individuals twice: blood pressure before and after a treatment, reaction time before and after training, the yield of two varieties grown side by side on the same plots. The two sets of measurements are not independent samples, because each pair shares the same person, plot or object.
Individuals differ a great deal from one another. In a reaction-time study, one person may be 50 ms slower than another whatever the conditions. Comparing two group means mixes this person-to-person variation into the comparison and can hide a real effect. Taking the difference within each pair removes everything the two measurements share, leaving only the change.
For each pair, calculate (the order chosen to match the claim). The differences form a single sample, and the question becomes whether their population mean is zero. A one-sample t-test on the differences answers it.
where is the number of pairs and is the unbiased estimate of the standard deviation of the differences.
The test assumes the pairs are a random sample and the differences are normally distributed; the two original variables need not be.
In 1905 the physicians A. R. Cushny and A. R. Peebles recorded the extra hours of sleep, compared with a night without medication, that 10 patients gained from each of two sleep-inducing drugs. Every patient took both drugs, so the data are matched pairs. "Student" used the data in his 1908 paper introducing the t-distribution, and they remain the textbook example of a paired test.
Patient | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
Drug 1 (extra hours) | 0.7 | −1.6 | −0.2 | −1.2 | −0.1 | 3.4 | 3.7 | 0.8 | 0.0 | 2.0 |
Drug 2 (extra hours) | 1.9 | 0.8 | 1.1 | 0.1 | −0.1 | 4.4 | 5.5 | 1.6 | 4.6 | 3.4 |
= drug 2 − drug 1 | 1.2 | 2.4 | 1.3 | 1.3 | 0.0 | 1.0 | 1.8 | 0.8 | 4.6 | 1.4 |
Source: Cushny and Peebles (1905), as used by Student, Biometrika (1908); R dataset "sleep" (Rdatasets), retrieved 2026.
The table shows two things at once. The patients vary widely: patient 7 gains 3.7 hours on drug 1 while patient 2 loses 1.6 hours. Yet in every single pair except patient 5, drug 2 does better. The differences are far more consistent than the raw values, and that consistency is what the paired test measures.
Treating the same numbers as two independent samples shows why pairing matters. A pooled two-sample t-test (subtopic 4.11) compares the group means 0.75 and 2.33 hours against the large spread within each group (standard deviations 1.79 and 2.00 hours) and gives a two-tailed p-value of 0.0792, not significant even at 5%. The paired test removes the patient-to-patient variation, and the same difference in means becomes highly significant. The sample correlation between the two drugs' results is 0.795: patients who sleep well on one drug tend to sleep well on the other, which is exactly the shared variation that subtraction cancels.
The result still needs care in interpretation. Ten patients are a very small sample, the paper does not describe how they were chosen, and the differences contain one large value (4.6 hours for patient 9). The conclusion is about these drugs in patients like these, and a modern trial would use far more patients, random allocation of the order in which the drugs are taken, and a placebo.
YouTubeThe Khan Academy example shows how to recognise paired data from the design of a study and how the hypotheses change to a single mean difference.
Athlete | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
Before | 312 | 287 | 345 | 298 | 331 | 276 | 305 | 320 |
After | 298 | 281 | 330 | 301 | 315 | 270 | 296 | 309 |
Reaction times of eight athletes before and after a training programme, in milliseconds (hypothetical data).
A claim about a population proportion , such as "85% of these seeds germinate" or "20% of visitors click the link", can be tested by counting successes in a sample of independent trials. If the claim is true, the number of successes follows a binomial distribution with the claimed proportion.
The conditions are those of the binomial model from subtopic 4.8: a fixed number of independent trials, each with the same probability of success. Binomial tests are treated as one-tailed, so is either or
The p-value is the probability, under , of a count at least as extreme as the one observed, in the direction of .
Observed count | p-value | |
|---|---|---|
The observed value is included in the tail, because "at least as extreme" includes the value itself. On most GDCs the binomial cumulative probability function gives only, so an upper tail is entered as
A website shows a "subscribe" link to its visitors, and historically 20% of visitors click it. A redesign is meant to increase this. Under , the number of clicks from 50 visitors is

14 | 15 | 16 | 17 | 18 | |
|---|---|---|---|---|---|
0.1106 | 0.0607 | 0.0308 | 0.0144 | 0.0063 |
Upper-tail probabilities of , calculated with technology.
Counts of events in an interval of time or space (calls per hour, faults per kilometre, typing errors per page) are modelled by the Poisson distribution from subtopic 4.17 when the events occur independently and at a uniform average rate. A test asks whether the mean rate has changed.
The rate in the claim is often given per unit (per minute, per day), while the count is observed over a longer interval. The mean is scaled to the interval actually observed before any probability is calculated: 3.2 complaints a day observed for 5 days gives . Like binomial tests, Poisson tests are treated as one-tailed, and the p-value and critical region rules are the same: include the observed value in the tail, and keep the probability of the critical region below .
For an upper-tail test the same scan runs the other way. The critical region is , and each upper-tail probability is found as , because the GDC's cumulative function adds probabilities from 0 upwards. Moving up by one removes a bar from the tail and lowers its probability, so the search stops at the first
Subtopic 4.4 measured linear correlation in a sample with Pearson's product-moment correlation coefficient . Even if two variables are completely uncorrelated in the population, a small sample will almost never give exactly. The question for a test is whether the sample value of is far enough from 0 to show correlation in the population.
The test assumes the two variables have a particular joint distribution.
The null hypothesis is that there is no linear correlation in the population.
The alternative is (two-tailed, any correlation), (positive correlation) or (negative correlation), chosen from the claim. A claim such as "longer hands go with longer feet" has a direction, so it gives a one-tailed test with
The GDC calculates a t-statistic from and (with ) and its p-value. The test is found in the same place as the regression t-test.
Enter the data in one list and the data in another.
Choose the linear regression t-test: on a TI-84 Plus CE, STAT → TESTS → LinRegTTest; on a Casio fx-CG50, MENU → Statistics → TEST → t → REG.
Choose the direction of ( and
Write down , the p-value, the comparison and the conclusion. Sometimes a critical value of is given instead, and the test then compares (or for a two-tailed test) with that value, as in subtopic 4.4.
Hand length (cm) | 17.2 | 18.9 | 16.5 | 19.4 | 18.1 | 17.8 | 20.2 | 16.9 | 18.6 | 19.0 |
|---|---|---|---|---|---|---|---|---|---|---|
Foot length (cm) | 23.8 | 26.1 | 24.0 | 27.3 | 24.9 | 25.8 | 27.0 | 23.1 | 26.4 | 25.2 |
Hand and foot lengths of 10 students (hypothetical data).
The scatter diagram of the hand and foot data, with the regression line , shows the elliptical cloud of points that a bivariate normal model predicts: no curvature, no outliers, and a spread of values of similar size all along the line.
The p-value from the GDC is meaningful only when these conditions hold, and the GDC prints a p-value whether or not they do.
Both variables are random. If one variable is chosen by the experimenter (the times days at which measurements were taken, or set doses of a fertiliser), the data are not a sample from a bivariate distribution, and the test does not apply.
The data are a random sample from the population the conclusion is about, not the whole population or a hand-picked group.
The relationship is linear. measures linear correlation only; data that follow a clear curve should be modelled, not tested for
A test makes a decision from a sample, so it can be wrong. There are two ways to be wrong, and they have different causes and different consequences.
A Type I error is a false alarm: the bakery is accused of underweight loaves when the mean really is 800 g. Its probability is controlled directly by the choice of critical region, because the critical region is chosen from the distribution under .
A Type II error is a missed effect: the loaves really are lighter on average, but the sample is not extreme enough to show it. The four possible outcomes of any test fit in a two-by-two table.
is true | is false | |
|---|---|---|
Reject |
A criminal trial gives a familiar comparison. The null hypothesis is "the defendant is innocent". Convicting an innocent person is a Type I error; acquitting a guilty person is a Type II error. Legal systems that demand proof "beyond reasonable doubt" choose to make Type I errors rare, and accept more Type II errors as the cost. Medical screening uses the same ideas under the names false positive (a Type I error when is "no disease") and false negative (a Type II error).
YouTubeThe jbstatistics video draws the two sampling distributions, one under and one under a specific alternative, which is exactly the picture used to calculate error probabilities.
A Type I error happens when is true and the statistic falls in the critical region, so its probability is the probability of the critical region calculated under .
For a test on a continuous statistic such as , this equals the significance level exactly.
For a binomial or Poisson test it equals the actual significance level, the probability of the discrete critical region, which is less than . For the web server,
A Type II error happens when is false and the statistic lands in the acceptance region. " is false" does not give one distribution: if the bakery's mean is not 800 g, it could be 799 g or 790 g. The probability can only be calculated for a specified alternative value of the parameter, and it must be calculated with that value.
The method has two stages. First find the critical region using the value. Then switch to the alternative value and find the probability of the acceptance region.
The two-curve diagram for the bakery shows both errors together. The solid curve is the distribution of if ; the dark tail to the left of 795.07 is the Type I error probability, 0.05. The dashed curve is the distribution if in fact ; the light area to the right of 795.07, where the test fails to reject, is the Type II error probability.

For a discrete test the method is the same, with sums of probabilities in place of areas. The critical region stays fixed, because it was chosen under ; only the distribution used to find the probability of the acceptance region changes, to the binomial or Poisson model with the true parameter.
A Poisson test is handled in the same way, after scaling the true rate to the interval of the test. The acceptance region of the web-server test is , the complement of the critical region .
Sometimes the critical region is not derived from a significance level but stated as a practical rule, and the error probabilities measure how good the rule is. A bird survey identifies two similar species, A and B, by wingspan. Wingspans of species A are distributed cm and those of species B cm. The surveyors classify a bird as species B if its wingspan is greater than 32.5 cm.
The probability of correctly detecting a false null hypothesis has its own name.
The two error probabilities move in opposite directions. For a fixed sample, making Type I errors rarer (a smaller , a critical region pushed further into the tail) widens the acceptance region and so makes Type II errors more likely. The only way to reduce both at once is to collect more information: a larger sample shrinks the standard error
Change | Effect on | Effect on |
|---|---|---|
Smaller significance level | decreases | increases |
Larger sample size | unchanged (fixed at ) | decreases |
True value further from |
How small should be depends on the cost of each error. When a false discovery would be very costly, scientists choose a tiny significance level. Particle physicists announce a discovery only at "5 sigma", a result five standard deviations from what the null hypothesis predicts. When the ATLAS and CMS experiments at CERN announced the Higgs boson on 4 July 2012, each reported a local significance of 5 sigma, meaning a probability of less than one in three million of a result at least as strong arising by chance alone; ATLAS later reported 5.9 sigma, about 1 in 588 million.
Source: Wikipedia article "Higgs boson", retrieved 2026.
Further hypothesis testing appears on Paper 1 as short structured questions of 4–8 marks, on Paper 2 inside longer contextual questions, and on Paper 3 as parts of an extended investigation (often combined with a goodness of fit test, a Poisson model or a regression model). The command terms are state (the hypotheses, the distribution under , why a test is one-tailed, the type of error), find (a p-value, a critical value or region, an error probability), perform the test (which requires all of hypotheses, the statistic or p-value, the comparison and a conclusion), determine, justify and interpret.
Recurring shapes include: a binomial or Poisson test with the rate scaled to the interval; a critical region found by quoting the cumulative probabilities either side of , followed by "hence write down the probability of a Type I error"; a decision rule given in words with Type I and Type II probabilities under a stated true value; a z-test critical region for followed by a Type II error probability; a t-test from data or from and
The markscheme pattern in that question applies to every test of a mean, a proportion, a Poisson rate or a correlation: the parameter and its value in each hypothesis, the distribution named with its parameters, the probability statement for the critical value, an R1 for the comparison and an A1 for the conclusion in context that is never awarded without the R1.
Common ways marks are lost: writing as an inequality or in terms of , or the sample; leaving out part of "perform the test"; using a two-tailed p-value for a one-tailed alternative (or the reverse); using instead of
A fire alarm system is designed to test : there is no fire. Describe, in context, a Type I error and a Type II error, and state which is more serious, with a reason. [3]
The lengths of a species of lizard are normally distributed with standard deviation 2.5 cm. A published mean length is 50 cm. A random sample of 12 lizards from an island has mean length 51.4 cm. Test, at the 5% significance level, whether the mean length on the island differs from 50 cm. [5]
A drink is meant to contain a mean of 4.5 g of sugar per 100 ml. Seven randomly chosen bottles contain 4.9, 4.6, 5.2, 4.4, 4.8, 5.0 and 4.7 g per 100 ml. Assuming the amounts are normally distributed, perform a test at the 5% significance level of whether the mean is greater than 4.5 g. [5]
Six people's grip strengths, in kg, are measured with the right hand and the left hand.
Person | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
Right | 31.2 | 28.5 | 35.0 | 26.8 | 30.1 | 33.4 |
Left | 29.8 | 28.9 | 33.1 | 25.0 | 29.5 | 31.2 |
(a) Explain why a paired test is appropriate. [1] (b) Test, at the 5% significance level, whether mean grip strength differs between the two hands. [5]
A test is carried out of against
Type I: the alarm sounds when there is no fire (false alarm). Type II: there is a fire but the alarm does not sound. The Type II error is more serious, because people may be harmed by an undetected fire, while a false alarm only causes inconvenience.
,
A critical region is the set of values of the test statistic for which is rejected; for a continuous statistic its probability under is , and for a discrete statistic it is the largest region with probability less than
I can write and for any test as statements about a population parameter (,
42 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
An ecologist, Ingrid, studies a species of mushroom in a beech forest. She models the number of mushrooms in a region of area m² by a Poisson distribution with mean .
She counts the mushrooms in square sample plots of area 8 m².
State two reasons why a Poisson distribution might be a suitable model for the number of mushrooms in a plot.
2 marks
any two of:
the mushrooms grow randomly / independently of each other R1
the mean number of mushrooms per square metre is constant across the forest R1
the mean and the variance of the counts are (approximately) equal
Note: Do not accept "the events are random" without reference to the context for both marks; award R1R0.
[2 marks]
Find the probability that a plot contains exactly 4 mushrooms.
3 marks
(A1)
,
Find the probability that a plot contains fewer than 3 mushrooms.
2 marks
(M1)
A1
[2 marks]
Ingrid inspects 4 plots in different parts of the forest. Find the probability that every one of these plots contains at least one mushroom.
3 marks
After a period of heavy rain, Ingrid believes that the mean number of mushrooms per square metre has increased. She will count the mushrooms in one 8 m² plot and test her belief at the 5% significance level.
Write down the null and alternative hypotheses for this test.
2 marks
: (the mean number of mushrooms in a plot is 2.8) A1
Find the critical region for this test.
3 marks
(> 0.05) (M1)
After the rain, the mean number of mushrooms is actually 0.8 per square metre. Find the probability that Ingrid's test makes a Type II error.
3 marks
(A1)
Type II error: not in the critical region,
A detector in a school laboratory records background radiation. In the absence of any radioactive source, the number of counts recorded follows a Poisson distribution with a mean of 0.4 counts per second.
Find the probability that no counts are recorded in a 5-second interval.
2 marks
Find the length of time, in seconds, for which the probability of recording at least one count is 0.9.
3 marks
A sample of rock is placed next to the detector. The rock emits radiation that adds an independent 1.1 counts per second, on average, to the background count.
Find the probability that more than 20 counts are recorded in a 10-second interval.
3 marks
Teresa uses the detector to decide whether a sample is radioactive. She records the number of counts, , in 10 seconds with the sample in place. Her hypotheses are
A manufacturer of phone chargers claims that 5% of its chargers are faulty. A retailer, Arjun, suspects that the proportion is higher. He tests a random sample of 60 chargers and finds that 7 are faulty.
Arjun carries out a hypothesis test at the 5% significance level.
Write down the null and alternative hypotheses.
1 mark
Find the -value for this test.
3 marks
State the conclusion of the test. Give a reason for your answer.
2 marks
Write down the critical region for this test.
1 mark
The entries of the mathematics: applications and interpretation formula booklet that 4.18 uses. Each opens in the explained booklet.
says what the investigator suspects: or for a one-tailed test, for a two-tailed test. The direction comes from the claim, decided before the data are seen.
Hypotheses describe the population. A sample mean or a sample correlation is already known exactly, so there is nothing to test about it.
in the lower tail |
, where | in the upper tail |
or | in each tail |
(b) Under , , so the standard error is .
The critical value satisfies . Using the GDC's inverse normal function with area 0.05, mean 800 and standard deviation 3:
The critical region is g (to 2 decimal places).
(c) , so lies in the critical region. Reject : there is evidence at the 5% level that the mean mass of the loaves is less than 800 g.
As a check, the p-value is , the same decision.
Under , , with standard error
The test is two-tailed, so each tail has area .
The critical region is or (mm). The two values are symmetric about 120 because the normal curve is symmetric.
Tails | one or two | one only |
How the boundary is found | inverse normal | scanning cumulative probabilities |
Writing the boundary | and equivalent | and equivalent; is different |
one-sample t-test |
t-distribution with |
Read off and the p-value.
The population standard deviation is known, so a z-test is used.
From the GDC (z-test, , , , , ): p-value .
, so reject . There is evidence at the 5% level that the mean volume of juice in the bottles is less than 500 ml.
At the 1% level the same data would not lead to rejection, since .
Read off , the p-value, and (which is ).
is unknown, so a one-sample t-test is used, with .
From the GDC with the data in a list: , , , p-value .
, so reject . There is evidence at the 5% level that the mean battery lifetime is less than 20 hours, so the manufacturer's claim appears to overstate it.
(a) seconds.
The unbiased estimate of the variance is (3 s.f.), so
(b) ,
is unknown, so a one-sample t-test with is used. From the GDC with ,
, so reject . There is evidence at the 5% level that the mean lap time differs from 73 seconds; the sample suggests it is longer.
(c) , so at the 1% level would not be rejected.
The data are matched pairs (the same 10 patients took both drugs), so a paired t-test is used on the differences, with .
Differences: 1.2, 2.4, 1.3, 1.3, 0.0, 1.0, 1.8, 0.8, 4.6, 1.4
From the GDC (one-sample t-test on the list of differences, ): , , , p-value .
, so reject . There is strong evidence that the two drugs differ in mean extra sleep; on average drug 2 gave about 1.58 hours more than drug 1.
,
Differences: 14, 6, 15, −3, 16, 6, 9, 11
From the GDC (one-sample t-test on the differences, , ): , , , p-value .
, so reject . There is evidence at the 5% level that the programme reduces mean reaction time.
(c) The differences in reaction time are normally distributed (and the athletes are a random sample of those who could take the programme).
A two-sample test on the same 16 numbers, ignoring the pairing, gives a p-value of 0.195, because the differences between athletes (276 ms to 345 ms) swamp the training effect.
large counts are evidence
small counts are evidence |
(b) Let be the number of the 40 seeds that germinate. Under , .
(c) , so do not reject . There is insufficient evidence at the 5% level that the germination rate is less than 85%.
(d) The critical region is for the largest with .
The critical region is , with actual significance level 0.0299. The gardener's 30 lies just outside it, consistent with part (c).
(a) Find the critical region at the 5% significance level. (b) Write down the actual significance level. (c) Of the 50 visitors, 14 click the link. State the conclusion.
(a) Let be the number of clicks. Under , .
The critical region is .
(b) The actual significance level is .
(c) 14 is not in the critical region, so do not reject . There is insufficient evidence at the 5% level that the redesign has increased the proportion of visitors who click.
(The hypotheses can also be written per day: , .)
Let be the number of complaints in 5 days. Under , .
, so reject . There is evidence at the 5% level that the mean number of complaints has decreased since the training scheme.
The test cannot show that the training caused the fall; other changes over the same period could explain it.
(b) , so the critical region is .
The critical region is .
(c) , the actual significance level.
Read off and the p-value.
From the GDC (linear regression t-test, ): , p-value .
, so reject . There is evidence at the 5% level of positive correlation between hand length and foot length in the population of students.
With a given critical value of 0.549 for at the 5% level (one-tailed), the comparison gives the same decision.
The data are bivariate normal: each variable roughly normal, the scatter diagram an elliptical cloud without outliers.
The day numbers 1 to 12 were chosen by the researcher, not observed at random, so "day" is not a random variable. The data are not a random sample from a bivariate normal distribution, which the test requires. (In addition, the spread of a disease usually follows a curve rather than a straight line, so a linear correlation coefficient is not the right measure.)
The size of has no bearing on whether the test can be used; only its assumptions decide that.
Type I error |
correct decision |
Do not reject | correct decision | Type II error |
(a) Write down the probability of a Type I error. (b) The true mean mass is in fact 793 g. Find the probability of a Type II error.
(a) The statistic is continuous, so .
(b) A Type II error means not rejecting , that is , when .
With ,
So even with a true mean 7 g below the stated value, the test fails to detect the shortfall about one time in four.
Rounding the critical value first changes the answer: 795.07 gives 0.245 and 795 gives 0.252. Keep the unrounded critical value in the GDC.
Find the probability of a Type II error if the redesign has actually raised the click rate to (a) 30%, (b) 35%. Comment on the results.
A Type II error means (not in the critical region) when is no longer 0.2.
(a) With , .
(b) With , .
A real improvement from 20% to 30% would be missed more often than not with only 50 visitors. The further the true proportion is from , the smaller the chance of a Type II error, because the distribution under the true value moves further from the acceptance region. A larger sample would reduce the probability of a Type II error.
Find the probability of a Type II error.
The new mean for 4 hours is , so .
A Type II error means (not rejecting ) when .
The test misses an increase from 2.5 to 3.5 errors per hour about two times in three. Counting over a longer period would make such an increase easier to detect.
(b) A Type II error is classifying a species B bird as species A: wingspan when .
(c) A bird is misclassified if it is species A and has a Type I error, or species B and has a Type II error.
About 6% of birds caught would be misclassified. Moving the boundary lower would catch more species B birds but misclassify more species A birds.
unchanged |
decreases |
where 1.6449 is the value with . A Type II error occurs when although , so the requirement is
where . Substituting :
Checking with the GDC: gives and gives .
The least sample size is 26 loaves.
A1
(b) A1A1
(A1 for normal with mean 340, A1 for variance or standard deviation .)
(c) (M1)
(A1)
Critical region (accept or ) A1
(d) , so is in the critical region R1
Reject : there is evidence at the 5% level that the jars are underfilled on average A1
(Do not award R0A1. Accept a correct p-value comparison, 0.0221 < 0.05, for R1.)
(e) 0.05 A1
(f) (M1)
(M1)
A1
Total [13]
A hospital ward has had a mean of 1.8 patient falls a week. After new floor coverings are fitted, there are 11 falls in 10 weeks. (a) Find the p-value for a test of whether the mean number of falls has decreased. [3] (b) State the conclusion at the 5% level. [2] (c) Find the critical region for this test. [3]
For a random sample of 12 pairs from a bivariate normal distribution, . The critical value of for a two-tailed test at the 5% level with 12 pairs is 0.576. State the hypotheses and the conclusion of a test for correlation. [4]
Weights of a product are normally distributed with standard deviation 5 g. A test of against uses a random sample of 25 at the 5% significance level. (a) Find the critical region. [3] (b) Find the probability of a Type II error if . [2] (c) Find the value of for which the probability of a Type II error is 0.2. [3]
A student records the temperature of a cooling drink every 2 minutes for 20 minutes and finds between time and temperature. She wants to test . Give two reasons why this test is not appropriate. [2]
, ; one-sample t-test ( unknown), : , , , p-value . Reject : evidence that the mean sugar content is greater than 4.5 g per 100 ml.
(a) The same person is measured with both hands, so the values are matched pairs. (b) = right − left: 1.4, −0.4, 1.9, 1.8, 0.6, 2.2. , ; paired t-test, : , , , p-value . Reject : evidence that mean grip strength differs between hands (right stronger in this sample).
. (a) , ; critical region . (b) 0.0481. (c) .
(a) , (10 weeks); ; p-value . (b) : do not reject ; insufficient evidence that the mean number of falls has decreased. (c) , ; critical region .
, , where is the population correlation coefficient. , so do not reject : insufficient evidence at the 5% level of correlation in the population.
(a) ; gives ; critical region (61.645). (b) . (c) gives , so (62.486).
Any two: time is chosen by the student, not a random variable; the data are not a random sample from a bivariate normal distribution; cooling follows a curve (exponential decay), so a linear correlation test is not suitable; the readings are not independent of one another.
For a mean of a normal population, use a z-test when is known and a one-sample t-test (with and ) when it is unknown, whatever the sample size; under , .
Matched pairs are tested with a paired t-test: a one-sample t-test on the differences, , which removes the variation between individuals.
A binomial test uses and a Poisson test uses with the mean scaled to the interval; both are one-tailed, and the p-value includes the observed value.
The test of is done with the GDC's linear regression t-test; it needs both variables random, a random sample, a linear relationship and bivariate normal data.
A Type I error is rejecting a true ; its probability is (continuous) or the actual significance level (discrete).
A Type II error is not rejecting a false ; its probability is found with the critical region from and the distribution under the specified true value.
Power ; for a fixed sample, lowering raises , while a larger sample lowers it.
I can find a one-tailed or two-tailed critical region for with the inverse normal function, using the standard error .
I can find a binomial or Poisson critical region and quote the two cumulative probabilities either side of .
I can explain why a discrete critical region has probability less than , and give its actual significance level.
I can decide between a z-test and a t-test from whether is known.
I can perform a one-sample t-test from raw data and from , and .
I can recognise matched pairs and perform a paired t-test on the differences, with the direction of subtraction matching .
I can scale a Poisson rate to the interval observed before testing.
I can test with the GDC, and explain when the test is not appropriate.
I can define Type I and Type II errors and describe them in context.
I can calculate for normal, binomial and Poisson tests.
I can calculate for a given true value of the parameter, without re-using the value.
I can find a power, and explain how the significance level and sample size affect the two error probabilities.
I can write a conclusion in context that says "there is (insufficient) evidence that…", never that a hypothesis is proved.
A1
[3 marks]
(M1)
A1
[3 marks]
Note: Accept hypotheses in terms of the mean per square metre, 0.35. Award A0A1 if the hypotheses are not about a population mean (e.g. use of ).
[2 marks]
critical region is A1
Note: Award (M1) for any attempt to find upper-tail probabilities of . Both probabilities must be seen for the first A1.
[3 marks]
A1
Note: Follow through from their critical region in part (f).
[3 marks]
She rejects if .
(i) Find the probability that Teresa makes a Type I error.
(ii) Find the probability that Teresa makes a Type II error when she tests the rock in part (c).
6 marks
Suggest how Teresa could reduce the probabilities of both types of error.
1 mark