Projection, Fitted Values, and Leverage

The fitted-value operator

In a full-rank linear regression with design matrix X, the least-squares fitted vector is y-hat = Hy, where H = X(X′X)−1X′. This matrix is called the hat matrix because it puts a hat on y. It projects y onto the column space of X, the set of response patterns the model can represent.

Projection leaves diagnostic fingerprints

Because H is an orthogonal projection, it is symmetric and idempotent: H′ = H and H2 = H. Its rank and trace equal the number of estimable model coefficients. The residual vector e = (I − H)y is orthogonal to every column of X, which is the matrix statement of the normal equations.

Leverage is about predictors

The diagonal value hii is an X-determined self-sensitivity quantity: it is the weight on yi in its own fitted value. A numerical hii alone cannot label a predictor pattern unusual; interpret it against p/n and the full set of leverage values.


It does not measure whether that response is large, whether the residual is large, or whether the observation is necessarily influential. Influence requires leverage and a response discrepancy together.

For a full-rank least-squares design matrix X, H = X(X′X)-1X′. Which identity is expected?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In a regression with an intercept and several predictors, observation 17 has h17,17 = 0.62. Which interpretation is justified from this value alone?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A linear model has four estimable coefficients, including its intercept. Which total of the diagonal hat values is required?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors