Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72758

Graphs with Coarsened exact matching (CEM)

$
0
0
Hi, I want to do a graph to check for parallel pre-treatment trends.

I have done it on the unmatched sample using:
separate yvariable, by(treated)
bysort Year: egen Untreated = mean(yvariable0)
bysort Year: egen Treated = mean(yvariable1)
twoway (connect Untreated Year) (connect Treated Year) etc.

But I have also performed a coarsened exact matching which I include in the regressions by:
reg yvariable Treated Post PostTreated X [iweight=cem_weights].
I can however not find a way to use the matched sample in the graphs, can anyone help?

Thanks in advance

Viewing all articles
Browse latest Browse all 72758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>