BookmarkSubscribeRSS Feed
SSK_011523
Calcite | Level 5

Hello

 

I am using single ITS for one of my projects to assess the impact of a policy intervention on medication use. 

SSK_011523_0-1677110930387.png

 

Outcome: Medication use (defined as aggregated means)

Exposure: Policy intervention

 

For the ITS model, I have defined the following parameters: 

Time (beta1): quarterly data (a total of 31 quarters). 

Intervention (beta2): The intervention was introduced in 12th quarter. I have defined intervention as three segments to take into account lagged effect. 0 indicates pre-intervention, 1 indicates transition/lagged period and 2 indicates post-intervention.

Time after intervention (beta 3): defined as 0 before the intervention 0 and intervention 1 and then as (1,2,3..19)

Since autocorrelation was detected in my data, I decided to use PROC AUTOREG. I used the following code:

 

********************************

PROC AUTOREG data = have;

model outcome = time intervention time_after_intervention/method = ml backstep nlag=5 dw=12 dwprob loglikl;

output out=want p =predicted r = residual;

run;

******************************

 

OUTPUT:

VariableEstimateApprox Pr > t
time0.8<0.0001 
intervention-2.9<0.0002 
time after intervention-1.1<0.0003 

 

Interpretation:

I am not sure how to interpret 'intervention' as I have defined it as three segments (pre-intervention, lagged period, and post-intervention). Do I interpret it in the same way if two segments were used to define intervention? 

I tried using class statement thinking I would get separate estimates for each segment but it did nit work.

 

Any help on this would be appreciated. Thanks!

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 872 views
  • 0 likes
  • 1 in conversation