1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Linear model
Describes an outcome using predictors
lm()
Fits a linear model
Outcome variable
What the model explains
Predictor (covariate)
Variable used to explain the outcome
Formula notation
Outcome ~ predictors
~
"Is modelled by"
Outcome ~ 1
Intercept-only model
Intercept
Predicted outcome when predictors are 0
Intercept with no predictors
The mean
Is the intercept the x-intercept?
No, where line meets the y-axis
Model prediction
Value the model expects
Residual
Observed minus predicted
Residual in intercept-only model
Value minus the mean
Residuals centred on
Zero
lm() assumes residuals are
Normally distributed
Is lm() a normal distribution?
No, it assumes normal errors
Error term
Random variation the model does not explain
confint()
Gives confidence intervals for a model
Frequentist
Gives interval for the mean only
Bayesian
Estimates mean and SD with intervals