Introduction and Exploratory Data Analysis
Get introduced to multiple regression and learn how to get started with exploratory data analysis.
We'll cover the following
We introduced ideas related to modeling for explanation, in particular that the goal of modeling is to make explicit the relationship between some outcome variable
In multiple regression, we’ll start considering models that include more than one explanatory variable
Our regression models will now consider more than one explanatory variable. Hence, the interpretation of the associated effect of any one explanatory variable must be made in conjunction with the other explanatory variables included in our model.
Needed packages
Recall that loading the tidyverse
package by running the library(tidyverse)
loads the following commonly used data science packages all at once:
The
ggplot2
package for data visualizationThe
dplyr
package for data wranglingThe
tidyr
package for converting data to tidy formatThe
readr
package for importing spreadsheet data into RThe
purrr
,tibble
,stringr
, andforcats
packages, which are much more advanced
Get hands-on with 1200+ tech skills courses.