If I regress wages on education and the dummy variable gender using a linear conditional expectation function (wage = a + b(education) + c(gender)), how can I test that the slope b is the same for both males and females? i.e. the returns to education are the same?
Intuitively, I was thinking that one could conduct simple linear regressions of wage on education for males and females separately and then do a two-sample hypothesis test for whether the slope estimates are significantly different. Would this introduce issues with the omitted variable gender? Thank you.