A Matrix Formulation of The Multiple Regression Model
A Matrix Formulation of The Multiple Regression Model
model
• Y=Xβ+ϵ
•
• Now, what does this statement mean? Well, here's the answer:
• X is an n × 2 matrix.
• Y is an n × 1 column vector, β is a 2 × 1 column vector, and ε is an n × 1
column vector.
• The matrix X and vector β are multiplied together using the techniques
of matrix multiplication.
• And, the vector Xβ is added to the vector ε using the techniques of matrix
addition.
Least squares estimates in matrix notation
• = (X′X)−1X′Y
• where:
• (X'X)–1 is the inverse of the X'X matrix, and
• X' is the transpose of the X matrix.
• As before, that might not mean anything to
you, if you've never studied matrix algebra —
or if you have and you forgot it all!