Linear and logistic regression
In the video, you saw that for some datasets, using logistic regression results in a model that is a much better fit to the data than linear regression. When you are using regression to compare something about two groups (the variable you are comparing is the dependent variable), using the right model will provide more accurate results.
Under what circumstances should you use logistic regression instead of linear regression?
This exercise is part of the course
HR Analytics: Exploring Employee Data in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
