BookmarkSubscribeRSS Feed
shairstin
Calcite | Level 5

Hello all

 

I am trying to model a count outcome (emergency room visits) with a primary predictor covariate of interest that is time varying (on or off a drug). Once the drug is started, they patient is considered "on" the drug going forward (ie they do not revert to being off the drug).

 

My data is structured in a counting process (multiple lines per individual) for each risk interval. 

 

Does anyone have any resources as to where I would find code to do this? Can proc genmod handle a counting process data structure?

I am not really sure where to start...

2 REPLIES 2
Ksharp
Super User

It seems you have longtitude data.

Try PROC GLIMMIX or PROC GEE

shairstin
Calcite | Level 5

Thanks

 

It seems those procedures are more suited to my data. 

 

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 1822 views
  • 0 likes
  • 2 in conversation