Dear Stata sages,
For a research project, I am in the process of predicting the number of correct multiple-choice responses (a count variable, range 0-13) from a set of demographic and personality variables. The data are underdispersed, so I am attempting Generalized Poisson Regression, using gpoisson. I am running Stata 16.0.
The model is specified as such:
When I run the model it does not converge and runs to infinity:
I have used ppml to identify possible superfluous variables but all are retained. gpoisson will also not converge if the predictors are tested separately in models containing just one predictor, or when they are centered to reduce discrepancies in scaling.
Do you have any suggestions as to how to resolve the nonconvergence? Or alternative analyses that might work better for these (underdispersed) data?
I thank you in advance for your trouble. Your advice would be deeply appreciated.
For a research project, I am in the process of predicting the number of correct multiple-choice responses (a count variable, range 0-13) from a set of demographic and personality variables. The data are underdispersed, so I am attempting Generalized Poisson Regression, using gpoisson. I am running Stata 16.0.
The model is specified as such:
Code:
gpoisson DV_SurveyQ_Ncorrect Age CRT_Ncorrect TrustSci_SC Punitive_SC if filter == 1
The same model does converge with both regular poisson and nbreg:
Iteration 0: log likelihood = -8391.1075 (not concave)
Iteration 1: log likelihood = -4627.1766 (not concave)
Iteration 2: log likelihood = -3341.3464 (not concave)
Iteration 3: log likelihood = -3077.9947 (not concave)
Iteration 4: log likelihood = -3070.8619 (not concave)
Iteration 5: log likelihood = -3070.6492 (not concave)
Iteration 6: log likelihood = -3070.6489 (not concave)
Iteration 7: log likelihood = -3070.6489 (not concave)
(etc)
Code:
. poisson DV_SurveyQ_Ncorrect Age CRT_Ncorrect TrustSci_SC Punitive_SC if filter == 1, vce(robust) Iteration 0: log pseudolikelihood = -1879.6068 Iteration 1: log pseudolikelihood = -1879.6068 Poisson regression Number of obs = 998 Wald chi2(4) = 49.81 Prob > chi2 = 0.0000 Log pseudolikelihood = -1879.6068 Pseudo R2 = 0.0073 ------------------------------------------------------------------------------------- | Robust DV_SurveyQ_Ncorrect | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------------+---------------------------------------------------------------- Age | -.0022428 .0007199 -3.12 0.002 -.0036538 -.0008318 CRT_Ncorrect | .0180007 .0099078 1.82 0.069 -.0014182 .0374196 TrustSci_SC | .0319436 .015171 2.11 0.035 .002209 .0616782 Punitive_SC | -.0581381 .0135921 -4.28 0.000 -.084778 -.0314981 _cons | 1.509413 .0896253 16.84 0.000 1.33375 1.685075 ------------------------------------------------------------------------------------- . estat ic Akaike's information criterion and Bayesian information criterion ----------------------------------------------------------------------------- Model | N ll(null) ll(model) df AIC BIC -------------+--------------------------------------------------------------- . | 998 -1893.419 -1879.607 5 3769.214 3793.742 ----------------------------------------------------------------------------- Note: BIC uses N = number of observations. See [R] BIC note. . . estat gof Deviance goodness-of-fit = 575.1992 Prob > chi2(993) = 1.0000 Pearson goodness-of-fit = 541.9197 Prob > chi2(993) = 1.0000
Do you have any suggestions as to how to resolve the nonconvergence? Or alternative analyses that might work better for these (underdispersed) data?
I thank you in advance for your trouble. Your advice would be deeply appreciated.
Comment