Exercise 11: Chi-square and categorical association
Use data/employee_survey.csv.
- Create a contingency table of
managerbydepartment. - Calculate row percentages.
- Run the chi-square test of independence.
- Inspect expected counts.
- Calculate Cramér’s V.
- Write two sentences interpreting the pattern without causal language.