Wednesday, October 31, 2007 9:44 AM
To: Azam, Mehtabul
Cc: [EMAIL PROTECTED]
Subject: Re: [R] survey weights in sample with replacement
On Tue, 30 Oct 2007, Azam, Mehtabul wrote:
>>> Hi,
> I am trying to draw a random sample from an household survey with
> sample weight.
On Tue, 30 Oct 2007, Azam, Mehtabul wrote:
>>> Hi,
> 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.
>
It depends on exactly what you want.
The sample() function will draw unequal probability sample
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 proportiona
>> Hi,
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.
Regards,
***
Mehtabul Azam
Department of Economics
Southern Methodist University
Dallas TX
4 matches
Mail list logo