Hi all,
I'm stuck with a graph I'm trying to figure out. I am in one of those difference-in-differences with staggered rollout situations where I'm trying to create a graph that will nicely summarize the treatment status of each state in each year of my panel. I took a run at using catplot and took a look at the new waffle plot command, but I don't think there's any way to get either of those to achieve what I'm looking for.
Here's a very rough Microsoft Paint sketch of what I have in my head (with blue meaning treated and light gray meaning untreated):
Array
This is just a sketch, but my data is available here, and the setup is that each observation is a state in a fiscal year, with treatment status indicated by the "post" variable, which takes on values 0 or 1.
Any suggestions are most welcome!
Related Posts with Creating a Graph That Shows Treatment Status by Group Over Years of A Panel
Merge accuracy using str format when most contain only numbersDear stata user, I have a question regarding the merge accuracy of str. I have dataset A whose firm_…
How to do a Box Plot with mean instead of median and SD instead of quartiles?Dear Statalisters, Please have a look at my data: Code: * Example generated by -dataex-. For more…
Box plot helpHello everyone, I am trying to make this visual from a book by Edward Tufte where he talks about us…
Help with bootstrap in obtaining a standard error.Hi Everyone: I think my problem has nothing to do with the data set and so I'm not showing a data ex…
Summing over a value of variable for repeating countyHello respected stata community, I have a dummy variable which takes the value 0 and 1. The observa…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Graph That Shows Treatment Status by Group Over Years of A Panel
Post a Comment