Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: 2 -estout- queries


From   "Ben Jann" <[email protected]>
To   <[email protected]>
Subject   st: RE: 2 -estout- queries
Date   Sat, 18 Mar 2006 10:39:47 +0100

Roger asks:
> 1. Is there a way of suppressing the table heading [in estout]?

The table header is composed of several elements (model labels and
column labels, possibly equation labels and model groups labels). Each
element can be suppressed manually using the -none- label suboption.
Example:

    . sysuse auto, clear
    (1978 Automobile Data)

    . egen c_mpg = cut(mpg), group(7)

    . ta c_mpg, nofreq gen(c_)

    . qui regress weight c_1-c_6, noconst

    . estout, cells("b ci_l ci_u") mlabels(, none) collabels(, none)

    c_1     4103    3499.693        4706.307
    c_2     3536.25 2861.732        4210.768
    c_3     3323.333        2687.392        3959.275
    c_4     3272.727        2697.496        3847.958
    c_5     2848.462        2319.326        3377.597
    c_6     2336.667        1785.925        2887.408

Furthermore:
> 2. Is there a way of inserting text into the blank cell above the
column
> of X-variable names?

There is a -lhs()- label suboption. Example:

    . estout, cells("b ci_l ci_u") collabels(, lhs(xvar))

            .
    xvar    b       min95   max95
    c_1     4103    3499.693        4706.307
    c_2     3536.25 2861.732        4210.768
    c_3     3323.333        2687.392        3959.275
    c_4     3272.727        2697.496        3847.958
    c_5     2848.462        2319.326        3377.597
    c_6     2336.667        1785.925        2887.408

ben

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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