474 rows, 5 columns
Gender, Current Salary, Years of Education, Minority Classification and Date of Birth
116 rows, 5 columns
The null hypothesis is that mean salary does not differ by sex in the sample population.
Because this means that this variable held constant. Therefore, the salaries can be observed knowing that education years, which has a large impact on job opportunities and salaries, is not impacting the t-test results.
The t-statistic is 5.0443.
The p-value is 1.977e-06
The 2.5% lower limit is $3930.78 difference and the upper 2.5% limit is $9024.88 difference.
No, the 95% CI does not include the value 0.
The mean salary for men is $33527.83 and for women $27050.00
The null hypothesis can be rejected with 95% confidence that the salary difference between men and women is between $3930.78 and $9024.88.
The t-statistic is 2.4432
The p-value is 0.01755
The 2.5% lower limit is $664.49 difference and the upper 2.5% limit is $6673.25 difference.
No, the 95% CI does not include the value 0.
The mean salary for non-minority is $32507.33 and for minority is $28838.46.
The null hypothesis can be rejected with 95% confidence that there is a salary difference between non-minority and minority employees and that this difference is between $664.49 and $6673.25.
Yes, there is a significant difference in salaries between non-minority men and and minority men at 95% CI. This is because the p-value is 9.209e-08, making it extremely unlikely that the relationship of non-minority men earning higher salaries than minority men occurred by chance.
Yes, there is a significant difference in salaries between non-minority women and and minority women at 95% CI. This is because the p-value is 5.478e-05, making it very unlikely that the relationship of non-minority women earning higher salaries than minority women occurred by chance.
| Mean Salaries | Male | Female |
|---|---|---|
| Non-minority | $44,475.41 | $26,706.79 |
| Minority | $32,246.09 | $23,062.50 |
attach(empnum_15years)
interaction.plot(Gender, `Minority Classification`, `Current Salary`)
The interaction plot shows how the mean salary differs based on gender, with the dashed line representing non-minority and solid line representing minority. It tells that the salaries are consistently higher for non-minority employees with 15 years of education than minority equivalents. The positive slope on both of the lines means that non-minorities and minorities have men earning higher salaries than women. The diverging nature of the dashed (0) and solid (1) lines illustrates a strong interaction between the two variables, where the gap between non-minority and minority grows even larger for men.