Hi! I'm about to create a survey and the sample consists of 5,000 people from a much larger population. The sample can't be just a random draw, because some values for the variables x1 to x4 must be prioritized. x1 may take any out of 15 different values, and when x1=b the inclusion probability must be higher. x2 may take any out of 4 different values, and when x2=1 the inclusion probability must be higher. x3 is binary (0,1) so when x3=1 the inclusion probability must be higher. x4 is may take any value out of 5 different values, and when x4=q the inclusion probability must be higher. As you can see from the amount of categories there are a lot of strata (in the hundreds). This shouldn't be too complicated through proc surveyselect and a couple of lines of code, but I don't seem to pull it off. I used a workaround instead, but I'd love to know how to do this type of stratified sampling. Best regards, Oskar
... View more