[R] simple random cluster sampling - bootstrapping

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Nov 7 09:49:57 CET 2006



Im, Kelly wrote:
> Hello all,
> 
> I have 300 clusters of fixed size 2 and I need to do resampling with
> replacement to run some regression models. I've searched through the
> archive and the only thing I found was that I could use 'boot()'
> function. but it's not clear to
> me how I can do this. Has anyone done it? I would very much appreciate
> your help, 


If you don't want the bootstrap functionality, then maybe manually using 
sample(......, replace = TRUE) is what you can try out.

Uwe Ligges


> 
> kelly
> 
> -------------------------------------------------------------
> KyungAh (Kelly)  Im   
> Epidemiology Data Center 
> Graduate School of Public Health
> Department of Epidemiology
> University of Pittsburgh
> PA 15261
> PHONE:(412) 624- 4612 FAX: (412) 624- 3775
> Email: Im at edc.pitt.edu
> http://www.edc.gsph.pitt.edu
> 
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list