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
Xtreg results in insufficient observationsHi everyone, I am currently running a regression where I am measuring the impact of factors on the r…
Can't correctly convert timeseries time variable daily to monthly format in STATA 17.Hello, I am a novice in stata, but I have spent several hours trying to solve this issue without any…
&, +, and logical idiosyncrasiesI don't really have a data question, but I'm quite fascinated about a recent thing I learned. Code:…
GMM xtabond2 with external IVsHello miracle makers, I would like to use GMM and external IVs at the same time and struggling to s…
"by" and missingness in table1_mcHi I have two queries relating to the use of table1_mc: 1) I would like to create a table1 descri…
Subscribe to:
Post Comments (Atom)
0 Response to Oaxaca analysis
Post a Comment