the joke
adding a predictor to a linear regression can never lower r-squared, even if the predictor is pure noise. so a rising r-squared after adding variables tells you almost nothing about whether they belong. adjusted r-squared or out-of-sample checks exist for exactly this.
words you need
- r-squared
- the share of variance in the outcome explained by the model, in-sample.
- adjusted r-squared
- r-squared penalized for the number of predictors. can go down.
spec sheet
| variables added | several |
|---|---|
| r-squared | higher, inevitably |
| evidence | none |
| overfitting | likely |
known issues
- someone will add their birth month to your model and improve the fit.
- validation on new data is the honest check.
goes with
- STEPWISE SELECTION IS NOT A METHOD, IT'S A CONFESSION stepwise selection uses this sort of reasoning.
- DEGREES OF FREEDOM: FEWER THAN YOU THINK every variable spends a degree of freedom.
