Stata do file* Imagine that you have two groups in your sample and you are wondering if both groups respond the explanatory variables in the same manner.clearset obs 1000gen group=rbinomial(1,.5)gen x = rnormal()gen y = 2 + 3*x + rnormal()*2 if group==…
Continue reading Checking for differences in estimates by group
