# Exercise 6: HR Attrition Analysis **Lesson:** 6 | **Data:** `data/hr.csv` ## Tasks 1. Overall attrition rate (`left_company` mean). 2. Attrition by `department` and by engagement bucket (low < 5 vs high ≥ 5). 3. Simple logistic model: predict `left_company` from tenure, salary, engagement (no protected classes). 4. List two ethical guidelines for using this model in practice. ## Reflection Could a policy that helps average engagement hurt a subgroup? (Simpson's paradox)