Hello, I am trying to run a cluster bootstrap of a user written program:
bootstrap, reps(99) cluster(idn) strata(idn) seed(12345): command, ...

Where I have a panel of individuals over time and idn is a geogrpahical local area indicator.

I get the "singleton cluster detected" error.

I am now trying to create a programme using bsample and simulate and see whether this way I can make the program drop the singleton.

As I am not an expert programmer, however, I wonder wherther there is a more straightforward way (maybe using bootstrap?). I wonder if someone can help me and/or point me to the right resources.

Thanks in advance!!
Chiara