Linear Models Flashcards
What is regression?
A way to study relationships between variables
What are the two main reasons we do regression?
- Description and Explanation (genuine interest in the nature of the relationship between variables)
- Preciction (using variables to predict others)
Describe the formula for the response
Response = intercept + slope x explanatory variable
Describe the intercept
- where the regression line cuts the vertical axis
- the expected value of the response when xi = 0
Describe the slope
- the gradient of the regression line
- expected change in the response where xi increases by 1 unit
What does the error term allow for?
Deviation from the linear relationship
Describe the least squares criterion
Choose values for the parameters to minimise the sum of the squared differences between the observed data and the predicitions under the model
What is a residual?
The vertical distances between the observed data and the best fit line
What is a best fit line?
A line that minimises the residual sum of squares