Help using Base SAS procedures

Proc surveyselect for two-stage cluster sampling

New Contributor
Posts: 3

Proc surveyselect for two-stage cluster sampling

Hi there, I would really appreciate some help on this issue. I've tried searching through these forums and the documentation as well as google but can't find enough detail or any examples.

My task is to select 15 clusters (PSU) of 30 units (SSU) each. My population contains 50 clusters of varying sizes, and the 15 clusters need to be selected using PPS (or PPS_SYS). The 30 units within these clusters will then be selected using SRS and it's highly likely that a cluster may get selected more than one due to a couple having high n's.

Is there any way I can do this within one step in SAS?

Also considering that a cluster may be chosen twice during the first stage, is there any way to get around having to specify individual cluster sizes even if it means doing this process in more than one step? This is because the number of clusters may change and I would prefer to have this done automatically.

Finally are there any examples of the two-stage cluster procedure using PPS in use?

The documentation mentions SAMPLINGUNIT | CLUSTER variables < / options > ; but I don't understand how that works to process both the cluster stages.

This is the link to the documentation I need assistance with

Thanks, Audrey Message was edited by: slowlydoesit
Posts: 58

Re: Proc surveyselect for two-stage cluster sampling

Posted in reply to slowlydoesit
I think you will need to do this in more than one step: 1) draw your first stage sample of n=15, using pps and without replacement; 2) merge your sample back with the original data to get your second-stage data included; 3) draw your second stage sample of n=30 from the merged sample, using the first stage information as a stratum, not a cluster. Surveyselect will draw 30 samples from each of your 15 first-stage samples if you treat them as strata.

New Contributor
Posts: 3

Re: Proc surveyselect for two-stage cluster sampling

Thanks for your response, yes this is how I've been doing it so at least it confirms that the method I've been using seems logical to another person!

It is interesting that I can't get the samplingunit | cluster command to work, as I assume that has the possibility to do the procedure in one step.
Ask a Question
Discussion stats
  • 2 replies
  • 1 like
  • 2 in conversation