Hello everybody!

I am trying to model the relationship between the number of patents and oil prices. I have a panel count data and I tried to estimate the Poisson random effects model in Stata first and found the evidence of overdispersion.

That's why I proceeded to estimate negative binomial regression. I estimated both fixed and random effects and wanted to compare them by the Hausman test, but got the message that data fails to meet asymptotic assumptions of the Hausman test. Are there any other ways I can compare FE and RE of NGBIN and choose the best model to fit data?

Thank you for answering in advance.