Entrywise matrix L1 norm 2026-10-06
Graphical Lasso column regression 2026-10-06
For a Graphical Lasso solution with inverse , the unique minimizer of , , is . The inverse identity gives , and the off-diagonal Graphical-Lasso Karush-Kuhn-Tucker conditions become the column Lasso conditions because the corresponding signs are opposite.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 205 4 Solution Created 2026-10-03 Updated 2026-10-06
Write for a positive-definite matrix. Up to a constant independent of the parameters, the log-likelihood of the multivariate normal distribution isThe identityshows that, for each , the unique optimizing mean is . Using the matrix trace to rewrite the first quadratic sum, the profile likelihood isTherefore maximum likelihood estimation of the precision matrix, whenever the maximum exists, is exactlyThis is the profile likelihood for a Gaussian precision matrix. The sample covariance matrix here uses divisor , as appropriate for maximum likelihood estimation.
There is an important rank qualification in the printed assumptions. If , differentiation gives , so the unique minimizer is . Uniqueness follows because the negative log-determinant is a strictly convex function on the positive-definite matrices. But full column rank of the uncentered alone does not imply : the rank of a centered sample covariance matrix depends on the centered design. For example, with and raw data matrix ,Although has full column rank, setting gives objective . Thus an unpenalized maximizer need not exist under the literal raw-rank assumption. The likelihood reduction remains valid; existence requires full column rank of the centered data, equivalently . For the nonsingular Gaussian model this holds almost surely when .
Use the entrywise-penalty convention for the Graphical Lasso:The sum is the entrywise matrix L1 norm. Its Graphical-Lasso Karush-Kuhn-Tucker conditions areHere is symmetric; its nonzero-entry values are , and its zero-entry values are any numbers in . These are the subgradient optimality condition for this convex optimization problem. Since a positive-definite matrix has positive diagonal, and . Counting both off-diagonal entries in the penalty and in the trace makes the same appear in their stationarity equations. The common variant penalizing only off-diagonal entries instead sets ; the off-diagonal equations and the column argument below are unchanged.
For the given column problem, abbreviateIts smooth part expands to plus a constant, because is symmetric and . The matrix is a positive-definite matrix, so this quadratic is a strictly convex function. Adding the convex L1 norm penalty preserves strict convexity, and the objective tends to infinity as . The minimizer exists and is unique. Its Karush-Kuhn-Tucker conditions are
We identify that minimizer directly from the precision matrix. Write and defineThe denominator is positive. The off-diagonal part of column of givesOn the other hand, the off-diagonal Graphical-Lasso Karush-Kuhn-Tucker conditions readBecause , the coordinates of have the opposite signs from those of and vanish at exactly the same positions. The subgradient of the absolute value therefore satisfiesIt follows thatThese are exactly the Lasso column problem's Karush-Kuhn-Tucker conditions. Its unique minimizer must be , yieldingThis is the Graphical Lasso column regression identity. The minus sign is essential: it converts the precision-entry subgradient into the regression-coefficient subgradient. The argument uses the inverse identity directly, so it does not require proving the supplied block inverse formula.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 205 5 Solution Created 2026-10-03 Updated 2026-10-05
The moral graph of a Directed acyclic graph is formed by joining any two parents of a common child and then removing the directions from all edges. For D-separation, a path in the underlying undirected graph is active given when every noncollider on it is outside , and every collider has itself or a descendant in . Disjoint vertex sets and are D-separated by if no such active path connects them.
The adjacency characterization isA one-edge path cannot be blocked by conditioning on other vertices. For a nonadjacent pair, choose the later vertex in a topological ordering. The earlier vertex is a nondescendant and is not a parent of , so the parents of separate the pair by the local Markov property of a directed acyclic graph.
Use faithfulness of a directed acyclic graph to mean that graphical and probabilistic independences agree, for all disjoint sets:This includes the global Markov property of a directed acyclic graph as well as the absence of extra independences. The conditional independence graph of is the undirected graph in which is absent exactly when .
To identify this graph, condition on every vertex other than . Any noncollider in the interior of a path is then conditioned on, so an active path must have only colliders internally. Two adjacent interior vertices cannot both be colliders: the arrow joining them has an arrowhead at only one of its ends. Thus an active path can have no interior vertex, giving a direct edge, or just one, giving . In the latter case the conditioned common child activates the path. These possibilities are exactly the edges added or retained by moralization. Faithfulness therefore provesThis is why the moral graph equals the conditional independence graph under faithfulness.
For Gaussian graph estimation, collect the data into an matrix and let . The precision matrix has precisely for absent graph edges, by Gaussian conditional independence. In neighbourhood selection, fit a Lasso regression of each column on the others:Select the nonzero coefficients as neighbours of , then make the graph undirected using either the OR rule, retaining an edge selected in at least one regression, or the AND rule, requiring both. These are instances of Nodewise Lasso.
The Graphical Lasso estimates the whole precision matrix jointly, for example byRead off its nonzero off-diagonal entries as graph edges. This expression uses an off-diagonal penalty; an all-entry penalty is another convention.
To reduce computation in the PC algorithm, start its skeleton search from an estimate of the conditional independence graph rather than the complete graph. The exact graph contains the true DAG skeleton, so oracle tests can remove its extra edges while retaining the true adjacencies. Fewer initial edges and smaller neighbourhoods reduce both candidate pairs and candidate conditioning sets.
For correctness of the orientation stage, preserve valid separating-set records. With an exact conditional independence graph, an initially absent pair has the full complement as a separating set. Record that set, and record the usual discovered sets for edges removed later. Leaving an initially absent pair with an empty default could falsely mark an unshielded noncollider as a collider. This describes PC initialization from a conditional independence graph; with an estimated initial graph, screening errors can propagate into the output.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 205 5 Solution 2026-09-28
For disjoint nonempty index sets and , partition the mean and covariance conformably. The conditional multivariate normal distribution isIf the sets overlap, the shared coordinates are fixed and this formula applies to .
Partition into the and blocks. The block-inverse formula identifies the displayed conditional covariance withFor , inversion of the two-by-two precision block givesThe denominator is positive, so the conditional covariance vanishes exactly when . A Gaussian pair is independent exactly when it is uncorrelated, proving
Profiling the Gaussian likelihood over gives . Apart from constants and a positive factor, the negative log-likelihood for the precision matrix isIts derivative is , so the unpenalized minimizer is . The Graphical Lasso solveswith some conventions also penalizing the diagonal.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 2 b Solution Created 2026-09-24 Updated 2026-09-25
The differential of the log-determinant is . The subdifferential of the entrywise norm consists of symmetric matrices withThe Karush-Kuhn-Tucker conditions for the Graphical Lasso are thereforeBecause is strictly convex on the positive-definite matrices, these conditions characterize the unique minimizer whenever it exists.