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, is already up and running.

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

st: Repeated observations for time variable tsset

From   Abhishek Bharad <>
Subject   st: Repeated observations for time variable tsset
Date   Sat, 15 Oct 2011 00:17:53 -0500


In my data set i have a several number of observations for each week.
Week is a variable in the data set.  Each observation has a different id.
I was not able to run "tsset  week "command in stata, I got the error
"repeated time values in sample".

The data set looks like this,

week response
 1   3
 1   4
 1   2
 1   5
 2   1
 2   2
 2   6
 2   4

how can I get around this and use week as time variable?


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index