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: Re: st: oaxaca twofold decomposition
From
Chiara Mussida <[email protected]>
To
[email protected]
Subject
Re: Re: st: oaxaca twofold decomposition
Date
Mon, 28 May 2012 11:33:39 +0200
Dear Nick and All,
the version is:
*! version 4.0.5 24aug2011 Ben Jann
and located in a proper folder:
C:\Program Files\Stata12\ado\base\o\oaxaca.ado
Nevertheless, by typing:
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)
I still get the error message: variable male not found. And the help
file does not suggest me how to estimate a twofold oaxaca
decomposition
as attempted above, by using the estimates of the models male and female
Thanks
Chiara
On 28/05/2012, Nick Cox <[email protected]> wrote:
> It is very difficult to follow this. Your previous report was that
> -oaxaca- was not up-to-date, which was evidently a problem; now the
> report is that -oaxaca- is up-to-date, which evidently you still
> regard as a problem.
>
> . ssc type oaxaca.ado
>
> shows that the latest version of -oaxaca- is
>
> *! version 4.0.5 24aug2011 Ben Jann
>
> so the question is: do you have precisely this version? -which oaxaca,
> all- is one way to look at this; another is to get your operating
> system to look for all copies of oaxaca.ado on your computer.
>
> It's possible that you are moving around from directory to directory
> in your work, and have somehow accumulated different versions of
> -oaxaca- that vary in their visibility, but nevertheless -ssc- should
> be installing in sensible places.
>
> I don't think firewalls are an issue here. Ben Jann is so called;
> "Soz" is an abbreviation for his discipline.
>
> Nick
>
> On Mon, May 28, 2012 at 9:52 AM, Chiara Mussida <[email protected]> wrote:
>> By trying with these 2 suggestions:
>>
>> ssc install oaxaca
>> checking oaxaca consistency and verifying not already installed...
>> all files already exist and are up to date.
>>
>> . net install oaxaca
>> checking oaxaca consistency and verifying not already installed...
>> all files already exist and are up to date.
>>
>> I got the same answer, and therefor I cannot change the installed
>> oaxaca. (Probably there is a firewall that prevent from this.) I heve
>> just written to the author of my ado file, Jann Soz (download from
>> http://ideas.repec.org/c/boc/bocode/s456936.html). Does somebody know
>> a different link for an Oaxaca which satisly my estimation
>> requirements (namely, Oaxaca twofold deco)?
>>
>
>> On 26/05/2012, Christopher Baum <[email protected]> wrote:
>>> <>
>>> On May 26, 2012, at 8:33 AM, Fernando wrote:
>>>
>>>> Two suggestions:
>>>> try either -ssc install oaxaca, replace-
>>>> Or go manually to the address of the do files which could be either
>>>> here "C:\ado\plus\o" or here "C:\Program Files\Stata12\ado\base\o" and
>>>> manually erase the oaxaca files, before trying to install them again.
>>>> Fernando
>>>>
>>>> On Fri, May 25, 2012 at 10:59 AM, Chiara Mussida <[email protected]>
>>>> wrote:
>>>>> 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!
>>>
>>>
>>> or better yet
>>>
>>> adoupdate oaxaca, update
>
> *
> * 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/