From: tom soyer <tom.soyer_at_gmail.com>

Date: Thu 19 Oct 2006 - 17:07:45 GMT

R-help@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. Received on Fri Oct 20 03:11:49 2006

Date: Thu 19 Oct 2006 - 17:07:45 GMT

Hi,

I looked up the help file on sample(), but didn't find the info I was looking for.

When sample() is used to resample from a distribution, e.g., bootstrap, how does it do it? Does it use an uniform distribution, e.g., runif(), or something else? And, when the help file says:"sample(x) generates a random permutation of the elements of x (or 1:x)", would I be correct if I translate the statement as follows: it means that the order of sequence, which was generated from a uniform distribution, would look like a random normal distribution.

Thanks,

Tom

[[alternative HTML version deleted]]

R-help@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. Received on Fri Oct 20 03:11:49 2006

Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.

Archive generated by hypermail 2.1.8, at Thu 19 Oct 2006 - 20:30:36 GMT.

*
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help.
Please read the posting
guide before posting to the list.
*