Traditional Culture Encyclopedia - Traditional stories - How to use SPSS to do regression test of gender discrimination?

How to use SPSS to do regression test of gender discrimination?

Salary is y, other variables are x, make a linear regression, linear regression. If the virtual variable gender has a significant impact on wages, there is gender discrimination. Because men are 0 and women are 1, there is gender discrimination when wages are negatively correlated with gender (the coefficient is negative).