Announcement

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

  • Generating absolute risk following poisson

    Hello Stata users, Happy New Year in advance.

    Just seeking out your opinion,

    I would like to calculate the - ABSOLUTE RISK- following a poisson regression.

    I can, of course, calculate this manually, as shown here https://www.psychiatrist.com/jcp/und...ontrol%20group.

    However, just wondering if this is possible to obtain these estimations following


    Code:
    clear all
    use https://www.pclambert.net/data/rott2b, clear
    poisson rfi i.hormon, nolog irr vce(robust)

  • #2
    Code:
     poisson rfi ibn.hormon, nocons nolog irr vce(robust)
    Code:
    ------------------------------------------------------------------------------
                 |               Robust
             rfi |        IRR   std. err.      z    P>|z|     [95% conf. interval]
    -------------+----------------------------------------------------------------
          hormon |
             no  |   .5054862   .0097268   -35.45   0.000     .4867771    .5249143
            yes  |   .5368732   .0270869   -12.33   0.000     .4863243     .592676
    ------------------------------------------------------------------------------

    Comment


    • #3
      Note, this is also the same as the margins command from your previous thread.

      Code:
      margins i.hormon

      Comment

      Working...
      X