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
Related Posts with Cluster bootstrap and singleton cluster error
Problem with esttab and estpost, exporting to latexHello all, I am trying to export my tabstat table to Latex, however, my code only generates an almo…
Manipulating macro listI have a do file which contains a macro list. I want to evaluate each element of the list and determ…
'No observations' errorDear all, I'm trying to conduct a unit root test to my variables using the following code: Code: …
multiple regression - r(2000) error messageHi everyone, I am new here and quite new to Stata (student) so thank you upfront for your help. I …
Regarding error message “ fpc for all observations within a stratum must be the same” with PPS sampling design, how to handle it ?Dear Statalists, I am running analysis on a survey dataset which use multi-stage stratified systemat…
Subscribe to:
Post Comments (Atom)
0 Response to Cluster bootstrap and singleton cluster error
Post a Comment