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]

st: RE: RE: RE: RE: Unexpected error message with xtivreg2 - xtfevd already defined


From   "laura.di.giorgio@usi.ch" <laura.di.giorgio@usi.ch>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: RE: Unexpected error message with xtivreg2 - xtfevd already defined
Date   Fri, 12 Apr 2013 07:37:59 +0000

Hi Mark, 
Oh sorry. I downloaded it from Stata using "ssc install xtivreg2". This is what I get when I ask for the version:

c:\ado\plus\x\xtivreg2.ado
*! xtivreg2 1.0.13 28Aug2011
*! author mes



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Schaffer, Mark E
Sent: venerdì, 12. aprile 2013 01:17
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: RE: RE: Unexpected error message with xtivreg2 - xtfevd already defined

Laura,

You haven't said which version of xtivreg2 you are using.  From within Stata

which xtivreg2, all

will tell you.

Also, "using SSC" suggests to me you downloaded it from the web and installed it by hand, which is not a good idea.  If this is what you did, you should get rid of it and reinstall it from within Stata using the ssc command or equivalent.

My guess is that you have a corrupted installation.  xtivreg2 has nothing to do with xtfevd.

HTH,
Mark

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- 
> statalist@hsphsun2.harvard.edu] On Behalf Of laura.di.giorgio@usi.ch
> Sent: 11 April 2013 22:10
> To: statalist@hsphsun2.harvard.edu
> Subject: st: RE: RE: Unexpected error message with xtivreg2 - xtfevd 
> already defined
> 
> Hi Mark,
> yes you are right..it seems that by copying and paste something went wrong.
> The command should be the following:
> xtivreg2 lnct3 $rhs (q12c q21c q16c q17c= $QIs_prev $iv1), fe 
> cluster(cpa) orthog($QIs_prev $iv1) endogtest(q12c q21c q16c q17c) 
> small ffirst
> 
> I am using Stata 12.1, and just tried to install again the routing of 
> xtivreg2 using SSC and replacing the previous routine.
> 
> Hope this helps. Let me know if you need more details.
> 
> Thank you very much!
> Laura
> 
> _______________________________________
> Da: owner-statalist@hsphsun2.harvard.edu [owner- 
> statalist@hsphsun2.harvard.edu] per conto di Schaffer, Mark E 
> [M.E.Schaffer@hw.ac.uk]
> Inviato: giovedì, 11. aprile 2013 22:53
> A: statalist@hsphsun2.harvard.edu
> Oggetto: st: RE: Unexpected error message with xtivreg2 - xtfevd 
> already defined
> 
> Laura,
> 
> There are syntax errors in what you say you ran.
> 
> xtivreg2 lnct3 $rhs (q12c q21c q16c q17c=3D$QIs_prev $iv1), fe 
> cluster(cpa)= orthog($QIs_prev $iv1) endogtest(q12c q21c q16c q17c) 
> small ffirst
> 
> has an "=" after the cluster option, and "3D$QIs_prev" will give you 
> an illegal variable name, I think.  So this is probably not exactly what you did.
> 
> In any case, can you (as per the Statalist FAQ) tell us basic things 
> like which version of Stata you are using, which version of xtivreg2, etc?
> 
> --Mark
> 
> > -----Original Message-----
> > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- 
> > statalist@hsphsun2.harvard.edu] On Behalf Of laura.di.giorgio@usi.ch
> > Sent: 11 April 2013 16:54
> > To: 'statalist@hsphsun2.harvard.edu'
> > Subject: st: Unexpected error message with xtivreg2 - xtfevd already 
> > defined
> >
> > Dear Statalist,
> > I get an unexpected error message with the command -xtivreg2-.
> > I have a panel dataset of 45 individuals (cpa) observed over a 5 
> > years peri= od.
> >
> > I run the command:
> > xtivreg2 lnct3 $rhs (q12c q21c q16c q17c=3D$QIs_prev $iv1), fe 
> > cluster(cpa)= orthog($QIs_prev $iv1) endogtest(q12c q21c q16c q17c) 
> > small ffirst
> >
> > and obtained the following error:
> >
> > xtfevd already defined
> > (error occurred while loading xt_tis.ado)
> >
> > Can you please help me?
> > Thank you very much,
> > Laura
> > ____________________________________________
> >
> > Laura Di Giorgio
> >
> > Assistant and PhD Student in Economics Applied microeconometrics, 
> > Health Economics Istitute of Economics (IdEP)
> > Universit=E0 della Svizzera Italiana, USI Via G. Buffi 13
> > CH- 6904 Lugano
> > (e) laura.di.giorgio@usi.ch<mailto:laura.di.giorgio@usi.ch>
> > (t) +41 (0) 58.666.46.65
> > (f)+41(0)58 666 47 33
> >
> >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/help.cgi?search
> > *   http://www.stata.com/support/faqs/resources/statalist-faq/
> > *   http://www.ats.ucla.edu/stat/stata/
> 
> 
> -----
> Sunday Times Scottish University of the Year 2011-2013 Top in the UK 
> for student experience Fourth university in the UK and top in Scotland 
> (National Student Survey 2012)
> 
> We invite research leaders and ambitious early career researchers to 
> join us in leading and driving research in key inter-disciplinary themes.
> Please see www.hw.ac.uk/researchleaders for further information and 
> how to apply.
> 
> 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/faqs/resources/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/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/


-----
Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012)

We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. 
Please see www.hw.ac.uk/researchleaders for further information and how to apply.

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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index