BookmarkSubscribeRSS Feed
hjgao
Calcite | Level 5

Hi,

This is my first post to ask question in this wonderful SAS community. I'm a little bit nervous now while typing my question.  

 

I have a survey data that break down into a total four strata, in each stratum, the same number of samples were collected,  and each sample has the same sampling weight within the stratum but different across different stratum.  The outcome is binary. The question is which survey procedure should I use to compare the binary outcomes across all the four strata?   Is there equivalent LSMEANS in survey procedures so I can compare the proportions?

 

Thank you!

1 REPLY 1
StatDave
SAS Super FREQ

Take a look at PROC SURVEYFREQ, or if you need to fit a model, PROC SURVEYLOGISTIC. SURVEYLOGISTIC has an LSMEANS statement available. If you want to estimate differences in response probabilities, you can follow the SURVEYLOGISTIC analysis with the NLMeans macro

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 787 views
  • 1 like
  • 2 in conversation