BookmarkSubscribeRSS Feed
zinojeng
Calcite | Level 5

 

  I meet a problem by doing a nest-case control study. Since both cases and controls are from a cohort and have exposures information in time-dependent manner, just wonder how to account for these time-dependent covariates in the conditional logistic regression analysis.

  

   Is the way in conditional regression similar as COX regression? 

   

PROC PHREG DATA = count;
MODEL (start, stop)*censor(0) = sex marital age weight height;
STRATA id;
RUN;


Thank you.

Sincerely.
 Yelson, Tseng, MD

2 REPLIES 2
StatDave
SAS Super FREQ

You can also fit the conditional model by using a STRATA statement in PROC LOGISTIC. See the example in the LOGISTIC documentation. The predictors do not have to be fixed within a stratum, so you can simply include the time-varying predictors along with the others in your model.

Ksharp
Super User

I think you should use PROC GLIMMIX , put ID and TIME variables into random / repeated statement.

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
  • 2 replies
  • 1514 views
  • 0 likes
  • 3 in conversation