Alpha-spending function 2026-10-05
An alpha-spending function assigns the cumulative Type I error budget to successive information fractions in a group sequential design. Its total at the final analysis is the overall significance level. The rejection boundaries must be calibrated using the joint distribution of the sequential test statistics; independent fixed-level tests do not automatically spend the assigned budget correctly.
Noncentral t-distribution Created 2026-10-05 Updated 2026-10-14
If and are independent, then has the noncentral t-distribution with degrees of freedom and noncentrality . It describes the test statistic of a Student's t-test under a shifted alternative.
Nonparametric statistics Created 2026-09-24 Updated 2026-10-14
Nonparametric statistics studies statistical inference without restricting the unknown probability distribution or target function to a fixed finite-dimensional parametric statistical model. In density estimation and nonparametric regression, the number of features that an estimator can represent may grow with the sample size. Rank tests offer another approach: the probability distribution of their test statistic under the null hypothesis can be obtained without specifying the common continuous probability distribution.
"Nonparametric" does not mean free of assumptions or tuning choices. A kernel density estimator still requires a kernel for density estimation and a smoothing bandwidth, and its interpretation depends on assumptions about the statistical sample. The freedom is useful when a prescribed shape, such as a single normal distribution, would hide features that the observations might reveal.
For the same normal distribution model, a two-sided test compares the null hypothesis with the alternative hypothesis . Under the null hypothesis, the standardized test statistic has standard normal distribution. Write for the standard normal distribution function. With , , and , the observed test statistic is . Its p-value isThus the p-value is a tail probability computed under the null hypothesis, including departures in both directions. It is not , the posterior probability of the null hypothesis, nor the probability that the observations arose "by chance". The normal distribution test statistic and its calibration appear in NIST's teaching reference for testing a process mean; the tail interpretation is stated in Penn State's hypothesis-testing notes.
Choose the significance level before observing the sample. The rejection region is , whose probability under is exactly 0.05. Here , so reject . This agrees with zero lying outside . More generally, a proposed belongs to the unrounded 95% confidence interval precisely when its two-sided test does not reject under this strict cutoff. The equality boundary has probability zero in this continuous statistical model.
The significance level and statistical power describe different repeated-experiment probabilities. At a specified alternative , put and . ThenThe first is the Type I error probability; the second is the Type II error probability at that alternative. For a planning alternative , keeping , and gives , and statistical power . At , and statistical power rises to . These are model calculations for specified alternatives, not posterior probabilities inferred from a nonsignificant result. They explain why failure to reject cannot establish equality and why choosing sample size before an experiment is useful.
Historically, Ronald Fisher's 1925 book discusses the normal cutoff and tail probability 0.05 as a convenient convention on page 47, rather than a mathematically compulsory threshold: [ref]
https://books.google.com/books/about/Statistical_Methods_for_Research_Workers.html?id=I0NBAAAAIAAJ. Fisher, Statistical Methods for Research Workers, first edition
. Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 41 1 Solution Created 2026-10-03 Updated 2026-10-14
Write . In this normal linear model, the ordinary least squares criterion is . Differentiating with respect to gives the normal equations for linear least squares, . Full column rank of the design matrix makes invertible, and completing the square proves that the unique minimum isSince , its sampling distribution is the multivariate normal distributionLet be the hat matrix. It is symmetric and idempotent with rank , and . The regression residual vector is , soAn orthogonal projection of a Gaussian vector onto the residual space gives . The residual projection and fitted projection have zero cross-covariance, hence are independent because they are jointly normal. In particular, is an unbiased estimator of and is independent of . The maximum-likelihood estimator of instead divides by and is not unbiased.
For the null hypothesis , put . Under that null hypothesis, is standard normal and independent of . Therefore the Student t-test usesA two-sided level- test rejects when . The denominator is the estimated standard error of the regression coefficient.
The fitted linear regression includes an intercept and three covariates:Thus , and the residual degrees of freedom are . The fitted conditional mean isEach slope measures a conditional association with the response while the other two covariates are held fixed. Increasing wind speed by one mile per hour corresponds to a fitted decrease of in the concentration units used. Its standard error is , giving and a two-sided p-value of : evidence of a negative conditional association at the 5% level. The temperature slope is per degree Fahrenheit, with standard error , and p-value . The insolation slope is per langley per day, with standard error , and p-value . Neither of these last two conditional effects is significant at 5%; that does not establish that either true slope is zero. These are associations, not a demonstration of causal effects.
The intercept estimates the mean at zero values of all three covariates. Its value has a large standard error , giving and p-value . The zero-covariate combination may be outside the observed range, so this test may have little practical relevance. Every coefficient test uses a Student t-distribution with degrees of freedom.
The reported residual standard deviation measures unexplained variation in concentration units; the subsequent table gives , consistent with after rounding. The five-number residual summary describes the spread, from to , with median . An intercept forces the residual sum to zero, not the residual median. These five numbers alone cannot establish normal errors, constant variance or independence; residual-versus-fitted and quantile-quantile plots would be more informative, and successive days also warrant checking serial dependence. The coefficient of determination means that 65.33% of the sample response sum of squares about its mean is explained by this fit. Its adjusted version iswhich accounts for the number of estimated regression coefficients.
The stepwise selection by the Akaike information criterion searches between the intercept-only model and the specified model with all three main effects. For these Gaussian fits, the printed Akaike information criterion is, up to a constant common to the candidates,The full model has and AIC . Removing insolation increases the residual sum of squares by but decreases AIC to , so that removal is chosen. Removing temperature or wind instead would give AIC or and is worse. In the next step the candidate models include deletions and restoration of insolation. Keeping wind and temperature has the smallest AIC: removing temperature gives , restoring insolation gives , and removing wind gives . Hence the search stops, givingThe accompanying F-tests compare a larger model with a one-parameter reduction: , where is estimated from the larger model. For example, removing insolation gives , equal to the corresponding squared test statistic. Deletions from the second-stage model use in the denominator, whereas restoring insolation uses the full-model denominator. These tests describe the comparisons; they do not determine the AIC choice. In particular, temperature is retained despite its deletion-test p-value . AIC balances fit and complexity, and a stepwise optimum need not be a global optimum over a richer model class. Ordinary coefficient inference after choosing a model does not account for the selection itself.
For positive responses, the Box–Cox transformation is for , and . Its profile likelihood refits the linear regression and variance at each and includes the transformation Jacobian. The graph peaks at roughly –. The approximate 95% likelihood-ratio confidence interval contains values a little below zero through approximately one, using the cutoff . Thus a logarithmic transformation () and a square-root transformation () are plausible, while leaving the response on its original scale () is at or very near the upper confidence boundary. The broad profile supports considering a mild power transformation; it does not determine a sharply estimated power. The raster does not justify more precise endpoints or a decisive assertion about which side of the boundary lies.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 3 e Solution Created 2026-10-03 Updated 2026-10-14
Under the point hypothesis , the test statistic has a standard normal distribution. The observed statistic is three, giving a two-sided p-value . This is conventionally strong evidence against that point hypothesis. The narrow model is a continuous prior distribution around zero, rather than a point hypothesis.
For and , normal-normal conjugacy givesThe narrow-model posterior mean is strongly pulled toward zero and its standard deviation is about . The wide-model posterior mean is about , very close to the observation, with standard deviation about . Each model produces a markedly different posterior, so choosing between them requires their predictive evidence.
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 2026-09-28
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.
