[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: tsset problem

From   "Tharyan, Rajesh" <>
To   "" <>
Subject   st: RE: tsset problem
Date   Thu, 3 Dec 2009 11:04:54 +0000


The problem is exactly what it says..your data has repeated year values within id. Is there a reason why there are repeated values? 
If not get rid of these repeated observations  and then tsset your data

bysort id: drop if year==year[_n-1]
tsset id year 

Hope this helps

-----Original Message-----
From: [] On Behalf Of "Elisabeth Müller"
Sent: 03 December 2009 10:47
Subject: st: tsset problem


I have a problem when defining a panel. I type:

tsset id year

the error message is:
repeated time values within panel

Everything is ordere by id. What could be the problem?

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter
*   For searches and help try:

*   For searches and help try:

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