I wish that -update- resolve these errors. But still.
. which ivreg2
c:\ado\plus\i\ivreg2.ado
*! ivreg2 2.2.09 17jul2008
*! authors cfb & mes
*! see end of file for version comments
. which xtivreg2
c:\ado\plus\x\xtivreg2.ado
*! xtivreg2 1.0.09 4Nov2007
*! author mes
. which ranktest
c:\ado\plus\r\ranktest.ado
*! ranktest 1.1.03 4May2008
*! author mes, based on code by fk
. ssc install ranktest
checking ranktest consistency and verifying not already installed...
all files already exist and are up to date.
. ssc install ivreg2
checking ivreg2 consistency and verifying not already installed...
all files already exist and are up to date.
. ssc install xtivreg2
checking xtivreg2 consistency and verifying not already installed...
all files already exist and are up to date.
Does it depend on the version of STATA? Someone mentioned about it but I am
not sure.
Sungbok Lee
TAMU
--------------------------------------------------
From: "Schaffer, Mark E" <[email protected]>
Sent: Wednesday, August 26, 2009 9:21 AM
To: <[email protected]>
Subject: st: RE: [XTIVREG2] Cause of Errors? IV or Cluster
Sungbok,
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of javanfish
Sent: 26 August 2009 14:50
To: [email protected]
Subject: st: [XTIVREG2] Cause of Errors? IV or Cluster
I list again 'cause no one answer.
What am I supposed to do for this error?
xi: xtivreg2 y (x1 x2 x3 = iv1 iv2 iv3 iv4 iv5) i.time, fe small
cluster(group)
i.time _Itime_1-50 (naturally coded; _Itime_50 omitted)
Warning - singleton groups detected. 1 observation(s) not used.
panelsetup_u(): 3301 subscript invalid
panelsetup(): - function returned error
rkstat(): - function returned error
<istmt>: - function returned error
I followed the prevous directions. But Still.
My stata is version 10 with 64-bit
Which versions of -xtivreg2-, -ivreg2- and -ranktest- are you using?
And have you updated your version of Stata with -update all-?
In my experience these Mata errors usually go away after a full
updating.
--Mark
Just in case, I experimented why it has the errors.
xi: xtivreg2 y (x1 x2 x3 = iv1 iv2 iv3 iv4 iv5) i.time, fe
small --> no
errors
xi: xtivreg2 y x1^ x2^ x3^ i.time, fe small cluster(group)
--> no errors
where X1^ indicates the instrumented value of x1 in the first stage.
I hope these experiments to help you to answer me.
Sungbok Lee
*
* 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/
--
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
*
* 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/