Statalist


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

st: glm, results table in one line?


From   Muhammad Riaz <citriaz@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: glm, results table in one line?
Date   Sat, 15 Aug 2009 06:10:18 -0700 (PDT)

Is it possible to print the result of the table, from a glm command in stata, given below in one line like,

OR=1.97, 95%CI(1.34, 0.90), z=3.43, p=0.001

xi: glm r_pconduct i.r_speech, fam(bin) link(logit) eform


                                                  AIC          =   .670045
Log likelihood   = -386.6261158                    BIC             = -7397.799

---------------------------------------------------------------------------
             |                 OIM
r_pconduct~y | Odds Ratio   Std. Err.      z    P>|z|     [95% Conf. erval]
-------------+-------------------------------------------------------------
_Ir_speech~1 |   1.968727   .3890006     3.43   0.001     1.336586  .899842
---------------------------------------------------------------------------



Muhammad Riaz   



      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index