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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: clustering in bootstrap


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: clustering in bootstrap
Date   Wed, 27 Apr 2011 14:17:13 -0500

Marcella,

show us your code and explain what you wanted it to do in more detail
(and what you expected this code to do, and what you think this code
did), please. I have an idea of what's going on, but I would first
like to see what it is that you need to do, so as to give a focused
answer.

On Wed, Apr 27, 2011 at 11:07 AM, Marcella Nicolini
<archivio.marcella@gmail.com> wrote:
> 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
> r(451);"
>
> 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
> Marcella
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index