Dear Stata Forum,
I would like to calculate the mean outcome of the binary variable (changeoccup) by ethnic group however Adjusted for age.
Is my code below correct in using balance(age)?
Thank you very much,
Nico
Code:
dstat (mean) changeoccup [pweight=weightpropensity], over(ethnicity) balance(age)