Statalist


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

st: Re: Re: Results displayed in parentheses after -matrix-


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: Re: Results displayed in parentheses after -matrix-
Date   Sun, 14 Dec 2008 14:00:16 +0100

Would Herve be able to extend your proposal to include the number of values and the row and column names that he obviously wants? From his code, it seems that he wants to combine several analyses into one big text file (and have it appropriately labelled)...

HTH
Martin
_______________________
----- Original Message ----- From: "Maarten buis" <[email protected]>
To: <[email protected]>
Sent: Sunday, December 14, 2008 1:36 PM
Subject: st: Re: Results displayed in parentheses after -matrix-


--- Herve STOLOWY <[email protected]> wrote:
Your first question: in a table, I display on the first line the mean
and on the second line, the standard deviation. Traditionnally, in my
field, standard deviations are displayed in parentheses.

This looks like a problem for -estout-. To install -estout- type within
Stata: -ssc install estout-. After that you can run the example below.

*------------ begin example ----------------------
sysuse auto, clear
quietly generate x = uniform()
quietly regress x price weight mpg foreign
estadd mean
estadd sd, nobinary
estout, cells("mean(fmt(2)) sd(par fmt(2))") ///
       mlabels(,none) drop(_cons)
*-------------- end example ----------------------
(For more on how to use examples I sent to the Statalist, see
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------



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



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