Date: Tue, 3 Jan 2006 17:50:11 -0800
Reply-To: Page <pagemoore@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Page <pagemoore@YAHOO.COM>
Organization: http://groups.google.com
Subject: Simple Random Sample With Weights
Content-Type: text/plain; charset="iso-8859-1"
I need to conduct a simple random sample (without replacement) from two
separate vectors. The sampling pool contains two vectors with
differing weights: .8 and .2 respectively. So, the samples being
selected from the pool of two vectors will have a much higher chance of
being chosen from the first vector than from the second vector. Splus
allows the inclusion of a weight vector in their "sample" procedure.
However, I need to do this sampling via SAS (preferably with IML).
Does anyone have any ideas as to how I can do this? I've tried to use
PROC SURVEYSELECT, but it seems that I'm not allowed to use the weight
option unless I am trying to use the surveyreg or surveymeans options.
Any ideas?
|