Get startedGet started for free

Using regression to identify change drivers

It's time to use what you know about multiple regression to answer the executive's question: why did the accident rate increase?

Phrased another way, is there a variable in your dataset that, when added into a multiple regression, can explain the difference in accident rates between the two years?

This exercise is part of the course

HR Analytics: Exploring Employee Data in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Use multiple regression to test the impact of year and disengaged on accident rate in Southfield
regression <- ___
Edit and Run Code