Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convergence not achieved - negative binomial and exposure variable

    Hello everyone,

    I am conducting a paneled data analysis to test for factors affecting the success of terrorist attacks. The analysis is being conducted with country as the unit of analysis (there are 10 countries in total that are included). Whenever I run the xtnbreg command, the model runs fine :

    xtnbreg success i.country unemployment inflation gdppercapita internationalorg conflictoccured efindex percages1564 votturnout, nolog

    However, I need to specify an exposure variable to take into account the total number of attacks per country. When I do this, I get the error: convergence not achieved r(430); (see attached for the full model). I have tried to use the options to maximize such as difficult or gradient but that did not work. Any advice on how to proceed with the analysis here?

    xtnbreg success i.country unemployment inflation gdppercapita internationalorg conflictoccured efindex percages1564 votturnout, exp(totalattack)

    Attached Files
    Last edited by Ghady Hbeilini; 14 Feb 2024, 16:04.
Working...
X