1. Salary vs Attrition

Correlation

## 
##  Pearson's Chi-squared test
## 
## data:  table1
## X-squared = 381.23, df = 2, p-value < 2.2e-16

Technical Analysis

The p-value is less than 0.01. Indicating a relationship between employee attrition and salary.

Non-Technocal Analysis

Employees with lower salaries are more likely to leave the company compared to those with higher salaries.

Graph

2. Promotion in the last 5 years vs Attrition

Correlation

## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  table2
## X-squared = 56.262, df = 1, p-value = 6.344e-14

Technical Analysis

The p-value is less than 0.01. Indicating a relationship between employee attrition and whether the employee was promoted in the last 5 years.

Non-Technical Analysis

Employees who were not promoted in the last 5 years are more likely to leave the company.

Graph

3. Work Accident vs Attrition

Correlation

## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  table3
## X-squared = 357.56, df = 1, p-value < 2.2e-16

Technical Analysis

The p-value is less than 0.01. Indicating a relationship between employee attrition and whether the employee had a work accident.

Non-Technical Analysis

Employees who have not experienced a work accident are more likely to leave the company.

Graph

4. Department vs Attrition

Correlation

## 
##  Pearson's Chi-squared test
## 
## data:  table4
## X-squared = 86.825, df = 9, p-value = 7.042e-15

Technical Analysis

The p-value is less than 0.01. Indicating a relationship between the department and employee attrition.

Non-Technical Analysis

Employees in some departments like sales and technical are more likely to leave compared to others like HR or management.

Graph