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 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!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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