[R] survey weights in sample with replacement
James Reilly
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,
James
--
James Reilly
Department of Statistics, University of Auckland
Private Bag 92019, Auckland, New Zealand
More information about the R-help
mailing list