Differences between revisions 7 and 11 (spanning 4 versions)
Revision 7 as of 2025-01-10 14:33:11
Size: 797
Comment: Killing Econometrics page
Revision 11 as of 2025-09-24 13:43:06
Size: 730
Comment: Updated link
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Econometrics/OrdinaryLeastSquares/Multivariate
= OLS Multivariate Derivation =
= OLS Multiple Regression Derivation =
Line 22: Line 21:
The [[Calculus/PartialDerivatives|partial derivative]] of this constraint with respect to ''b'' is calculated like: The [[Calculus/PartialDerivative|partial derivative]] of this constraint with respect to ''b'' is calculated like:

OLS Multiple Regression 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/Multiple (last edited 2025-09-24 13:43:06 by DominicRicottone)