I want to visualize my regression outcome using coefplot with the following code:
Now the labels of my x-axis are all called "gap_1991", "gap_1992" and so on. Is there a way to change the naming scheme to only keep the years? I.e. "gap_1991" to "1991" and "gap_1992" to "1992"...
Code:
reghdfe pm25 gap_*, a(fips year) coefplot, vertical drop(_cons) yline(0) xlabel(, angle(vertical))
Comment