Skip to content

Survival Analysis Report

This report summarizes the initial survival analysis layer for RetainAI.

Analytical Setup

  • Event: Attrition = Yes
  • Duration: YearsAtCompany
  • Censoring: Attrition = No

Kaplan-Meier Survival Probabilities

timesurvival_probability
10.948192
20.927792
30.911342
50.872931
100.776815

Cox PH Concordance Index

0.9509

Cox PH Hazard Ratios

featurecoefexp(coef)pcoef lower 95%coef upper 95%
OverTime_Yes0.8053812.237559.72625e-140.5933451.01742
JobRole_Sales Representative0.643561.903240.003407360.2128251.07429
JobRole_Laboratory Technician0.4051261.499490.0064390.1136890.696563
BusinessTravel_Travel_Frequently0.3919661.479890.006612350.1090840.674848
MaritalStatus_Single0.3614981.435480.004533640.111880.611116
EducationField_Technical Degree0.2542451.289490.154049-0.09535540.603845
JobRole_Human Resources0.2026661.224660.46429-0.3401290.745462
EducationField_Marketing0.170951.186430.339606-0.1799140.521814
Gender_Male0.1385941.148660.191231-0.06924870.346437
Department_Sales0.1248241.132950.411612-0.1731450.422794
NumCompaniesWorked0.09297921.097441.06196e-050.0516010.134357
BusinessTravel_Travel_Rarely0.03813181.038870.767287-0.2144220.290685
PerformanceRating0.01674421.016890.917941-0.3017910.335279
DistanceFromHome0.01444171.014550.02050750.002225020.0266584
MonthlyRate5.46144e-061.000010.449232-8.68456e-061.96074e-05
HourlyRate-1.75724e-050.9999820.994502-0.005015460.00498032
MonthlyIncome-2.86165e-050.9999710.0642935-5.89317e-051.69869e-06
DailyRate-0.0001554780.9998450.223254-0.0004056839.47278e-05
PercentSalaryHike-0.00149910.9985020.925231-0.03280760.0298094
JobRole_Sales Executive-0.001891560.998110.990462-0.3120210.308238
Education-0.004713450.9952980.92513-0.103020.0935931
YearsSinceLastPromotion-0.01074860.9893090.563808-0.04724730.0257501
Age-0.0191310.9810510.00353095-0.0319841-0.00627792
TotalWorkingYears-0.03446820.9661190.000203224-0.0526531-0.0162833
JobRole_Research Scientist-0.04211530.9587590.776411-0.3327660.248535

Notes

  • Kaplan-Meier provides a non-parametric survival curve.
  • Cox PH estimates covariate effects through hazard ratios.
  • Results are exploratory and depend on the proxy duration variable YearsAtCompany.

Built with VitePress and deployed with GitHub Pages.