Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Repeated time values in panel in bootstrap routine

From   David Mather <>
Subject   st: Repeated time values in panel in bootstrap routine
Date   Wed, 23 Jun 2010 13:56:42 -0400

Hi all,

I'm running a bootstrap routine with household-level panel data and am getting the Stata error message: "repeated time values within panel - the most likely cause for this error is misspecifying the cluster(), idcluster(), or group() option"

I've read the FAQ at and have used its suggestions for checking for duplicate observations - I've found none. The syntax which causes the error is:

bootstrap lepmaiz=r(ape1) lresid2=r(ape2), reps(500) seed(123) cluster(hhid) idcluster(newid): myboot

where -hhid- is the household-level identifier, and -myboot- is a program that runs a probit regression and then computes the average partial effect for several variables. I've run this bootstrap syntax previously on household-level data from the same database (which used the same household-level identifier) and did not have this problem, thus I don't understand how I could have misspecified the cluster or idcluster option. I've tried clustering at the village level instead, but I get the same error message. I've also tried running the syntax on only one year of the panel, and I still get the same message. I'm wondering if anyone has any suggestions on what I might be doing wrong.


*   For searches and help try:

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