BookmarkSubscribeRSS Feed
fama
Fluorite | Level 6

Hi every one,

 

I have a question regarding DID estimation model.

I created a data set using propensity score matching (psm) for observations that a same treatment happened to them in different period of time. If the treatment happened in period 2 we compare outcome of period 3 and 1 in treated and matched control groups.

recall treatment only happened in period2, 3 and 4.

Now i want to use DID model using proc glm or proc mixed etc to investigate the effect of treatment on outcome.

your help will be appreciated.

Thanks

 

OBS   perid1   period2   period3  period 4   period 5   treatment  MatchID  outcomes for all periods and other covariates

 1         1             2             2         .                 .                  yes

2           1             1            1                                                NO

3

.

.

3 REPLIES 3
fama
Fluorite | Level 6

Hi every one,

 

I have a question regarding DID estimation model.

I created a data set using propensity score matching (psm) for observations that a same treatment happened to them in different period of time. If the treatment happened in period 2 we compare outcome of period 3 and 1 in treated and matched control groups.

recall treatment only happened in period2, 3 and 4.

Now i want to use DID model using proc glm or proc mixed etc to investigate the effect of treatment on outcome.

your help will be appreciated.

Thanks

 

OBS   perid1   period2   period3  period 4   period 5   treatment  MatchID  outcomes for all periods and other covariates

 1         1             2             2         .                 .                  yes

2           1             1            1                                                N

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 1471 views
  • 0 likes
  • 2 in conversation