There are three learnr
tutorials in this directory:
tutorial-intro-lm
introduces thelm
function as applied to simple linear regression and basics of linear regression modeling. Thetidy
andglance
functions from thebroom
package is also introduced here. Interpretation of coefficient estimates and statistical inference are briefly discussed.tutorial-diag-pred-augment
introduces multiple linear regression, as well as theaugment
function frombroom
. Interpretation of coefficient estimates and statistical inference are briefy discussed, as well as interaction terms and corresponding interpretations. Finally, we useaugment
andggplot
to evaluate model diagnostics.tutorial-logistic
introduces logistic regression as a way to create a model for binary outcomes. This tutorial also makes heavy use of thebroom
package.
The beijing.csv
dataset is used for the linear model tutorials; the pokemon.csv
dataset is used for the logistic regression tutorial.