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/