Explain Variation in Your Data

Use linear regression to explain variation statistically, assess the fitted relationship and check its assumptions. Statistical explanation does not establish causation.

Learning objectives

At the end of this session you should be able to

  • fit a straight-line model and interpret its intercept, slope and R²;
  • use residual plots to discuss the mean pattern, error spread and normal approximation;
  • explain which assumptions need information about the sampling design;
  • calculate sums of squares and interpret the ANOVA slope test alongside those checks.

Start with the modeling explanation and the regression example. Then work through Checking Regression Assumptions before Assignment 05.

Comments?

You can leave comments below if you have questions or remarks about any of the text or code in this unit. Please copy the corresponding line into your comment to make it easier to answer your question.

Updated: