PENROSE PARTICLES / STUDY 10 / PEOPLE ANALYTICS

The Resignation Equation

Can we recognize the workplace conditions associated with people leaving — before turnover becomes a costly surprise?

Demonstration, not an employee assessment. The interactive probabilities below use illustrative coefficients, not a model trained or validated on IBM data. The IBM dataset is fictional; this page is for learning and portfolio demonstration, not employment decisions.

Reference dataset 1,470 fictional employee records
Published dataset attrition ~16% descriptive baseline, not model accuracy
Inputs in this demo 4 editable workplace characteristics
Scenario output — illustrative departure probability
01 / INTERACTIVE MODEL

Change the conditions

Edit the blue spreadsheet cells. The scenario updates immediately. Each field has the same meaning as the public dataset.

XLS employee_attrition_scenario Scenario_01
# A B C
1 SCENARIO INPUTS — EDIT COLUMN B
2 Overtime Works overtime
3 Job satisfaction Dataset scale: 1–4
4 Monthly income
$
Dataset's nominal currency units
5 Years at company Tenure: 0–40 years
6 FORMULA OUTPUT
7 Illustrative probability of leaving — Scenario only; not validated
8 Illustrative probability of staying — 100% minus leave probability
9 Model score (z) — Log-odds before conversion
10 EXCEL-COMPATIBLE FORMULA
11 =1/(1+EXP(-(-1.55+1.05*B2-0.45*(B3-2.5)-0.00006*(B4-6500)-0.065*(B5-5))))
Illustrative probability of leaving —
0% 25% 50% 75% 100%
Changes reflect assumptions in the demonstration coefficients, not measured causal effects.
02 / SENSITIVITY CHECK

What changes the estimate?

Hold the other inputs fixed and vary one condition at a time. These are model simulations, not observed employee outcomes.

03 / REPRODUCIBLE RESEARCH

From exploration to a defensible model

Research question: Which workplace characteristics are associated with employee attrition? The source is IBM HR Analytics Employee Attrition & Performance, a fictional dataset of 1,470 employee records and 35 fields. View the original dataset ↗ View Python Analysis on GitHub ↗

Demonstration formula: P(leave) = 1 / (1 + EXP(−z)), where z = −1.55 + 1.05 × overtime − 0.45 × (satisfaction − 2.5) − 0.00006 × (monthly income − 6500) − 0.065 × (years at company − 5). These are invented illustrative parameters. They are not conclusions from the data.

Reproduction: Download the CSV from Kaggle, place it alongside study-10-analysis.py, and run the Python script. It produces a holdout evaluation and exports fitted coefficients as study-10-model.json. Only then should the webpage coefficients be replaced with the trained estimates.

Responsible use: A model built on fictional employee data does not generalize to real people. Real HR systems require suitable data, time-aware validation, fairness testing, privacy review, governance and human oversight. Never use this prototype to rank or make employment decisions about individuals. Associations do not establish causes.