Componentwise, the moment contraction gives square-integrability and taking out the known factor gives orthogonality; expanding the quadratic form of the sum of the two errors and applying orthogonality to the weighted difference of the predictors gives the decomposition, and positive semidefiniteness, respectively definiteness, gives optimality and uniqueness.
Throughout, the field and order laws of are used freely (The Structure of β as a Field and an Ordered Ring (i), The Structure of β as a Field and an Ordered Ring (ii), Rules of Arithmetic and Order in an Ordered Field (iv), Rules of Arithmetic and Order in an Ordered Field (vi)), and -measurability of a function into or is - or -measurability (Conditional Expectations: Notation (ii)). By Conditional Expectation (iii), for . A function lies in if and only if it is measurable with components in (Square-Integrable Vector-Valued Functions: Components, Dot Products and Almost-Everywhere Equality (i)); it is -measurable if and only if its components are -measurable (Vector- and Matrix-Valued Measurable Maps: Components, Entries and Continuous Images (i) on ), so is; sums, differences and images under a constant matrix of -measurable functions are -measurable (Sums, Products, Transposes, Dot Products and Norms of Measurable Vector- and Matrix-Valued Maps (i), Sums, Products, Transposes, Dot Products and Norms of Measurable Vector- and Matrix-Valued Maps (ii), Measurable Maps: Generators, Composition, Continuous Maps, Restrictions, and Criteria for Real- and [0,β]-Valued Maps (iii)), and such functions are -measurable, as .
Proof of (i). For , , so by the contraction in (Conditional Jensen Inequality, Lα΅ Contraction and Convergence Theorems for Conditional Expectations (iii) with ). Hence .
Proof of (ii). Let . The component is -measurable, and by the Cauchy-Schwarz inequality (HΓΆlder's Inequality (ii)). Taking out what is known (Rules for Conditional Expectations (vii)) gives , so (Rules for Conditional Expectations (ii)). As (Square-Integrable Vector-Valued Functions: Components, Dot Products and Almost-Everywhere Equality (iii)), Square-Integrable Vector-Valued Functions: Components, Dot Products and Almost-Everywhere Equality (ii) and Rules for Expectations, Variances and Covariances (iii) give that is integrable and
Proof of (iii). Matrix images. For the function is measurable, and for every , with (Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (ix)); so (Square-Integrable Vector-Valued Functions (i), Basic Properties of the Integral of Nonnegative Measurable Maps (iii), Basic Properties of the Integral of Nonnegative Measurable Maps (iv)), that is, .
Expanding the error. Let and , which lie in by (i) and Square-Integrable Vector-Valued Functions: Components, Dot Products and Almost-Everywhere Equality (iii); is -measurable, and . For , linearity of the matrix-vector product and bilinearity of the dot product (Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v), The Dot Product on Is Symmetric, Bilinear and Positive Definite (ii), The Dot Product on Is Symmetric, Bilinear and Positive Definite (iii)) give
and (The Dot Product on Is Symmetric, Bilinear and Positive Definite (i), Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (viii), and by Symmetric Real Matrices and the Set (i)). Hence, pointwise on ,
By the matrix images and Square-Integrable Vector-Valued Functions: Components, Dot Products and Almost-Everywhere Equality (ii), the three functions on the right are integrable, so the left side is integrable and
(Rules for Expectations, Variances and Covariances (iii)). Finally is -measurable, so (ii), applied with in place of , gives .
By (iii), in both remaining clauses equality holds if and only if , with as above.
Proof of (iv). As is positive semidefinite, for every (Positive Semidefinite and Positive Definite Real Matrices (i)), so (Rules for Expectations, Variances and Covariances (iv), Rules for Expectations, Variances and Covariances (ii)), and the inequality follows from (iii). If a.s., then a.s., as (Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v), The Dot Product on (i)), so (The Lebesgue Integral and Null Sets (iii)) and equality holds.
Proof of (v). By assumption . As is positive definite, whenever (Positive Semidefinite and Positive Definite Real Matrices (ii)), and whenever , as above. The function is therefore nonnegative, and it is measurable (Sums, Products, Transposes, Dot Products and Norms of Measurable Vector- and Matrix-Valued Maps (i)), so its integral as an element of is (Linearity and Monotonicity of the Lebesgue Integral, and the Integrability Criterion (vi)) and (The Lebesgue Integral and Null Sets (iv)). If , then and so . Thus is contained in an event of probability , that is, a.s. (Null Set of a Measure (i), A Property Holding Almost Everywhere (i)).
Loadingβ¦