Hi PG Thanks for the quick response. What I actually did, but I don't know if it is correct, was to include the sample size per PatServ (as it would be in ascending order): procsort data=&import_result; by PatServ; run; procsurveyselect data= &import_result out= &sample_list seed=12345678 sampsize=(285, 11,20, 0,14, 3,0, 11,4, 0,0); strata PatServ; run; This appears to have worked correctly in giving me the number of charts per patient service that I requested. Conversely, I assume I could indicate samprate() and provide the rates per PatServ.
... View more