Hi All, I have a dataset for event study and I am trying to normalize the median by setting t-1=1 so I can make figures with the 25th percentile, 50th percentile and 75th percentile but I am not sure how to code this in stata. Here is an example data below which shows how my data looks with two of my variables income and GDP. I have already found the percentiles of my variables but not sure how to do it with t-1=1 and how to interpret that. Thanks!
time |
income_50 |
income_75 |
income_25 |
gdp_50 |
gdp_75 |
gdp_25 |
-2 |
98 |
103 |
72 |
98 |
104 |
79 |
-1 |
95 |
100 |
75 |
98 |
105 |
79 |
0 |
94 |
99 |
73 |
100 |
105 |
80 |
1 |
97 |
101 |
76 |
101 |
106 |
82 |
2 |
98 |
102 |
79 |
102 |
107 |
84 |
0 Response to event analysis using percentiles in stata
Post a Comment