BookmarkSubscribeRSS Feed
sms1891
Quartz | Level 8

Hi experts,

I have a monthly rate data for two variables, community onset rate of infections and hospital-onset rate of infections. I need to evaluate if hospital-onset rate changed over time due to interventions (Intervention 1 and 2) compared to pre-intervention period after controlling for  community-onset rate. I would appreciate any advice on this. I have read the examples of simple ITS and comparative ITS from Joe Caswell, however, I am confused.  

 

I also tried to rearrange the data (stack them as one rate variable with different dummy variables)as demonstrated in the article link above, but not sure how to approach this with two interventions and two rates.

proc model data =TimeSeries2;
parms b0 b1 b2 b3 b4 b5 b6 b7;
  rate = b0+(b1*t)+(b2*x)+(b3*tx)+(b4*z)+(b5*zt)+(b6*zx)+(b7*ztx);
fit rate / covb ;
run; quit;

Thanks a lot!

1 REPLY 1
sbxkoenk
SAS Super FREQ

I have moved your question / topic to the "Forecasting & Econometrics" - board.

 

Koen

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

Discussion stats
  • 1 reply
  • 1409 views
  • 0 likes
  • 2 in conversation