EDA for a Numerical Explanatory Variable

Learn about analyzing numerical data to make observations that will help in regression.

Typing out all these summary statistic functions in summarize() would be long and tedious. Instead, let’s use the convenient skim() function from the skimr package. This function takes in a data frame, skims it, and returns the commonly used summary statistics. Let’s take our evals_ch5 data frame, select() only the outcome and explanatory variables teaching score and bty_avg, and pipe them into the skim() function:

Get hands-on with 1400+ tech skills courses.