Help using Base SAS procedures

proc surveyselct.

Reply
N/A
Posts: 0

proc surveyselct.

Hi,

I am running the following code:

proc surveyselect
data = data_set_1
method = pps
seed = 20100730
n = (22913 53463 3624)
out = Sample_output;
size rate2;
strata class;
id Name Month Class;
run;

where my strata is A,B,C and the rate for each class is
A = 0.286 B = 0.668 C = 0.045,

my data_set_1 has about 5Million records and i am trying to sample proportionally to get about 80K.

1. I need to know, how the size variable works relative to the strata variable.
2. After excuting this code, it ran close to 7 hours, how do i make it run faster.

Thank you,

T
Ask a Question
Discussion stats
  • 0 replies
  • 102 views
  • 0 likes
  • 1 in conversation