hi.
i'm a statistics student and studying bootstrap in R.
i'm trying to draw bootstrap samples from a sample, using the following R
code:
> *boot = numeric(200)*
*> {for (i in 1:200)*
* boot [i] = (sample(data,replace=T))}*
i obtain 200 samples but all of them are the same.
i want to obtain different samples. what should i do? can you please help me
if possible.
thank you.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html