Negative binomial linear regression models

JY Jiekun Yang
XW Xiaolong Wei
TT Turan Tufan
CK Cem Kuscu
HU Hayrunnisa Unlu
SF Saadia Farooq
ED Elif Demirtas
BP Bryce M. Paschal
MA Mazhar Adli
request Request a Protocol
ask Ask a question
Favorite

All the regression models were built using the glm.nb function in R. The final fitted model was determined by performing ANOVA test for models with different independent variables included. We also compared the final negative binomial model with a corresponding Poisson model. P values for the coefficients of included independent variables were calculated using Wald test. To use any model for prediction, 1000 data points for each independent variable were independently simulated. Then the model was used to predict values for the response variable. To remove effects of any independent variable on the response variable, residuals function in R was applied to obtain the corrected values of the response variable.

Do you have any questions about this protocol?

Post your question to gather feedback from the community. We will also invite the authors of this article to respond.

post Post a Question
0 Q&A