Dear All,
I am new to Stata .
I have the regression below.
I have merged cross-sectional data and I am trying to measure the effect of motherhood on the earnings of women. I also wish to analyze if motherhood penalty was deeper than others for some occupation or education level or group. I have checked the forum but I couldnt find exactly I want. My objective variable here that I wanna see group differences is independent variable mother. Here how should I make Stata to provide me the mother coefficient changes for different education status?
I tried to run the regression by groups but I believe it is not the right strategy.
Thanks in advance.
I am new to Stata .
I have the regression below.
Code:
reg lnearnings mother age education occupation jobtenure jobintensity i.yearsurvey
I tried to run the regression by groups but I believe it is not the right strategy.
Code:
by education: reg lnearnings mother age education occupation jobtenure jobintensity i.yearsurvey

Comment