Chapter 4
The least-squares regression line
- Specify how a regression function is related to the task of predicting one outcome from another.
- Specify the form of a simple linear regression of a response variable \(y\) on an explanatory variable \(x\). Equivalently, identify the form of a simple linear regression model for predicting a response variable \(y\) using a predictor variable \(x\).
- Recall, from either high school or college algebra / precalculus, the equation for a line and the interpretation of the slope and intercept of the line.
- Identify the slope and intercept from a simple linear regression model, and interpret the slope and intercept in the context of a prediction problem.
- Use a simple linear regression model to predict a response variable at a given value of the predictor.
- Determine the residual / error of a prediction given a simple linear regression model, a value for the explanatory variable, and a response variable at that value of the explanatory variable.
Association does not imply causation
- Give examples where an observed association between two variables does not result from a causal influence from one variable to the other.
- Explain the motto “association does not imply causation,” or its more popular counterpart “correlation does not imply causation.”
R
- Perform a simple linear regression using R.
- Relate the output of
lm
to the slope and intercept of the fitted simple linear regression equation.