Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 206 1 d Solution Created 2026-10-03 Updated 2026-10-06
In the larger normal linear model, add laboratory intercept offsets to the mean in part (a). The nested-model F-test comparesThe smaller and larger models fit four and six mean coefficients respectively. Under , independent Gaussian errors with common variance give independent quantities and . Thus the test statistic isThe p-value is the upper-tail probability . At the conventional 5% significance level, do not reject the common-intercept restriction. Prefer the simpler model
tumour1 on this comparison. This does not prove the intercepts coincide, nor address the curvature identified in part (b); the exact F-test calibration assumes the underlying error and mean assumptions. The one-decimal RSS values give when subtracted, whereas the table's difference uses unrounded values. Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 5J a Solution Created 2026-09-24 Updated 2026-10-05
Use the usual normal linear model , with fixed full-column-rank design , , and . These Gaussian distribution and constant-variance hypotheses are necessary for an exact finite-sample Student's t-test. Put and . The vector of ordinary least squares estimators satisfiesWith , the test statistic isUnder the null hypothesis, has Student's t-distribution with degrees of freedom. A two-sided level- Student's t-test rejects when . If the intended test is one-sided against , it rejects when ; the statistical power conclusion below holds for either convention.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 2 d Solution Created 2026-10-03 Updated 2026-10-05
A second opportunity to reject raises the trial's overall Type I error above the nominal 10% in general. If and denote rejection at the first and second analyses, the overall error isThe cumulative-data test statistics are correlated, so neither 20% nor is the general answer. The latter requires independent tests, which is not the situation here.
The rejection thresholds and the stopping/continuation rule must be calibrated jointly. A prespecified group sequential design or alpha-spending function can allocate a total error budget of 10% across the analyses, using their joint null distribution. A conservative alternative planned in advance is two tests each at 5%, controlled by the Bonferroni inequality. An unplanned change to a design with a remaining error budget can be justified by the conditional error principle. Here, however, an original single-look test at 10% has no remaining conditional rejection probability after its final nonrejection. Keeping its entire original rejection region and adding a new positive-probability rejection opportunity cannot in general retain a 10% overall error rate. The two-look rule therefore needs prospective joint calibration; an already observed result cannot retrospectively create an unused error budget.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 221 1 iii Solution Created 2026-09-28 Updated 2026-10-25
For one unit write and . Since the graph makes independent of , the known distributions determine the conditional assignment lawUnder the sharp causal null hypothesis that has no effect on , delete . The D-separation criterion then gives blocks the route through , blocks the route through , and block the collider-opened detours through and , and remains a collider on routes through .
For independent units , choose a test statistic that measures residual association between and . Hold fixed and independently drawRecompute after each draw. A valid Monte Carlo conditional randomization test useswith a two-sided statistic or absolute value when appropriate.
Under the null, conditional on , the observed and its resamples are exchangeable because they have the same product law . The rank of among the values is therefore uniform after randomized tie breaking and conservative without it. ConsequentlyTaking expectations proves unconditional type I error control.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 225 2 a Solution Created 2026-09-24 Updated 2026-09-25
Use the test statisticUnder the null hypothesis, the Hilbert-space central limit theorem gives , where is centered Gaussian with covariance . If , its Karhunen–Loève expansion and the continuous mapping theorem givefor independent . Reject for above the quantile of this weighted chi-squared law; replacing the by empirical covariance eigenvalues gives a plug-in estimator of the critical value.
Under every fixed alternative , the weak law of large numbers gives , so and the test is consistent. Under a local alternative , the limit is , which describes its local power.
For the positive-direction alternative, use the same paired statistic , but reject at level only when . Its one-sided -value isBecause the observed mean difference is positive and the null Student probability distribution is symmetric, the two-sided -value is twice this upper-tail probability, consistent with the supplied and .
The two-sided value is the null-model probability of a test statistic at least as far from zero in either direction as the observation. The one-sided value uses only the direction of larger cross-fertilized heights. They are probabilities under the assumed null sampling distribution, not posterior probabilities that the null hypothesis is true.
At the reported precision, the two-sided result is on the conventional 5 percent boundary; rounding can matter for a strict numerical threshold. The one-sided result is significant at5 percent and supports a positive mean difference if that directional alternative was chosen in advance. Choosing the direction after observing the sign would not justify using the smaller one-sided probability as a prespecified test. The paired design controls shared pot conditions, while the inference still relies on the independence and probability distribution assumptions for the differences.
Define and , with . The unrestricted maximum-likelihood estimates are and . Under the null hypothesis, maximizing the normal distribution's likelihood over the remaining variance givesbecause the cross term vanishes when . At either fitted variance, the exponential factor in the likelihood function is , so it cancels in the ratio:The standardized test statistic isThe sample variance uses divisor , whereas the maximum-likelihood estimate uses divisor ; this explains the in the final expression. Under a nondegenerate normal distribution, with probability one.
True, with the test's rejection rule fixed. If its rejection region in the space of the test statistic is , its statistical power against the specified simple hypothesis isThus the probability distribution of under the alternative hypothesis determines the statistical power of this test. The null distribution is used to choose a rule with the desired test size, but statistical power is evaluated under the alternative hypothesis. Different rejection rules can have different statistical power even for the same probability distribution of .
TODO: Attachment C is absent from the held release. Recover it to check any supplied critical-value table, significance convention or additional instructions. This leaf remains incomplete against that missing input. The printed summary statistics nevertheless allow the following conditional numerical answer, using a two-sided Student's t-test and independent observations with common variance.
Test against . The pooled sample variance isThe test statistic and statistical degrees of freedom areUsing the Student t-distribution directly gives a two-sided p-value and a critical value . Thus reject equal seasonal means at and ; the winter mean is higher by concentration units. This does not establish a large physical effect or its cause.
The two variances are similar, and Welch's t-test gives essentially the same result: , , . Both calculations assume the counts represent independent observations. Serial dependence, repeated measurements and strong non-normality can invalidate nominal p-values; the summary table alone cannot diagnose them. The unequal means are a conclusion under these statistical assumptions, pending recovery of Attachment C.
Pearson chi-squared statistic for contingency tables Created 2026-10-06 Updated 2026-11-05
For observed counts and positive expected counts in a contingency table, the statistic is . Under common category probabilities or statistical independence, estimate by the product of the row and column totals divided by the grand total. With large expected counts, this gives the test statistic for the Pearson chi-squared test of homogeneity or the Pearson chi-squared test of independence, with asymptotic chi-squared distribution on degrees of freedom.
Permutation test Created 2026-09-24 Updated 2026-11-05
A permutation test uses relabelings of observations as its null-preserving transformations and computes a p-value from the resulting orbit of the test statistic.
P-value Created 2026-09-24 Updated 2026-11-05
A p-value is the probability, computed under a null hypothesis, of obtaining a test statistic at least as unfavorable to that hypothesis as the observed value.
Sequential stopping boundary Created 2026-09-24 Updated 2026-11-05
A Sequential stopping boundary specifies values of an accumulating test statistic that trigger early stopping for efficacy, futility, or harm.
Significant and nonsignificant results need not differ significantly Created 2026-10-07 Updated 2026-11-05
For independent effect estimates with standard error , and with standard error , one two-sided Wald test is significant at five percent and the other is not. But their difference is with standard error , giving a negligible test statistic. Hence different significance labels do not establish an interaction or between-study heterogeneity; compare the effects directly.[ref]
The Difference Between Significant and Not Significant is not Itself Statistically Significant by Andrew Gelman and Hal Stern. Printed p. 328, Introduction; pp. 328–329, theoretical example
Test statistic Created 2026-09-24 Updated 2026-11-05
A test statistic is a measurable function of the sample whose observed value is compared with a null distribution or resampling distribution to decide whether to reject a hypothesis.
Welch's t-test Created 2026-10-18 Updated 2026-10-25
For two independent samples from approximately normal distributions, Welch's t-test compares their means without assuming equal unknown variances. The displayed test statistic uses sample variances . Under the equal-mean null hypothesis, its reference Student t-distribution has approximate statistical degrees of freedomA p-value from this approximation addresses the specified statistical error model; it cannot distinguish a material effect from an unmeasured experimenter bias when sample and experimenter are confounded.