Linear Regression Flashcards
What is simple regression?
Describes the linear relationship between an independent (explanatory) variable and a dependent (response) variable.
What is the relationship between an independent variable and a dependent variable?
The independent (explanatory) variable is used to predict values for the dependent (response) variable.
What 2 things do we need to know to describe a straight line on a graph?
- Intercept
- Gradient
Write the regression equation.
y = b(0) + b(1) x + e(i)
How is the line of best fit placed in regression?
Line is placed to minimise the distance between data points and the line (sum of the squared errors).
What is the error in regression?
The difference between the observed and predicted value (e).
What is the Ordinary Least Squares (OLS) ?
A method for estimating the unknown parameters in a
linear regression model.
Give a requirement for using OLS.
Dependent variable must be continuous.
What is the purpose of R(2)?
Measures the proportion of the variation in the y variable explained by the model.