How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Exact Gaussian regression inference and prediction
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Central Limit Theorems
- Characteristic Functions Inversion and Continuity
- Compactness
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Conditional Distributions and Regular Conditional Probability
- Confidence Sets and Inversion
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Cyclic Groups and Direct Products
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Estimators and Randomized Procedures
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Fixed-design regression, estimability, and Gauss–Markov
- Foundations of the Real Numbers for Analysis
- Fourier Transform Convolution and Approximate Identities
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Gaussian Orthogonal Decomposition and Quadratic Forms
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hausdorff via the Diagonal
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Loss, Risk and Decision Theory
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Partitions of Unity and Paracompactness
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Radon Measures and the Riesz Markov Kakutani Theorem
- Reeb Stability and Global Foliation Constructions
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Scientific model contracts and applicability
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tests, Neyman–Pearson and Valid P-values
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Maximal Function and Lebesgue Differentiation
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Urysohn's Lemma and the Tietze Extension Theorem
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
2 · Summary
Objective
Derive exact finite-sample coefficient, nested-model, mean-response, and prediction inference for a fixed full-column-rank Gaussian linear model.
Scope and assumptions
Throughout, is deterministic with and full column rank, and the errors are independent with . The exact and partial laws use the Gaussian sampling law and positive residual degrees of freedom. The page distinguishes the Gaussian maximum-likelihood estimate from the residual mean square .
For a nested reduced design, the null is that the full-model mean lies in the reduced design space. A mean-response interval describes the mean ; a prediction interval for one independent future response includes its additional error variance. These are conditional fixed-design calculations and do not establish that a scientific application satisfies the Gaussian model.
3 · Logical flowchart
4 · Definitions, theorems and proofs
A full-column-rank real matrix has an economy QR factorization
Statement
Let and let have full column rank. Then there are matrices and such that
where and is upper triangular with positive diagonal. The columns of can be completed to an orthonormal basis of , with . For , one has .
Facts & Assumptions
Given: Integers and a full-column-rank matrix .
Every subspace of a finite-dimensional inner-product space has an orthogonal decomposition . For a subspace of a finite-dimensional inner product space,
Every finite-dimensional real or complex inner-product space has an orthonormal basis. Every finite-dimensional real or complex inner product space has an orthonormal basis
Every invertible square real matrix has a factorization with orthogonal and upper triangular with positive diagonal. Every invertible real or complex square matrix has a unique factorisation with orthogonal or unitary and upper triangular with positive real diagonal
A subspace of a finite-dimensional vector space is finite-dimensional. If and is a linear subspace of , then is finite-dimensional, , and if and only if
The dimension of a finite direct sum of finite-dimensional subspaces is the sum of their dimensions. If with every finite-dimensional, then is finite-dimensional and ; in particular
Proof
Given: The hypotheses in the Statement.
Let . The columns of are a basis of , so . By [F1], . Since is a subspace of the finite-dimensional space , [F4] makes it finite-dimensional; [F5] then gives , so . By [F2], choose an orthonormal basis of and index its vectors as . The columns of form a basis of : their -part spans , their remaining part spans , and the direct sum in [F1] makes the union linearly independent. Thus is invertible.
Apply [F3] to write , where is orthogonal and is upper triangular with positive diagonal. Let be the first columns of , let be its remaining columns, and let be the leading block of . Because when , every entry below row in its first columns is zero. The first columns of are therefore . The matrix is upper triangular with positive diagonal, while gives and the required orthonormal completion.
Since is invertible, and . Hence , because .
Exact t and partial F inference in full-rank Gaussian regression
Statement
Assume the Axiom of Choice. Fix a deterministic full-column-rank matrix with , a parameter , and . Observe , where the coordinates of are independent with law . This is the fixed-design Gaussian experiment on indexed by .
Let and , the orthogonal projection matrix onto . Define For , set Then , is independent of , , almost surely, and .
For a fixed reduced design with , , and , put and Under the null hypothesis , the statistic has law . Both denominator degrees of freedom are positive; the empty reduced design space is allowed when .
For a null value , define by replacing in the numerator of by , with the same zero-denominator convention. For , the two-sided test of that rejects when has size exactly . The partial F test that rejects when also has size exactly under its stated null. The joint Gaussian maximum-likelihood estimate is together with almost surely, distinct from . If an observed vector has , the likelihood has no maximizer over ; this event has probability zero in the stated model.
Facts & Assumptions
Given: The Axiom of Choice, a fixed full-column-rank with , and independent errors with .
The Axiom of Choice is assumed in the Gaussian normal-law and orthogonal-coordinate results used below. The Axiom of Choice
A full-column-rank real matrix has an economy QR factorization with , upper triangular with positive diagonal, and an orthogonal completion ; its projection is . A full-column-rank real matrix has an economy QR factorization
An orthogonal transformation of a vector with independent standard-normal coordinates again has independent standard-normal coordinates. Orthogonal transformations preserve the standard normal product law
The sum of squares of independent standard-normal variables has law for every integer . Chi-square laws, including zero degrees
A positive-degree chi-square variable is positive almost surely. Positive-degree chi-square laws have a positive density and regular CDF
Student is a ratio of an independent standard normal and , and is a ratio of independent scaled chi-square variables. Student t and Fisher F laws
The CDF is continuous, symmetric, and strictly increasing on ; the CDF is continuous and strictly increasing on , so the stated quantiles exist uniquely. Student t and Fisher F CDFs are continuous and strictly increasing on their supports
A randomized test is a measurable procedure with binary action and measurable rejection function giving the probability of rejection. Randomized tests
The size of a test is the supremum of its rejection probabilities over the null parameter set. Test size and power
By Standard normal and normal laws, for is the pushforward of under . Since the standard normal has density , the change of variable gives density for .
A statistical experiment is a measurable data space with a parameter-indexed family of sampling laws; an estimator is a measurable statistic with target the estimand. Statistical experiments Statistics and estimators
Orthogonal projections give orthogonal decompositions. The orthogonal projection is the -component in
Squared norms add across orthogonal summands. Pythagoras, the parallelogram identity, and the real and complex polarisation identities
Under the Axiom of Choice, Countable Choice follows; continuous Euclidean maps are Borel measurable under Countable Choice. The Axiom of Countable Choice () The Axiom of Choice implies countable choice Continuous functions on Euclidean spaces are Borel measurable
The fixed-design first-moment model has fixed , response , parameter , and ; it imposes no covariance or Gaussian assumption. Fixed-design linear regression model
The least-squares solution set is . Least-squares solution set
Least-squares minimizers are characterized by the normal equation, and their fitted vector and residual are uniquely and . Least-squares fitted vectors and residuals are unique
In the fixed-design first-moment model, is linearly estimable exactly when . Linear estimability is equivalent to row-space membership
Disjoint groups of an independent coordinate family generate independent sigma-algebras. Disjoint groups of an independent sigma-algebra family remain independent
Measurable functions of independent random elements remain independent. Measurable coordinatewise functions preserve independence
A linear image of a multivariate normal vector is multivariate normal, with covariance obtained by the corresponding matrix transform. Multivariate normal law, including singular covariance
Every subspace of a finite-dimensional inner-product space has an orthogonal complement giving a direct-sum decomposition of the whole space. For a subspace of a finite-dimensional inner product space,
Every finite-dimensional real inner-product space has an orthonormal basis, including the empty basis in dimension zero. Every finite-dimensional real or complex inner product space has an orthonormal basis
Every subspace of a finite-dimensional vector space is finite-dimensional. If and is a linear subspace of , then is finite-dimensional, , and if and only if
The dimension of a finite direct sum of finite-dimensional subspaces is the sum of their dimensions. If with every finite-dimensional, then is finite-dimensional and ; in particular
Matrix rank is row rank; row and column ranks are dimensions of their respective spaces and are equal for every finite matrix. Row space, column space, nullspace, row rank, column rank and matrix rank Row rank equals column rank, and both equal the number of pivots
Proof
Given: The hypotheses in the Statement.
The Gaussian experiment has the fixed-design first moment in [F14], and [F15] defines its least-squares solution set. Apply [F1] and write , with orthogonal. Since is invertible, and . Therefore and . For any , orthogonality of the columns of and gives . The unique minimizer is , consistent with [F16]; the residual is .
Set , , and , and let be the orthogonal projections onto . By [F21], . For any , write . The first term belongs to , while the second lies in by [F11] and in because it is a difference of vectors in . Thus . Conversely , and because and [F21] gives , so . Combining the two decompositions gives , with pairwise orthogonal summands. By [F23], these subspaces are finite-dimensional. The columns of are a basis of , so . If , then and ; if , [F25] gives . Applying [F24] gives and . By [F22], choose orthonormal bases of , using the empty basis when . Let be the matrix whose columns are these bases in that order; then is orthogonal. For every in the unique decomposition, [F11] gives , , , and . Hence and . Standardize the errors to . By [F9], each is standard normal, and [F19] preserves independence under coordinatewise scaling, so has independent standard-normal coordinates. Write . By [F2], these transformed coordinates are independent standard normals, so [F18] makes and independent. Under the null, , so . The two residual vectors above are therefore and ; since and the chosen columns are orthonormal, and . Thus [F3] gives independent and variables; both degrees are positive, [F4] makes the denominator positive almost surely, and the ratio definition [F5] gives the stated law.
Put and use from [F1]. The density in [F9] becomes standard normal under this scaling, and [F19] preserves independence under coordinatewise scaling; hence has independent standard-normal coordinates. By [F2], has independent standard-normal coordinates, and [F18] groups the first and last coordinates into independent vectors. Step 1.1 gives and . By [F13], these linear and squared-norm maps are Borel, so [F19] preserves the independence of their values. From [F20], ; [F3] gives , and almost surely by [F4]. For , positive definiteness gives . The linear image is by [F20], since . It is independent of by [F18] and [F19]. Therefore, almost surely, has law by [F3] and [F5]; the defined value on does not change its law. Finally, , so [F17] makes every coefficient contrast estimable; explicitly, .
For fixed , independence and the normal density [F9] make the joint likelihood as a function of proportional to . Step 1.1 shows its unique maximizer is .
Define by replacing in the numerator of with . This statistic is measurable by [F10] and [F13], since its piecewise formula uses Borel linear and norm maps. Under , step 2.1 gives the symmetric continuous law in [F6]; the two tails beyond each have probability . The contrast null and alternative are both nonempty: is in the null, and is in its alternative. The partial F statistic is Borel because and are continuous functions of , and its ratio on with the constant branch on is Borel by [F13], so the two threshold rejection events are Borel. Step 1.2 and the unique quantile in [F6] give upper-tail rejection probability . The F-test null contains ; step 1.2 gives a -dimensional subspace with , so some equals for a coefficient vector . Since , this mean is outside , so that parameter is in the alternative. Each Borel rejection event defines a measurable deterministic kernel by and , so [F7] applies. Both tests reject with probability at every null parameter, so each has size by [F8].
Write . At , the joint log-likelihood for is . If , its derivative is positive for and negative for , so the unique maximum is . Step 2.1 shows almost surely. If an observed vector has , the likelihood tends to infinity as and has no maximizer on . Therefore the joint MLE is almost surely, while differs because and almost surely. Together with steps 2.1 and 3.1 this proves all asserted distributional and test-calibration claims, with the likelihood exception stated for every data vector.
Exact confidence and prediction intervals in Gaussian regression
Statement
Use the fixed full-column-rank Gaussian regression model and notation of Exact t and partial F inference in full-rank Gaussian regression, with . Let , let be the unique quantile of , and put for . Then has exact coverage for .
For any , put . The mean-response interval has exact coverage for when . If , it is the singleton and has coverage .
If is one future response with independent of the training data, then satisfies . The added is the variance contribution of the future response's own error.
Facts & Assumptions
Given: The Axiom of Choice, the Gaussian regression experiment in Exact t and partial F inference in full-rank Gaussian regression, , a contrast , a predictor vector , and, for prediction, an independent future Gaussian error .
The Axiom of Choice is inherited from the Gaussian model and its normal-law suppliers. The Axiom of Choice
In this model, , is independent of , and the stated nonzero-contrast pivot has law . Exact t and partial F inference in full-rank Gaussian regression
A pivot is a parameter-indexed family of measurable statistics with one common sampling law. Pivotal quantities
A confidence-set procedure is measurable when each parameter-membership section is measurable, and coverage is the probability that the true parameter belongs to the set. Confidence sets and coverage
Inverting a pivot acceptance set of probability gives a confidence set with exact coverage . Coverage from pivot inversion and exact calibration
The CDF is symmetric, continuous, and strictly increasing, so has probability . Student t and Fisher F CDFs are continuous and strictly increasing on their supports
For a multivariate normal vector, every linear projection is normal with variance given by its covariance quadratic form; independent normal coordinates give the corresponding product normal law. Multivariate normal law, including singular covariance
Independent random elements have product joint law, and measurable functions of independent random elements remain independent. Independent random elements have product joint law Measurable coordinatewise functions preserve independence
The future error has the centered normal law with variance , independently of the training data. Standard normal and normal laws
For , is the law of an independent standard normal divided by . Student t and Fisher F laws Chi-square laws, including zero degrees
A positive-degree chi-square denominator is positive almost surely. Positive-degree chi-square laws have a positive density and regular CDF
Proof
Given: The hypotheses in the Statement.
Fix . Then because is positive definite. For each full parameter , the statistic , assigned value when , is a pivot by [F1] and [F2], with common law . By [F5], has probability . Define . For each fixed , its membership event is , a closed, hence Borel, set because and are continuous functions of . Thus [F3] applies to . Pivot inversion [F4] gives exact coverage for . On , ; the exceptional event has probability zero for every parameter by [F1]. Therefore has exact coverage , which is precisely .
If , the same argument with gives the displayed mean-response interval because . If , then for every parameter and data vector, so the interval is and contains the true mean with probability .
Write and . By [F1] and [F8], and are independent centered normal vectors/scalars with covariance and variance . Their joint law is the product law by [F7], so [F6] gives , since the numerator has variance . Because is independent of the training data, [F7] gives . Since is a measurable affine function of , [F1] and [F7] imply that is independent of ; the joint law therefore factors as , so is independent of . The displayed standard normal is a measurable function of , so it is independent of by [F7]. By [F9] and [F10], the ratio has law with positive denominator almost surely. Its central acceptance interval has probability by [F5], which is exactly the event .
5 · Examples, counterexamples and false statements
None yet.
Sources
- Dmitry Panchenko, MIT 18.443 Statistics for Applications, Fall 2006, Section 15: Multiple Linear Regression, PDF pp. 2–4
- Charlotte Wickham, Statistics: Lecture Three — Linear Models, PDF pp. 3–4
- Dmitry Panchenko, MIT 18.443 Statistics for Applications, Fall 2006, Section 15: Multiple Linear Regression, PDF pp. 1–7
- Dmitry Panchenko, MIT 18.443 Statistics for Applications, Fall 2006, Lecture 4: Multivariate Normal Distribution, PDF pp. 1–4
- Charlotte Wickham, Statistics: Lecture Three — Linear Models, PDF pp. 1–7
- Stanford University, Stats 203, Inference for Linear Regression, Lecture 4, sections on mean-response and prediction intervals
- Dmitry Panchenko, MIT 18.443 Statistics for Applications, Fall 2006, Section 15: Multiple Linear Regression, PDF pp. 4–7
- Charlotte Wickham, Statistics: Lecture Three — Linear Models, PDF pp. 6–7