asdocx : Easy, yet extremely flexible program for publication quality tables in Stata Forums asdocx Forum Report IRR for negative binomial regression | Word | Excel

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Michael Rocque
    Participant
    Post count: 2

    Dear sir, thank you for asdoc–it is fantastic. Is there a way to show IRR for negative binomial regression, similar to odds ratios using eform?
    Additionally, if it is possible, I’d love to show the p-value next to the regression coefficient–is that possible?

    Many thanks!

    Attaullah Shah
    Moderator
    Post count: 21

    I think what you are asking for is available in the reg1 template.
    See details here https://fintechprofessor.com/asdocx/creating-and-working-with-asdocx-template-files/reg1-template-of-asdocx-regression-for-epidemiology/.

     asdocx nbreg daysabs mathnce langnce female , irr template(reg1)
    

    An example of using the reg1 template command and its results are given below.

    Table: Regression Results – daysabs
    Variable OR [95% CI] P-value
    ctbs math nce 0.998 [0.989, 1.008] 0.741
    ctbs lang nce 0.986 [0.975, 0.997] 0.010
    female 1.539 [1.171, 2.024] 0.002
    Constant 9.825 [6.511, 14.824] 0.000
    /lnalpha 0.253 [0.066, 0.441] .b
    _diparm1:alpha 1.288 [1.068, 1.554] .b
    Observations 316
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.