Artwork by @AllisonHorst
Are familiar with R.
Are new to linear modelling or haven’t covered it in a while.
Are new to linear modelling in R.
tidyverse
meta-package, broom
to tidy our models, and GGally
to plot our coefficients.In this course we explore linear models and their capabilities using a simulated dataset on salaries from different University departments.
What is the difference between a continuous and categorical variable?
What is variation and covariation?
Where does Exploratory Data Analysis fit in with analysis?
What is a model family and fitted model?
What is the difference between a response and an explanatory variable?
How to construct a linear model in R.
What are the slope and intercept in a linear model?
Picking out key information from the model table
How to extract specific parameters from the model object
How to pick out key information from the table from a fitted model.
How to inspect model residuals to assess model fit.
How to use Adjusted R-squared and AIC to compare models.
Artwork by @AllisonHorst
Follow the slides and complete the exercises.
To view the presenter notes in the slides, type ‘p’. If you would like to edit or adapt the slides you will need to install the package Xaringan and follow the instructions in the link.