Build a multiple logistic regression model
An employee's decision to leave the organization usually depends on more than just one factor. Hence, considering only one independent variable would not be of much use when trying to predict turnover.
In this exercise, you will use all the independent variables in the dataset (train_set_multi) to build a multiple logistic regression model.
本练习是课程的一部分
HR Analytics: Predicting Employee Churn in R
练习说明
- Build a logistic regression model using all the independent variables in
train_set_multito predictturnover. - Print the summary of this model.
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Build a multiple logistic regression model
multi_log <- ___(___, family = "binomial",
data = train_set_multi)
# Print summary
___