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: clustering in bootstrap

From   Marcella Nicolini <>
Subject   st: clustering in bootstrap
Date   Wed, 27 Apr 2011 18:07:20 +0200

Hello, I try to do a cluster in a bootstrap, but I get the following error:

"repeated time values within panel
the most likely cause for this error is misspecifying the cluster(),
idcluster(), or group() option

Hower, if I tsset my data as:

tsset panel_id booking_day
       panel variable:  panel_id (strongly balanced)
        time variable:  booking_day, 1 to 70, but with gaps
                delta:  1 unit

and I have no duplicates:

. duplicates list panel_id booking_day

Duplicates in terms of panel_id booking_day

(0 observations are duplicates)

How come that there are repeated time values with cluster(panel_id)??
How can I detect the problem in my data?
Thank you
*   For searches and help try:

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