Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: capture regression table programmatically


From   "Tony Black" <[email protected]>
To   <[email protected]>
Subject   st: capture regression table programmatically
Date   Sat, 27 Dec 2008 17:22:37 -0800

I am trying to capture regression results programmatically that are not
apparently available from "ereturn list".  I want the 7 columns of
statistics in the rows "gender", "age" and "trauma_r" below.  I have tried a
combination of "estout" and a "file" read, but it has to be simplier than
that.

. logistic mort28d gender age trauma_r

Logistic regression                               Number of obs   =
469
                                                  LR chi2(3)      =
27.16
                                                  Prob > chi2     =
0.0000
Log likelihood = -230.75226                       Pseudo R2       =
0.0556

----------------------------------------------------------------------------
--
     mort28d | Odds Ratio   Std. Err.      z    P>|z|     [95% Conf.
Interval]
-------------+--------------------------------------------------------------
--
      gender |   .8023713   .1868858    -0.95   0.344     .5082954
1.266586
         age |   1.030305   .0076959     4.00   0.000     1.015331
1.0455
    trauma_r |    .186209   .1381248    -2.27   0.023     .0435113
.7968914
----------------------------------------------------------------------------
--


Tony Black
Research Consultant - Systems Information Manager
Pulmonary & Critical Care Medicine
University of Washington
Harborview Research & Training Building, Room 610
Box 359640
206-897-5382 (desk phone)
206-930-9590 (cell/pager)


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index