Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: oaxaca twofold decomposition


From   Fernando Rios Avila <[email protected]>
To   [email protected]
Subject   Re: st: oaxaca twofold decomposition
Date   Fri, 25 May 2012 10:49:26 -0400

Hi Chiara
I think you should reinstall the new version of the oaxaca command
-ssc install oaxaca -
For instance, with my own data, i could make the decomposition respect
to union and non union workers using the following command:
xi:oaxaca lnwageh $var1[aw=factor], swap weight(`um') by(union)
nodetail relax cluster(upm)
where `um' is the weight for the counter factual.
you might find more details on the help file of the "new" -oaxaca- command.
Fernando
On Fri, May 25, 2012 at 10:33 AM, Chiara Mussida <[email protected]> wrote:
> Dear All,
> I estimated an Oaxaca model by using the twofold (explained vs
> unemplained decomposition) with Stata 11.2. Command:
>
> qui regress lwage $x if fem==0
> estimates store male
> qui regress lwage $x if fem==1
> estimates store female
> oaxaca male female, wei(1)
>
> where fem==0 is my reference group.
> I tried doing the same with Stata ver 12.1, but I did get an error message:
> "variable male not found". The sintax is probably changed with this
> new version. I looked at the help but I dod not find a similar command
> to get my twofold Oaxaca.
>
> Any suggestions,
> Thanks
> Chiara
>
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, Piacenza (Italy)
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index