BookmarkSubscribeRSS Feed
DanaB
Calcite | Level 5

Hi,

I am a firstime user of PROC SURVEYLOGISTIC and having a little trouble with relating it to PROC LOGISTIC which I normally use.

Do the strata statements give similar results in both procedures.  If I have done conditional logistic regression in proc logistic using the strata statement, does the strata statement in SURVEYLOGISTIC do the same thing??

Is the WEIGHT statement in PROC SURVEYLOGISTIC designed to take inclusion probabilities from a traditional statistical survey design or do the inclusion probabilties need to be transformed for their use in the WEIGHT statement??

Thanks for any assistance

1 REPLY 1
TimGravelle
Calcite | Level 5

Hello there,

I'll preface my answer by admitting that my expertise is in survey statistics and not case-control studies, so I know the latter STRATA statement much better.

The short answer is no: the STRATA statements are designed to do different things in the two PROCs. In PROC LOGISTIC, the STRATA statement is used to specify a conditional logistic regression model, as you say. With PROC SURVEYLOGISTIC (as with SURVEYREG, SURVEYMEANS and SURVEYFREQ), the STRATA statement is used to specify the stratification variable(s) that constitute your sample design; and it is often used along with the CLUSTER and WEIGHT statements to fully specify the sample design.

Selection weights are the inverse of selection probabilities -- e.g., wt = (1 / prob). Often, though, weights are normalized to the sample size, meaning the sum of weights equals the sample size, the weighted and unweighted sample sizes are equal, and the weights have a mean of 1. To do this, it's just wt2 = (1 / prob) * (n / sum (wt) ). I should point out that PROC SURVEYSELECT outputs both selection probabilities and selection weights.

Also note that the WEIGHT statement can be used to simply account for (unequal) probabilities of selection, but the weights might also be poststratification weights -- that is, an initial weight that first accounts for probabilities of selection, and then subsequently makes adjustments for departures from known population parameters (e.g., aligning a sample survey's age, sex and region characteristics to census data).

Hope that helps!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1879 views
  • 0 likes
  • 2 in conversation