MulaiMulai sekarang secara gratis

Performance ratings: accounting for job levels

Now that you're warmed up on logistic regression, you can use it to statistically test what you saw in an earlier graph - are women less likely to be labeled a high performer, even when taking differences in job level into account? You can test this by adding job_level into the glm() formula and looking at the new p-value. The process is the same as adding a new variable to a linear regression.

Latihan ini adalah bagian dari kursus

HR Analytics: Exploring Employee Data in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Run a multiple logistic regression
logistic_multiple <- ___
Edit dan Jalankan Kode