Statalist


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

st: Using estout and stacking multiple models in one column


From   "Kelly-Ann Peart" <[email protected]>
To   [email protected]
Subject   st: Using estout and stacking multiple models in one column
Date   Fri, 20 Jul 2007 17:44:24 -0400

Hello Everyone,

I have figured out how to use the estout command to format a table of
estimates the way I want it to look.  After some research I have found
that the following command works well.

Now my problem is getting multiple models to be "stacked" per say, in
one column.

All that stacking commands that I have found manipulate variables more
than estimates.

How can I use estout and still "stack" multiple models in one column?


estout test, cells("b(drop(_cons) fmt(%8.2f)) se(drop(_cons) fmt(%8.2f)
par) p(drop(_cons) star) ci(drop(_cons))") style (fixed)

                    test
                       b           se            p            ci95
age                  0.21       (0.11)         0.06      -0.01,0.42
b2a                  1.55       (0.46)         0.00***    0.64,2.46
decis_make           1.30       (0.39)         0.00***    0.55,2.06
inapprop_b~t         1.89       (0.33)         0.00***    1.24,2.53
_Ig1ea_cat_1        -0.29       (0.33)         0.39      -0.94,0.37
_Ig1ea_cat_2        -2.49       (0.52)         0.00***  -3.51,-1.47
_Ig1ja_cat_1         1.29       (0.44)         0.00**     0.41,2.16
_Ig1ja_cat_2         1.14       (0.51)         0.03*      0.13,2.15


What I would like
                       univ1
                       univ2
                       univ3
                  etc          test

                    b          b           se            p
ci95
age                 0.33        0.21      (0.11)         0.06
-0.01,0.42
b2a                 1.77        1.55      (0.46)         0.00***
0.64,2.46
decis_make          2.01        1.30      (0.39)         0.00***
0.55,2.06
inapprop_b~t        2.56        1.89      (0.33)         0.00***
1.24,2.53
_Ig1ea_cat_1        -0.11       -0.29     (0.33)         0.39
-0.94,0.37
_Ig1ea_cat_2        -3.12       -2.49     (0.52)         0.00***
-3.51,-1.47
_Ig1ja_cat_1        1.56        1.29      (0.44)        0.00**
0.41,2.16
_Ig1ja_cat_2        2.33        1.14      (0.51)        0.03*
0.13,2.15


Thank you in advance for any help you provide,
K. Peart
*
*   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