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
[email protected]
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/