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.
Related Posts with Oaxaca analysis
when should I use program?I start to read program tutorial in Stata. But I'm still confused when I should use program. …
One unique value label for several variables: how changing that automatically ?Hi everyone, I have a big dataset which i have for hundreds variables an unique label value. Here i…
Reshape: (note: it20180624 not found)Hello all, I am trying to reshape my data from wide format to long format the variable I am trying t…
can anyone share a template of beginning of do file?Currently, I just have three lines at the beginning of my do file. What do you think? Code: clear …
Three-level multilevel model-Stata is running a random slope for something constantI'm currently working with panel data with five waves of data. Persons are nested within teams, so I…
Subscribe to:
Post Comments (Atom)
0 Response to Oaxaca analysis
Post a Comment