Chapter 3
Explanatory and response variables
- Define explanatory and response variables in terms of their roles in predicting one variable from another.
- Given a predictive question about two variables, identify which variable is the explanatory variable and which is the response variable.
Relationship between two quantitative variables: scatterplots
- Interpret a scatter plot showing the relationship between an explanatory variable and response variable in a data set.
- Construct a scatter plot from a (small) data set with two quantitative variables.
Adding categorical variables to scatterplots
- Explain how to construct a scatter plot that also includes the value of a categorical variable for each individual in a data set.
Measuring linear association: correlation
- State the formula for the sample covariance and sample correlation.
- State the major properties of the sample correlation.
- Given a scatter plot, identify whether the sample correlation for the points is positive, negative, or nearly zero.
Nonlinear Relationships (Handout)
- Explain why it is sometimes appropriate to transform either the explanatory variable, the response variable, or both, before computing a sample correlation.
R
- Construct a scatter plot using
mosaic
in R.
- Construct a scatter plot that includes a categorical variable using
mosaic
in R.
- Compute the sample correlation between two variables using
mosaic
in R.
- Compute \(\log_{10} (x)\) in R.
- Compute the sample correlation between transformed explanatory and response variables.