I am trying to understand how much of the variation between martial status and race is explained by wage and what is left over after accounting for wage. I thought a residual analysis is best for this exercise but it is not working or I am implementing it incorrectly. After looking at the output,. Every p-value is 1.000.
Code:
sysuse nlsw88.dta, clear regress married i.race c.wage predict residuals, residuals regress residuals i.race
Comment