The author's beef should be with the idiots who would take this model and then say "yep looks like since these two groups have different regression lines it's totally great that we see large differences between these groups"
The author's beef should be with the idiots who would take this model and then say "yep looks like since these two groups have different regression lines it's totally great that we see large differences between these groups"
My reading of the plots is that the difference between the groups seems to grow beyond what is present in the data. Do you not think this is amplified?
As for conditioning on a biased variable; this post uses a contrived example for sure. But the same thing happens with variables that correlate with the “naughty” variable (perhaps author should have explicitly showed this to drive the point?)
Removing all variables that correlate with “naughty variables” is a pretty difficult task itself without having something to detect the correlation and tell you. At least that’s been my experience.
This is debatable in this case. The grouped model might be a better fit to the data: it indicates a higher bias in salaries at higher skill levels.
It sounds completely plausible that the gender bias for unskilled workers is less than for high skilled workers.
Models can be under-fit as well as over fit. Just using a dummy variable for gender might not properly capture interactions like this.
But of course it’s always possible that this is just an artefact of the training data.