Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

AW: st: AW: RE: Error ivreg2 "must have ranktest version 01.2.02 or geater..."


From   Wiebke Meyer <Meyer@iamo.de>
To   statalist@hsphsun2.harvard.edu
Subject   AW: st: AW: RE: Error ivreg2 "must have ranktest version 01.2.02 or geater..."
Date   Tue, 07 Jun 2011 13:09:31 +0200

Nick and Mark,

here some more information on my problem (in the meantime the
it-administrator ensured that I have the latest Stata/SE 11.2 version on my
PC (Windows XP)). Still, the error message reappeared: 


. ivreg2  d_log_rem_year  d_feeling_home d_wave_1980 d_wave_1999
d_state_german ks_share_nonfarm ks_mother ( d_saving d
> _hh_ek_kl =  d_hh_groesse d_work_pension d_work_unemployed migr_deutsch
migr_member_d migr_member_ks)
Error: must have ranktest version 01.2.02 or greater installed
Currently installed version is 01.1.03
To update, from within Stata type ssc install ranktest, replace
r(601);

end of do-file

r(601);

. ssc install ranktest, replace 
checking ranktest consistency and verifying not already installed...
all files already exist and are up to date.

. do "C:\DOKUME~1\Meyer\LOKALE~1\Temp\STD00000000.tmp"

. ivreg2  d_log_rem_year  d_feeling_home d_wave_1980 d_wave_1999
d_state_german ks_share_nonfarm ks_mother ( d_saving d
> _hh_ek_kl =  d_hh_groesse d_work_pension d_work_unemployed migr_deutsch
migr_member_d migr_member_ks)
Error: must have ranktest version 01.2.02 or greater installed
Currently installed version is 01.1.03
To update, from within Stata type ssc install ranktest, replace
r(601);

end of do-file

r(601);

. ssc uninstall ranktest

package ranktest from http://fmwww.bc.edu/repec/bocode/r
      'RANKTEST': module to test the rank of a matrix using the
Kleibergen-Paap rk statistic

(package uninstalled)

. ssc uninstall ivreg2

package ivreg2 from http://fmwww.bc.edu/repec/bocode/i
      'IVREG2': module for extended instrumental variables/2SLS and GMM
estimation

(package uninstalled)

. ssc install ivreg2, all
checking ivreg2 consistency and verifying not already installed...
installing into c:\ado\plus\...
installation complete.

. ssc install ranktest, all
checking ranktest consistency and verifying not already installed...
installing into c:\ado\plus\...
installation complete.

-	Session closed and reopened    ?

. ivreg2  d_log_rem_year  d_feeling_home d_wave_1980 d_wave_1999
d_state_german ks_share_nonfarm ks_mother ( d_saving d
> _hh_ek_kl =  d_hh_groesse d_work_pension d_work_unemployed migr_deutsch
migr_member_d migr_member_ks)
Error: must have ranktest version 01.2.02 or greater installed
Currently installed version is 01.1.03
To update, from within Stata type ssc install ranktest, replace
r(601);

end of do-file

r(601);

. which ranktest, all

\\Iamo4\Stata\ado\updates\r\ranktest.ado
*! ranktest 1.1.03  4May2008
*! author mes, based on code by fk

\\Iamo4\Stata\ado\base\r\ranktest.ado
*! ranktest 1.1.03  4May2008
*! author mes, based on code by fk

c:\ado\plus\r\ranktest.ado
*! ranktest 1.2.03  24Apr2010
*! author mes, based on code by fk

. pwd
\\Iamo4\Stata

. adopath
  [1]  (UPDATES)   "\\Iamo4\Stata\ado\updates/"
  [2]  (BASE)      "\\Iamo4\Stata\ado\base/"
  [3]  (SITE)      "\\Iamo4\Stata\ado\site/"
  [4]              "."
  [5]  (PERSONAL)  "c:\ado\personal/"
  [6]  (PLUS)      "c:\ado\plus/"
  [7]  (OLDPLACE)  "c:\ado/"

.

"does not work" means: if I try to run the ivreg2 model the error message
occurs that I should install a certain version of the ranktest. Even if I
have installed it, the model does not run. Even if I uninstall ivreg2 and
ranktest, close stata, reopen and install again...


Wiebke






-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Nick Cox
Gesendet: Dienstag, 7. Juni 2011 11:16
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: AW: RE: Error ivreg2 "must have ranktest version 01.2.02 or
geater..."

I think therefore we need more information to know what is going on.

For example:

1. A complete inventory of all ranktest.ado on Wiebke's machine
visible to Stata,
meaning the results of -which ranktest, all- together with the results
of -pwd-.

2. The results of -adopath-.

3. What Wiebke means by "does not work".

Nick

On Tue, Jun 7, 2011 at 10:05 AM, DE SOUZA Eric
<eric.de_souza@coleurope.eu> wrote:

> I thought she had already tried this, but reading down she only mentions
trying to reinstall -ranktest-  with the replace option; and getting the
message that " all files already exist and are up to date"

Nick Cox

> Install the latest version directly?

> On Tue, Jun 7, 2011 at 9:57 AM, Wiebke Meyer <Meyer@iamo.de> wrote:

>> Thanks for the hint. However, it still does not work... Do you know
>> any way out of this actually ridiculously minor problem?

Schaffer, Mark E

>> Sometimes you can accidentally find yourself with multiple versions of
>> Stata programs floating around on your machine.  To see if this is the
>> case, use the -all- option:
>>
>> which ranktest, all
>>
>> which ivreg2, all
>>
>> Frankly, this happens often enough to make me think -all- should be
>> the default behaviour of the -which- command.

Wiebke

>>> I try for the first time to run a ivreg2 command and encountered the
>>> following message:
>>>
>>> > _hh_ek_kl =  d_hh_groesse d_work_pension d_work_unemployed
>>> migr_deutsch
>>> > migr_member_d migr_member_ks)
>>> Error: must have ranktest version 01.2.02 or greater installed
>>> Currently installed version is 01.1.03 To update, from within Stata
>>> type ssc install ranktest, replace r(601);
>>>
>>> end of do-file
>>>
>>> r(601);
>>>
>>> . ssc install ranktest, replace
>>> checking ranktest consistency and verifying not already installed...
>>> all files already exist and are up to date.
>>>
>>> Somewhere in the www I found that I should do:
>>>
>>> . adoupdate, update
>>> (note: adoupdate updates user-written files; type -update- to check
>>> for updates to official Stata)
>>>
>>> Checking status of installed packages...
>>>
>>>     [1] outreg2 at http://fmwww.bc.edu/RePEc/bocode/o:
>>>         installed package is up to date
>>>
>>>     [2] ivreg2 at http://fmwww.bc.edu/repec/bocode/i:
>>>         installed package is up to date
>>>
>>>     [3] ranktest at http://fmwww.bc.edu/repec/bocode/r:
>>>         installed package is up to date
>>>
>>>     [4] st0026_2 at http://www.stata-journal.com/software/sj5-3:
>>>         installed package is up to date
>>>
>>> (no packages require updating)
>>>
>>> and:
>>>
>>> . update all
>>>
>>> --------------------------------------------------------------
>>> ----------------------------------------
>>> > update ado
>>> (contacting http://www.stata.com)
>>> ado-files already up to date
>>>
>>> --------------------------------------------------------------
>>> ----------------------------------------
>>> > update utilities
>>> (contacting http://www.stata.com)
>>> utilities already up to date
>>>
>>> --------------------------------------------------------------
>>> ----------------------------------------
>>> > update executable
>>> (contacting http://www.stata.com)
>>> executable already up to date
>>>
>>>
>>> Still the command would not run.
>>>
>>> What can I do?
>>>
>>> I work on a usual pc with windows XP. My Stata version is 11.2.
>>>
>>> I would be very happy to recieve your help.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index