HR Analytics
HR Analytics
HR Analytics
LeaverStatus
Min. :0.0000
1st Qu.:0.0000
Median :0.0000
Mean :0.1277
3rd Qu.:0.0000
Max. :1.0000
NA's :1
> print(chisq.test(turn.data))
data: turn.data
X-squared = 14.509, df = 9, p-value = 0.1053
> lmturn<-
lm(LeaverStatus~BossGender+Gender+Age+AppraisalRating+Country+LengthOfService,data=
Individual_Turnover)
> summary(lmturn)
Call:
lm(formula = LeaverStatus ~ BossGender + Gender + Age + AppraisalRating +
Country + LengthOfService, data = Individual_Turnover)
Residuals:
Min 1Q Median 3Q Max
-0.33151 -0.14877 -0.10720 -0.06595 0.97293
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.933e-01 6.348e-02 6.196 7.3e-10
BossGender -2.022e-02 1.793e-02 -1.128 0.259636
Gender -6.093e-02 1.655e-02 -3.682 0.000239
Age -3.308e-05 1.021e-03 -0.032 0.974163
AppraisalRating -3.493e-02 1.186e-02 -2.945 0.003277
Country -8.668e-03 3.871e-03 -2.240 0.025250
LengthOfService -1.707e-03 1.033e-03 -1.653 0.098530
(Intercept) ***
BossGender
Gender ***
Age
AppraisalRating **
Country *
LengthOfService .
---
Signif. codes:
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
lmturn2<-lm(LeaverStatus~Age+I(Age^2),data=Individual_Turnover)
> summary(lmturn)
Call:
lm(formula = LeaverStatus ~ BossGender + Gender + Age + AppraisalRating +
Country + LengthOfService, data = Individual_Turnover)
Residuals:
Min 1Q Median 3Q Max
-0.33151 -0.14877 -0.10720 -0.06595 0.97293
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.933e-01 6.348e-02 6.196 7.3e-10
BossGender -2.022e-02 1.793e-02 -1.128 0.259636
Gender -6.093e-02 1.655e-02 -3.682 0.000239
Age -3.308e-05 1.021e-03 -0.032 0.974163
AppraisalRating -3.493e-02 1.186e-02 -2.945 0.003277
Country -8.668e-03 3.871e-03 -2.240 0.025250
LengthOfService -1.707e-03 1.033e-03 -1.653 0.098530
(Intercept) ***
BossGender
Gender ***
Age
AppraisalRating **
Country *
LengthOfService .
---
Signif. codes:
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>