No, that's not quite it. You don't do separate regressions for each lag. You do them all at once (close to what you show in your third -xtpoisson- command above) and then do a simultaneous test of the relevant coefficients. The code shown here would include unlagged time, as well as lags 1 through 3 and forward times 1 and 2. You can modify to whichever lags and leads are actually relevant to the dynamics of your situation, of course.
To do the simultaneous test on the lags or leads you will first have to run -xtpoisson, coeflegend- to see what names Stata has given to the corresponding terms and then list those as arguments in your -test- command.
Code:
xtpoisson nb_trial_y treated##(L(0/3).policy F(1/2).policy), fe
Comment