Part 4
Ho: Attrition and Department are independent variables.
Ha: Attrition and Department are dependent variables.
Q4.1: Department with the highest raw count of attrition: Research and Development.
Q4.2 Chi-Square Statistic = 5.487
df= 2
p-value = 0.064
Q4.3: Decision: Fail to Reject Ho
Because the p-value is greater than 0.05, we fail to reject the null hypothesis. There is not enough statistical evidence to conclude that attrition and department are related. This suggests that the department an employee works in does not significantly influence whether they leave the company.