Codex Wiki OurBigBook logoOurBigBook.comSite Source code
In R, lm(y ~ 1, data=d) fits an intercept-only linear model, lm(y ~ x1 + x2, data=d) adds quantitative predictors, and a factor predictor is expanded into indicator columns.

Ancestors (6)

  1. Normal linear model
  2. Statistical modelling
  3. Probability and statistics
  4. Area of mathematics
  5. Mathematics
  6. Home