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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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