Because strata differ from clusters in survey design and analysis, the statement, STRATA PROV_NAME; is unnecessary in the PROC SURVEYLOGISTIC program code that you have provided. Use only the CLUSTER statement instead. In your original PROC LOGISTIC program code, you also included a WHERE statement to include only specific observations that meet the WHERE statement criteria, but you do not include this statement in your PROC SURVEYLOGISTIC code. For PROC SURVEYLOGISTIC, instead of using a WHERE statement, it is preferable in a prior DATA step to down-weigh observations that do NOT meet the criteria in the WHERE statement; thus, you would create for each observation a weight variable whose value would equal 1.00 if the observation meets the WHERE statement criteria and whose value would equal a very small value (say, 0.000000001) if the observation does not meet these criteria. Then, you can include that variable in a WEIGHT statement in PROC SURVEYLOGISTIC. Finally, PROC SURVEYLOGISTIC calculates subgroup estimates with a DOMAIN statement instead of a BY statement. Thus, use the statement, DOMAIN procedure_group; instead of the statement, BY procedure_group; to obtain estimates for all procedure groups as well as for each separate procedure group.
... View more