BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JacquesR
Quartz | Level 8

I am performing a stratified/clustered analysis using proc surveyfreq.

It is a study in various districts (strata) at various hospitals (clusters) randomly assigned to one of three study arms (control, Experimental1, Experimental2).

I would like to get the odds ratio for the comparison of E1/E2 to Control, but I do not want to specify an analysis using only those hospitals (i.e., one analysis with E1 vs Control, another with E2 vs Control), as that would most certainly affect the overall variance, and defeat the purpose of using Surveyfreq. Is there a way to get the odds ratio in this instance?

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Take a look at PROC SURVEYLOGISTIC.  If you fit a generalized logit link, with CONTROL as the reference group, you should get the OR's you are looking for. It includes both CLUSTER and STRATA statements, so that the information you presented all should be incorporated. The example here should help you get started.

 

SteveDenham

View solution in original post

1 REPLY 1
SteveDenham
Jade | Level 19

Take a look at PROC SURVEYLOGISTIC.  If you fit a generalized logit link, with CONTROL as the reference group, you should get the OR's you are looking for. It includes both CLUSTER and STRATA statements, so that the information you presented all should be incorporated. The example here should help you get started.

 

SteveDenham

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
  • 633 views
  • 0 likes
  • 2 in conversation