Statalist


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

st: RE: FW: time variable year limit


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: FW: time variable year limit
Date   Thu, 23 Aug 2007 18:27:33 +0100

It seems to me that Stata is telling you the problem,
very precisely. So, you need to look even more closely 
at your data. 

. duplicates list id year 

is one further step. Sort order is not relevant here. 

Nick 
n.j.cox@durham.ac.uk 

Alan Williamson
 
> I have two sets of panel data which is the same format, only 
> the value is different. I just finished one set of the model 
> testing. But the other set of the data could not work at all.
> 
> I got 
> 
> . tsset id year
> repeated time values within panel
> r(451);
> 
> . isid id year
> variables id year do not uniquely identify the observations
> r(459);
> 
> Actually my data was sorted by id (panel-firms) and year 
> (time variable-1990-2005). When I describe it, the data was 
> sorted by id year. However, no matter what I do, it is not 
> accepted at all. 

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