Topics (324k) Articles (337k) Users (397) Discussions (237) Comments (383) Files (12k) New article
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 4 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Put , the precision matrix. The conditional independence graph has an edge between and exactly when and are not conditionally independent given all the remaining components. For the multivariate normal distribution,Indeed, the conditional density of the pair given the others has its quadratic term determined by the corresponding two-by-two principal submatrix of ; its cross term vanishes exactly when , making the two conditional Gaussian variables independent. This is a Gaussian graphical model.
To derive the conditional law of one component, isolate in the multivariate normal density and complete the square. The terms involving it areThereforeEquivalently, its mean is and its variance is the Schur complement . These forms agree because the block of gives , and its block then identifies the variance. This proves the relevant conditional multivariate normal distribution formula.
In particular, the population regression of component on the other components has coefficientsintercept , and a Gaussian residual independent of the predictors with variance . These are the conditional regression coefficients from a Gaussian precision matrix. The coefficient is zero exactly when the corresponding edge is absent. Its counterpart has the same zero pattern and sign, but generally a different magnitude.
This motivates nodewise regression: for each , regress on , estimating an intercept as well. For sparse graph estimation, use the Nodewise Lasso criterionThe Lasso penalty encourages many fitted coefficients to be zero and remains usable when the number of predictors exceeds the sample size. Ordinary unpenalized sample regressions would usually give a dense estimated graph. Separate regressions can disagree about a pair, so an undirected graph can use the OR rule for nodewise graph selection, retaining an edge if either fitted direction is nonzero, or the more conservative AND rule for nodewise graph selection, retaining it only if both are nonzero. These are choices for combining estimated neighbourhoods, rather than identities forced by finite-sample fits.
The printed joint objective uses a Group Lasso penalty on the unordered pairsThis is paired group Lasso for Gaussian graph estimation. Each group represents a single undirected edge, coupling its two directional regressions. A sum of group norms encourages entire pairs to be zero; a squared group norm would give smooth ridge-type shrinkage instead of edge deletion. The constraint removes self-prediction, and the intercepts are not penalized.
The free symbols called in the objective are regression intercepts, not generally the marginal means of the original Gaussian vector. Profiling them out givesand replaces all columns by their centred versions in the squared-error terms. This is profiling intercepts in nodewise regression. Scaling predictors to comparable units can also help interpret a common penalty, although the displayed objective itself is well defined on the given data.
The grouped KKT conditions make the sparsity mechanism precise. With centred residuals , defineThe subdifferential of the Euclidean norm at zero is its closed unit ball, and away from zero is . Hence a minimizer satisfiesThese are the paired group Lasso optimality conditions. They jointly threshold the two directional scores, matching the population fact that both directions represent the same edge.
Estimate the graph by including exactly when . This graph is undirected by construction. The penalty does not impose , nor does it mathematically require both coordinates of every selected pair to be nonzero. That distinction is appropriate because the population regression coefficients themselves need not have equal magnitudes. The fitted coefficient matrix is not automatically a symmetric positive definite precision matrix; its pair supports, rather than its entries as a precision estimate, supply the requested conditional independence graph.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 3 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The familywise error rate is the probability of rejecting at least one true null:A valid p-value is super-uniform under its null: for . The Bonferroni correction rejects if . The union bound givesThis controls the familywise error rate for every configuration of true and false nulls, without any independence assumption on the p-values.
For a nonempty index set , the intersection hypothesis asserts that every null indexed by holds. The closure of a family of statistical hypotheses consists of all these nonempty intersections, including the original hypotheses. For each intersection choose a local test of size at most under . Such tests always exist: for example, within use the Bonferroni correction, rejecting if . More powerful local intersection tests can be substituted whenever valid.
The closed testing procedure rejects an elementary hypothesis only when every local test with rejects its intersection hypothesis. If , the intersection is true. Rejecting any true requires rejection by its local test , soIf , there is no possible false rejection. This proves closed-testing control of the familywise error rate. The same argument applies if intersection hypotheses themselves are reported as rejected: requiring all their supersets to reject includes whenever the reported intersection is true.
Finally, consider the given hierarchical family as a laminar family of sets. Call a set true when , so its entire intersection hypothesis is true. Let be the inclusion-maximal true sets in . Distinct members of are disjoint: if they met, laminarity would make one contain the other, contradicting maximality. Consequently,Every true set lies in a maximal true . If is rejected by the prescribed adjusted p-value rule, the maximum over its ancestors includes , henceThus the event of any false rejection is contained in the union of these events over the disjoint maximal true sets. Using validity of each under its true intersection and the union bound,Equivalently, with probability at least every rejection is correct. This proves familywise error control for a laminar hypothesis family. It requires neither independence nor the presence of all possible intersections or singletons in . Empty index sets are excluded, as required by the denominator ; if there are no true sets the result is immediate. Adjusted values exceeding one can be truncated at one without changing decisions for .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 2 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Put , which is a positive-definite matrix by the full column-rank assumption. The ordinary least squares estimator isFor ridge regression use the criterion . Differentiating givesIf instead the squared-error term is normalized by , replace in this formula and the calculations below by . Only the scale of the tuning parameter changes.
As usual for this linear regression model, use zero-mean errors; more generally suffices. Since the columns are centred, , so the random centring term disappears from both estimators. ThusLet . The bias and covariance matrix of the ridge regression estimator areThe bias-variance decomposition of mean squared error therefore represents directional risk by the quadratic formsTheir difference has the useful factorizationTo check it, multiply on both sides by : the resulting matrix is .
The Cauchy-Schwarz inequality gives in the Loewner order. Therefore the middle matrix is positive-definite whenever . For example,works, independently of the eigenvalues of . Since is invertible, the risk difference is strictly positive for every nonzero , in particular simultaneously for every unit . This proves uniform directional risk improvement by ridge regression. For the normalized-loss convention, take the displayed choice divided by .
For the final assertion, fix any and choose a unit eigenvector of with eigenvalue . Put and . Directly,Choosingmakes the squared bias alone greater than , proving the required strict inequality. Thus unbounded directional risk of fixed ridge shrinkage is compatible with the existence of a beneficial signal-dependent small penalty: no fixed positive penalty uniformly improves risk over all possible signals.
The mean assumption matters if the printed covariance condition is read in isolation. With , , , and , the columns and response are still centred and , but the ordinary least squares risk is . Writing , the ridge regression risk is for every . Hence the standard zero-mean regression-error convention, or its stated orthogonality version, is necessary for the first risk comparison; covariance alone is insufficient.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 1 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
With the centred data, no intercept is needed. Use the Lasso normalizationWrite and . The KKT conditions areIndeed, the subdifferential of the L1 norm consists of vectors with at nonzero coordinates and at zero coordinates. The subgradient optimality condition is . convexity makes these conditions sufficient as well as necessary. These are the Karush-Kuhn-Tucker conditions for the Lasso.
Here is a correlation-parameter version of least angle regression. Put , a Gram matrix, and initialize , , .
- Compute . For , keep . If , stop: all regression residual correlations already vanish. Otherwise add the uniquely maximizing variable to obtain .
- At step , put , , , and . These active signs have entries in . Solve , set , and follow the segment
- For each inactive variable set . Along the segment its correlation is , where . Its candidate hitting distances areDiscard undefined or nonpositive candidates. Choose the smallest remaining distance below , if one exists, and otherwise choose . Set . If , add the unique variable achieving the hit to form and repeat; if , stop.
The two hitting formulas come from . This is LAR hitting time. Active variables are not dropped if a coefficient crosses zero: that is the distinction between this algorithm and the modified Lasso path algorithm.
The active Gram matrix is an invertible matrix under the assumed unique positive hits. Inductively, a candidate column in the span of the current active columns would have equal to a fixed linear combination of their correlations, hence proportional to on the whole segment. Its ratio could not first reach one at a positive interior knot. Thus every uniquely entering column adds a new independent direction. This also allows more predictors than observations; the algorithm stops before a dependent direction needs to be added at zero correlation.
We now prove the requested invariant. At the first positive knot the newly active correlation has magnitude . At a later knot the old active correlations have that knot's magnitude by induction, and the entering correlation has the same magnitude by the hitting rule. Throughout the next segment,The first-hitting rule also ensures for every inactive . If no positive hit remains, this inequality continues to zero, where all correlations vanish. Consequently, on every printed closed segment,This is the LAR active correlation invariant.
If active nonzero coefficients have the same signs as their residual correlations, the active equalities are precisely the nonzero-coordinate Lasso KKT conditions. An active coefficient which is zero also satisfies the zero-coordinate KKT conditions, because its correlation is within . Inactive coefficients are zero and satisfy those same inequalities by construction. Thus every point of the least angle regression path is a Lasso minimizer for . Under the stated uniqueness assumption,This proves the desired implication, in fact under the weaker sign compatibility of LAR and Lasso condition requiring agreement only at nonzero coefficients.
There is an endpoint convention in the printed sufficient condition. With the standard , a newly entering coefficient is zero at a positive knot although its correlation is ; the displayed sign equality therefore cannot literally hold there. At the final zero knot the correlation signs are zero as well. Interpret sign compatibility on positive open segments, or in the nonzero-coefficient/subgradient sense just proved. The KKT conditions already handle zero coefficients at knots, and no equality of solution paths at is needed for the requested conclusion.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 30 4 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Write and let denote the printed squared-increment sum for a process , on grid times . We construct its limit first for bounded martingales, then use localizing sequences and the finite variation part of a semimartingale.
Continuity and monotonicity of the bounded-martingale limit. Let be a uniformly bounded continuous martingale. The given result supplies a limit in uniform convergence on compacts in probability. Each is continuous and adapted. A subsequence converges almost surely uniformly on each compact time interval, by choosing summable error probabilities and diagonalizing. Its limit therefore has a continuous version; in the usual completed filtration this version is adapted.
The sums themselves can decrease between grid points, because the last partial increment is being squared. To establish monotonicity, use instead the quadratic variation from completed grid incrementsThese step processes are nondecreasing, and pathwise uniform continuity giveswhere . Thus the same almost surely uniform subsequence of converges to , proving that is nondecreasing. Also .
Localization of a continuous local martingale. Subtract the initial value, which does not affect increments, so that . SetContinuity gives almost surely and makes bounded. The bounded local martingale criterion makes it a true martingale. Let be its continuous, adapted, nondecreasing limit.
The discrete sums commute exactly with stopping:For , uniqueness of the probability limit and stability of uniform convergence on compacts in probability under stopping giveup to indistinguishability. Taking a common null set for the countably many pairs, patch these processes into by setting when . Compatibility makes this definition independent of . It is continuous, adapted, and nondecreasing. For each ,Let and then . This proves the localization and patching of quadratic variation.
Adding finite variation. Decompose the continuous semimartingale as , where is a continuous local martingale starting at zero and is continuous, adapted, and locally of finite variation. For every compact interval, the sum of the absolute increments of is at most its total variation of a function. Hence, pathwise,The Cauchy-Schwarz inequality bounds the mixed increment sum byThe first factor is bounded in probability, since uniformly on compacts in probability; the second tends to zero almost surely. Thus the mixed term tends to zero in probability. Expanding the square provesThe constructed is continuous, nondecreasing, and adapted. This is the quadratic variation of , and expresses the fact that finite-variation terms do not change quadratic variation.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





