Announcement

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

  • Analysis negative binomial regression

    Hello,

    My outcome is absences per year in days( count) but since i have over dispersion, i will use negative binomial regression instead of poisson.
    What is the code for doing bi-variate negative binomial reg analysis?

    Thanks in advance,
    Reem

  • #2
    Reem:
    see -help nbreg-.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Can i write this code for bi-variate negative binomial regression for the 2 variables ( absence and participation( 3 categories))?

      nbreg absence_per_year i.participation_cat

      After finding all variables that have a p-value<0.2, i can include in the final model but first i need to bivariate analysis

      Comment


      • #4
        You may want to find and download the "bivcnto" procedure to run bi-variate negative regression as nbreg does not handle bi-variate case.

        Note that it comes along with several options and some basic familiarity with copulas is warranted !

        Comment

        Working...
        X