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 on April 23, and its replacement, statalist.org is already up and running.


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

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


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Unexpected error message with xtivreg2 - xtfevd already defined
Date   Thu, 11 Apr 2013 20:53:08 +0000

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/


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