Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Problem with var command


From   Claude Francoeur <claude.francoeur@hec.ca>
To   statalist@hsphsun2.harvard.edu
Subject   st: Problem with var command
Date   Tue, 29 Apr 2008 18:57:19 -0400

Hello,

I am getting an error using the var command :

. sort id year

. tsset id year
       panel variable:  id (strongly balanced)
        time variable:  year, 2004 to 2005

. var csp roa, lag(1)
repeated time values in sample ???
r(451);

What could be the problem? My panel consists of 179 firms (id) perfectly 
balanced between 2 years (2004-2005).

Thanks in advance for your advice.

Claude

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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