Skip to content
Prev 163777 / 398503 Next

Re sampling from an ECDF

Say F_n is my ecdf, generated from my sample x.
With sample(x, 2000, replace = TRUE) I get a uniformly distributed sample
from x.

But I need a (re)sample, which is F_n distributed.
Now I'm confused, if that makes a difference or not...

Regards,
Martin
Dimitris Rizopoulos-4 wrote: