Hi,
I am trying to use oaxaca command to run a nonlinar decomposition analysis
I am using this code:
oaxaca smokercat gendercat (agecat: normalize(b.agegrp1 agegrp2 agegrp3)) ///
(ethnirac: normalize(ethrac1 b.ethrac2 ethrac3)) (marital_status: normalize (b.mars1 mars2 mars3)) ///
, by(jointcat) logit noisily relax pooled

some variables were omitted to simplfiy the code.
However, I always get an error message: option by() required r(198);
jointcat is a binary variable (0/1).
Would it be possible to help me?
Thank you.