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: error with xtset


From   Prakash Singh <prakashbhu@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: error with xtset
Date   Tue, 11 Jun 2013 15:25:54 +0530

Dear all, I am working with unbalanced polled cross section data which
having 4 district and 2 years information. when I am using xtset I am
getting error which says repeated time values within panel.

 xtset  group year
repeated time values within panel
r(451);

 the tabulation of entity and year is given below

tab group year

           |         Year
     group |      2004       2006 |     Total
-----------+----------------------+----------
         1 |       262        342 |       604
         2 |       188        247 |       435
         3 |       103        130 |       233
         4 |        70         95 |       165
-----------+----------------------+----------
     Total |       623        814 |     1,437

Could anyone suggest what is wrong with my command or data.

Regards
Prakash
*
*   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