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