Hi,
I'm trying to calculate a difference in differences estimate with a very small sample (10 clusters, 4 years of data for 40 observations total. I've tried 3 models.
The ols estimate is an effect size of 3 times the poisson with p-value of .000. The count models show an effect size 3 times smaller with p = .09.
This doesn't make sense to me, because I can look at the data in excel and calculate the "difference-in-differences" by hand and it is equal to the ols estimate. Unfortunately I can't post a data sample because its sensitive, but it is essentially all 0's and 1's and a single count of a much higher number in the treatment group and post treatment period. (1 treatment cluster and 1 post treatment period). Should be simple to simulate.
I don't know what kind of correction the poisson data could make to have this effect. It seems the poisson model is no longer estimating a diff in diff. Any idea what is happening here? And how to push back if poisson is requested rather than ols since this is count data?
Edit: Ok, I forgot there is different interpretation for OLS vs. Poisson. Converting the estimate yields an equivalent effect size. Does anyone know why the standard errors are so much larger in the poisson model vs. the ols?
I'm trying to calculate a difference in differences estimate with a very small sample (10 clusters, 4 years of data for 40 observations total. I've tried 3 models.
Code:
reg Count treatment treatxpost i.Yearpoisson Count treatment treatxpost i.Yearnbreg Count treatment treatxpost i.Year
The ols estimate is an effect size of 3 times the poisson with p-value of .000. The count models show an effect size 3 times smaller with p = .09.
This doesn't make sense to me, because I can look at the data in excel and calculate the "difference-in-differences" by hand and it is equal to the ols estimate. Unfortunately I can't post a data sample because its sensitive, but it is essentially all 0's and 1's and a single count of a much higher number in the treatment group and post treatment period. (1 treatment cluster and 1 post treatment period). Should be simple to simulate.
I don't know what kind of correction the poisson data could make to have this effect. It seems the poisson model is no longer estimating a diff in diff. Any idea what is happening here? And how to push back if poisson is requested rather than ols since this is count data?
Edit: Ok, I forgot there is different interpretation for OLS vs. Poisson. Converting the estimate yields an equivalent effect size. Does anyone know why the standard errors are so much larger in the poisson model vs. the ols?
Comment