Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
730 views
in Technique[技术] by (71.8m points)

statistics - Is there a package in R to run Negative Binomial Regression with fixed effects, possibly FE demeaning regression?

I am dealing with over-dispersed count variable in my model and to my best knowledge, negative binomial model is ideal for this type of dependent variable. I would like to use FE demeaning approach since it reduces time invariant omitted variable bias for the panelized data. I used glm.nb from MASS package in R but it doesnt really give me what I exactly want. I have two questions regarding this:

-Is there any R function to do this?
-Can I just log transform the dependent variable and run the OLS model?

question from:https://stackoverflow.com/questions/65931185/is-there-a-package-in-r-to-run-negative-binomial-regression-with-fixed-effects

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...