IniziaInizia gratis

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.

Questo esercizio fa parte del corso

HR Analytics: Predicting Employee Churn in R

Visualizza il corso

Istruzioni dell'esercizio

  • Build a logistic regression model using all the independent variables in train_set_multi to predict turnover.
  • Print the summary of this model.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Build a multiple logistic regression model
multi_log <- ___(___, family = "binomial", 
                 data = train_set_multi)

# Print summary
___
Modifica ed esegui il codice