[R] bootstrap sampling

Julian Burgos jmburgos at u.washington.edu
Tue Jan 15 20:18:59 CET 2008


See rnorm().  If you are sampling from a continuous normal distribution, 
it makes no sense to define a sample with replacement, because the 
probability of sampling twice the same number is zero.

Julian

sigalit mangut-leiba wrote:
> Hello,
> How do I sample observations with replacement from a normal distribution
> with a specific mean and s.d?
> (I want to see the sample, not only the statistic.)
> Thank you,
> Sigalit.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org 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