Dear experts, this is my first post in this forum, from which I already learned so much (but obviously not enough so far).
To the case: I am trying to determine the effect of a binary treatment (funding program for organizations) on a count variable (number of received grants from another program per organization). I have panel data (from 2007 to 2021) for a treatment and a control group, the treatment starts at 2019.
I used the following code for estimating a Poisson Difference-in-Difference model and getting the treatment effect in form of an incidence rate ratio:
xtpois grant_number i.treat##i.post i.year, fe robust irr
(where
treat = binary treatment variable
post = period from 2019)
Hoping I was correct with estimating the model, there is one thing I couldn't find out so far, namely to test the parallel trends assumption for this model. As I have read other-where, testing this assumption works differently with count data models compared with a linear approach (for which I could have used the built-in post-estimation command(s) in xtdidregress). Unfortunately, I couldn't find out how to do it by my selves in Stata.
I would be very happy about a hint.
To the case: I am trying to determine the effect of a binary treatment (funding program for organizations) on a count variable (number of received grants from another program per organization). I have panel data (from 2007 to 2021) for a treatment and a control group, the treatment starts at 2019.
I used the following code for estimating a Poisson Difference-in-Difference model and getting the treatment effect in form of an incidence rate ratio:
xtpois grant_number i.treat##i.post i.year, fe robust irr
(where
treat = binary treatment variable
post = period from 2019)
Hoping I was correct with estimating the model, there is one thing I couldn't find out so far, namely to test the parallel trends assumption for this model. As I have read other-where, testing this assumption works differently with count data models compared with a linear approach (for which I could have used the built-in post-estimation command(s) in xtdidregress). Unfortunately, I couldn't find out how to do it by my selves in Stata.
I would be very happy about a hint.
Comment