[R] how to generate a random data from a empirical distribition

Frank Harrell f.harrell at Vanderbilt.Edu
Wed Jul 28 21:42:07 CEST 2010


This is true by definition.

Read about the bootstrap which may give you some good background 
information.

Frank E Harrell Jr   Professor and Chairman        School of Medicine
                      Department of Biostatistics   Vanderbilt University

On Wed, 28 Jul 2010, xin wei wrote:

>
> hi, Frank:
> how can we make sure the randomly sampled data follow the same distribution
> as the original dataset? i assume each data point has the same prabability
> to be selected in a simple random sampling scheme.
>
> thanks
> -- 
> View this message in context: http://r.789695.n4.nabble.com/how-to-generate-a-random-data-from-a-empirical-distribition-tp2302716p2305275.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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