Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: xtivreg2 with factor variables
From 
 
"Anat (Manes) Tchetchik" <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: xtivreg2 with factor variables 
Date 
 
Tue, 31 Dec 2013 00:15:11 +0200 
Dear all,
I have an unbalanced panel of macroeconomic data on 35 countries over 17 years.
My analysis shows that time effects are jointly significant, as well
as indicated first order autocorrelation.
I
 therefore ran  the following command:
. xtivreg2 log_ss dem gini gdp  i.year,  fe cluster(country_code year) bw(1)
I  got the following error:  factor variables not allowed
Shell I specify each year dummy (excl. one) or is there a different
problem here?
Any advise will be appreciated!
Anat
-- 
Anat Tchetchik, PhD
Department of Business Administration
Guilford Glazer Faculty of Business and Management
Ben-Gurion University of the Negev
P.O.Box: 653
Beer-Sheva, Israel, 84105
E-mail:       [email protected]
Phone         972-(0)8-6479735
Fax:           972-(0)8-6472920
*
*   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/