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

st: Help with glm command results display

From   Muhammad Riaz <>
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 

*   For searches and help try:

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