BookmarkSubscribeRSS Feed
SEGreaves
Calcite | Level 5

Hi everyone! I'm trying to figure out how PROC LOGISTIC handles repeated controls in a stratified logistic analysis, meaning that I have a 1:4 matched data set in which a couple of controls are matched to two different cases (ie. these controls show up twice in the data set with different strata values). I know matching with replacement is allowed but I'm wondering about the analysis portion, whether I can just use PROC LOGISTIC with the STRATA statement or something a little more sophisticated?

 

If you can point me to any readings that address this, that'd be great.

 

Thanks in advance for any help you can give me!

 

Best,

s

1 REPLY 1
Damien_Mather
Lapis Lazuli | Level 10

I would use proc glimmix instead with the / dist=binomial model statement option and specify a random statement that partitions the variance down to an individual subject level, such as

 

random intercept / subject=ID;

 

or if your controls only appear in one (are nested in one) case-control block, and the block is identified as block,

 

random intercept block / subject=ID;

 

 

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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