Multiple Regression

A regression with KK explanatory variables, yi=β0+β1x1i+⋯+βKxKi+uiy_i=\beta_0+\beta_1x_{1i}+\dots+\beta_Kx_{Ki}+u_i, where each βk\beta_k is the effect of xkx_k on yy holding all the other regressors fixed.

When to use

Whenever one regressor is not enough. OLS still minimises ∑u^i2\sum\hat u_i^2, now with K+1K+1 first-order conditions (∑u^i=0\sum\hat u_i=0 and ∑xkiu^i=0\sum x_{ki}\hat u_i=0 for each kk). In R: summary(lm(y ~ x1 + x2, mydata)).

See Lecture 3.

Appears in

No references yet.