Derivation and Properties of OLS Residuals: e = (I-H)Y, including E(e) = 0 and Var(e) = σ²(I-H)
Explore the derivation and properties of OLS residuals: \( e = (I-H)Y \), \( E(e) = 0 \), and \( Var(e) = \\sigma^2(I-H) \). Understand their geometric meaning and statistical implications for model diagnostics.
Visualizing...
Our institutional research engineers are currently mapping the formal proof for Derivation and Properties of OLS Residuals: e = (I-H)Y, including E(e) = 0 and Var(e) = σ²(I-H).
Apply for Institutional Early Access →The Formal Theorem
Analytical Intuition.
Institutional Warning.
Students often confuse OLS residuals with true errors . While estimates , are correlated and generally heteroscedastic, unlike the assumed properties of . Grasping clarifies this distinction.
Academic Inquiries.
Why is even though individual are not necessarily zero?
refers to the expected value of the *vector* of residuals. It means that, on average, across repeated samples, the OLS model is unbiased and does not systematically over- or underestimate the response. For any given sample, the residuals will sum to zero (if an intercept is included in the model), but they are not individually expected to be zero. This condition is a direct result of the Gauss-Markov assumption and the properties of the OLS estimator.
If (homoscedasticity), why isn't ?
This is a crucial distinction. because are *not* the true errors . Instead, . Applying the variance operator, . Since is not the identity matrix, is not . This implies that (heteroscedasticity for residuals) and (correlation among residuals), even if the true errors are homoscedastic and independent.
What is the significance of the Hat matrix being idempotent and symmetric in the context of residuals?
The idempotency and symmetry are fundamental. They imply that is also idempotent and symmetric. These properties are critical for simplifying : . Geometrically, they signify that and are orthogonal projection matrices onto complementary subspaces. This algebraic elegance underpins the statistical properties of residuals, particularly their covariance structure and degrees of freedom.
Can ever be equal to ?
In a specific, theoretical scenario where is perfectly observed and perfectly explains such that is a zero matrix (which is impossible if has columns), or more practically, if is an identity matrix (meaning predictors are just observations themselves), then would simplify dramatically. However, in the standard OLS setup, is a projection matrix, and . So, . They are only equal if , which means would have to be empty or effectively zero, nullifying the regression. Thus, and are almost never identical; is always a projected version of .
Standardized References.
- Definitive Institutional SourceSeber, G. A. F., & Lee, A. J. Linear Regression Analysis.
Related Proofs Cluster.
The Matrix Formulation of the General Linear Model: Y = Xβ + ϵ and its Fundamental Assumptions
Master the matrix formulation of the General Linear Model, \( Y = X\beta + \epsilon \), and its fundamental assumptions. Rigorous yet intuitive content for BSc Math/Stats students.
Derivation of the Ordinary Least Squares (OLS) Estimator: β̂ = (X'X)⁻¹X'Y
Master the OLS estimator derivation: \( \hat{\beta} = (X'X)^{-1}X'Y \). Explore the geometric orthogonality, matrix calculus, and Gauss-Markov foundations.
Proof of Unbiasedness of the OLS Estimator: E(β̂) = β
Master the rigorous proof of OLS estimator unbiasedness, \( E(\hat{\boldsymbol{\beta}}) = \boldsymbol{\beta} \). Understand critical assumptions, geometric intuition, and common pitfalls for robust linear modeling.
Derivation of the Variance-Covariance Matrix of the OLS Estimator: Var(β̂) = σ²(X'X)⁻¹
A rigorous derivation of the Variance-Covariance matrix for the OLS estimator, exploring the geometric impact of data configuration on statistical precision.
Institutional Citation
Reference this proof in your academic research or publications.
NICEFA Visual Mathematics. (2026). Derivation and Properties of OLS Residuals: e = (I-H)Y, including E(e) = 0 and Var(e) = σ²(I-H): Visual Proof & Intuition. Retrieved from https://www.nicefa.org/library/general-linear-models-/derivation-and-properties-of-ols-residuals--e----i-h-y--including-e-e----0-and-var-e-------i-h-
Dominate the Logic.
"Abstract theory is just a movement we haven't seen yet."