[R] survey weights in sample with replacement
reilly at stat.auckland.ac.nz
Wed Oct 31 04:20:00 CET 2007
On 31/10/07 4:03 PM, Azam, Mehtabul wrote:
> I am trying to draw a random sample from an household survey with sample weight. Is there any function in R or Splus which allows this.
I'm not sure if this what you're after, but R's pps package lets you
sample with probability proportional to size.
Hope this helps,
Department of Statistics, University of Auckland
Private Bag 92019, Auckland, New Zealand
More information about the R-help