Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2024-06-05 22:55:49
Size: 486
Comment: Partial 3?
Revision 8 as of 2025-01-10 14:34:03
Size: 724
Comment: Killing Econometrics page
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Ordinary Least Squares Multivariate Proof = = OLS Multivariate Derivation =
Line 21: Line 21:
The partial derivative of this constraint with regard to ''b'' is calculated like: The [[Calculus/PartialDerivatives|partial derivative]] of this constraint with respect to ''b'' is calculated like:
Line 23: Line 23:
{{attachment:b1.svg}}

{{attachment:b2.svg}}

Set this derivative to 0 to find the minimum with respect to ''b''.

{{attachment:b3.svg}}

{{attachment:b4.svg}}

{{attachment:b5.svg}}

{{attachment:b6.svg}}

OLS Multivariate Derivation

The model is constructed like:

model1.svg

where:

  • y and ε are vectors of size n

  • β is a vector of size p

  • X is a matrix of shape n by p

This is estimated as:

model2.svg

with the constraint:

model3.svg

The partial derivative of this constraint with respect to b is calculated like:

b1.svg

b2.svg

Set this derivative to 0 to find the minimum with respect to b.

b3.svg

b4.svg

b5.svg

b6.svg


CategoryRicottone

Statistics/OrdinaryLeastSquares/Multivariate (last edited 2025-01-10 14:34:03 by DominicRicottone)