I'm using coefplot (a community-written command from the Stata Journal) after running the below model. The reference time point is t-1 (where t=0 is the month that an individual was arrested), and therefore it does not have an associated coefficient and does not show by default in the graph.
In the graph, I have relabeled time points such that, eg, "3" is 3 months following the reference time period, and added a red line to denote the reference period. My question is if there is some way to replace the vertical line with a new x axis point where the reference time period would be? I presume that x axis spot would remain blank (or perhaps have a point at y=0).
My data are in a restricted environment, but I show an example code snippet analogous to my own and an image of the graph it produces.

In the graph, I have relabeled time points such that, eg, "3" is 3 months following the reference time period, and added a red line to denote the reference period. My question is if there is some way to replace the vertical line with a new x axis point where the reference time period would be? I presume that x axis spot would remain blank (or perhaps have a point at y=0).
My data are in a restricted environment, but I show an example code snippet analogous to my own and an image of the graph it produces.
Code:
reghdfe outcome (arrest_pre7-arrest_post11), absorb (id month) coefplot, vertical keep(arrest*) yline(0) xlabel(, angle(45)) /// coeflabels(arrest_pre7="-6" arrest_pre6="-5" [...and so on])
Comment