Announcement

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

  • Get the standard error from --exlogistic-- command?

    Hi all,

    I'm running the exlogistic command for meta-analysis, with id as study id:

    Code:
    exlogistic r id group, binomial(n) group(id)
    Code:
    Exact logistic regression                    Number of obs     =        576
    Group variable: __id                         Number of groups  =          8
    
    Binomial variable: __n                       Obs per group:
                                                               min =         26
                                                               avg =       72.0
                                                               max =        197
    
                                                 Model score       =    2.41637
                                                 Pr >= score       =     0.1258
    ---------------------------------------------------------------------------
             __r | Odds Ratio       Suff.  2*Pr(Suff.)     [95% Conf. Interval]
    -------------+-------------------------------------------------------------
         __group |   .5874346          23      0.1664       .279409    1.216778
    ---------------------------------------------------------------------------
    How can I get the standard error of the log OR? See the following method cannot work.
    Code:
    gen se = _se[__group]
    Code:
    no variables defined
    r(111);
    Thanks
    Chang

  • #2
    Chang, exlogistic stores SEs in a matrix e(se), not e(V) -- that's why _se doesn't work. After the estimation, you may run

    Code:
    mat list e(se)
    gen se = e(se)[1,1]

    Comment


    • #3
      Originally posted by Fei Wang View Post
      Chang, exlogistic stores SEs in a matrix e(se), not e(V) -- that's why _se doesn't work. After the estimation, you may run

      Code:
      mat list e(se)
      gen se = e(se)[1,1]
      Thanks Wang. A very good solution!

      Best regards
      Chang

      Comment

      Working...
      X