Regression Refresher

Learn about evaluation analysis and sampling scenarios in inference for regression.

Needed packages

Let’s load all the packages needed for this chapter. Loading the tidyverse package by running library(tidyverse) loads the following commonly used data science packages all at once:

  • ggplot2: This is for data visualization.

  • dplyr: This is for data wrangling.

  • tidyr: This is for converting data to the tidy format.

  • readr: This is for importing spreadsheet data into R.

  • purrr, tibble, stringr, and forcats: These are the more advanced packages.

Get hands-on with 1200+ tech skills courses.