Statalist


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

st: Help with glm command results display


From   Muhammad Riaz <citriaz@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Help with glm command results display
Date   Fri, 14 Aug 2009 10:33:02 -0700 (PDT)

 
Hi all,
I will really appreciate if somebody could help me how to display the result of the table  in one line, after running glm command, by writing a command line in stata.

  e.g  I want to summarize the table as given below: 


                                                   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
---------------------------------------------------------------------------

in one line as:

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

If I get this in one line result, I can copy it to one cell of a table.
I am runing a glm command with a loop to get these results for many variables. it will make it easy to put it in a table.

Thank you


Muhammad Riaz
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



*
*   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