Developed by SSI & funded by SFC.
Data Carpentry’s aim is to teach researchers basic concepts, skills, and tools for working with data so that they can get more done in less time, and with less pain. This lesson was designed for researchers interested in working with public health data in R, but may be of interest to researchers in other fields as well.
This lesson provides an introduction to simple linear regression. The episodes cover the concept of simple linear regression, the use of simple linear regression with various types of predictor variables (single continuous variable, single factor variable with two groups and single factor variable with more than two groups), predictions of the mean and the assessment of model fit and assumptions.