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
Changing a discrete variable into a dummy and loosing significanceDear all, I am writing an essay using an unbalanced panel dataset. Right now I am using a Linear Pr…
IV variable option in Stata program syntaxHello I am trying to write a program to run a regression based on some criteria and I want to add t…
Indirect effects with zero-inflated Poission regression / SEMDear all, I have a causal chain X -> M -> Y and am interested in the indirect effect of X on …
Determining best fe-model with paneldata (u-test)Hello! I am new to stata and am investigating the relationship between paid leave (maternal and pare…
Test to compare Positive and Negative Predictive Value?Hi all, I wonder if its possible use a test to compare Positive and Negative Predictive Value with …
Subscribe to:
Post Comments (Atom)
0 Response to Oaxaca analysis
Post a Comment