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
Issue with coordinates output from SHP2DTAHello, I am using the -shp2dta- command to translate to Stata format shapefiles from the U.S. Census…
Regression considering the weight of the sample in each countryDear Statalisters I am trying to do a Tobit regression for a sample with multiple firms in 30 diffe…
Sales-based Herfindahl indexI am using Stata 14 and would like to calculate the sales-based Herfindahl index to control for indu…
Sum values between two dates in a panel dataHello statalist, I have a panel data needs to calculate the sum of a column value between two dates …
Probit Regression:Insignificant*Coefficients, Significant Marginal EffectsDear all, I have a question about interpretation of my model's results. I am running a probit mode…
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