Hi,
I have a panel data from 2003-2018. I have taken the average of (Top Marginal Income Tax from 2003-2010 and 2011-2018). and then sorted it by year.
egen mean_MIT_03_10 = mean(MIT) if year>=2003 & year<2011, by (Region_Name)
egen mean_MIT_11_18 = mean(MIT) if year>=2011 & year<2019, by (Region_Name)
sort year
I now want to create a year index from 2003-2010 and 2011-2018. So that I can create the following graph:
Can anyone please help me? If there is any more calcification you need, please let me know. Thank you.
Related Posts with Year Index
Dataset FormatHey everyone! I was wondering if anyone could shed light on the the ".data" file format? I'm trying…
Generate Event WindowHello, I would like to perform an event study in Stata. Unfortunately, I cannot apply this https://…
Explaining the significant levels change when adding interaction variables?Today, when running the regression, I found something quite complicated Array Where Y1, Y2, Y3 are…
How to calculate the sample size for three groups (or >2 groups) by log-rank test in StataWe plan to conduct a study for comparing the survival rate between three different types of surgery …
Explaining frailty modelsHi all, I am currently researching on waiting time of passengers (the time passengers stay at the st…
Subscribe to:
Post Comments (Atom)
0 Response to Year Index
Post a Comment