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   Chiara Mussida <[email protected]>
To   [email protected]
Subject   Re: st: oaxaca twofold decomposition
Date   Fri, 25 May 2012 16:59:44 +0200

THanks,
the problem is that Stata does not allow me to reinstall the Oaxaca. By tipying:

ssc install oaxaca
checking oaxaca consistency and verifying not already installed...

the following files already exist and are different:
    c:\ado\plus\o\oaxaca.ado
    c:\ado\plus\o\oaxaca.hlp

no files installed or copied
(no action taken)
r(602);

the errore message says that Stata cannot overwrite the existing file!






On 25/05/2012, Fernando Rios Avila <[email protected]> wrote:
> 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/
>


-- 
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/


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