Programming the statistical procedures from SAS

proc surveyselect

Reply
Regular Contributor
Posts: 194

proc surveyselect

I'm currently using surveyselect and stratifying by two variables. I set sampsize=1.
I want to select at most 1 observation from each strata while only producing a maximum of 30 results. Is it possible to set the maximum sample size to 30 using surveyselect or a similar procedure?
One possibility is to run surveyselect on the new dataset and select only 30 observations. However, I'm wondering if there a better way to do this?
Thank you.
Ask a Question
Discussion stats
  • 0 replies
  • 53 views
  • 0 likes
  • 1 in conversation