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
Interpreting margins results for a mlogit regression with variable of interest in logHello everyone This was a long title, but it summarizes well my issue. I ran a mlogit regression w…
Graph Bar problem with allcategories and nofill optionDear User, since I can't post a .dta file, I try to explain my problem. I can't create an example d…
Stata DateI have posted a dataex for my data which quotes dates in the form YYYY.MM: * Example generated by -d…
Two-Stage Least Squares with cross-section weights and adjusted-R2Hi! I am currently analysing daily yield spreads of the euro-area countries over a 10-year period. I…
reformat (destring) var questionHi Hi, I am relatively new to stata and want to reformat a variable. the var is named p3_start_TS, …
Subscribe to:
Post Comments (Atom)
0 Response to Oaxaca analysis
Post a Comment