Statalist


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

st: estpost tabstat


From   Richard Ochmann <[email protected]>
To   [email protected]
Subject   st: estpost tabstat
Date   Mon, 6 Apr 2009 12:42:43 +0200

...

I stumbled over this issue:

***
sysuse auto
***

While

***
estpost tabstat price mpg, col(stat)
***

returns as expected:

Summary statistics: mean
     for variables: price mpg

             |   e(mean) 
-------------+-----------
       price |  6165.257 
         mpg |   21.2973 

***
estpost tabstat price mpg, col(stats)
***

returns:

Summary statistics: mean
     for variables: price mpg

             |  e(price)     e(mpg) 
-------------+----------------------
        mean |  6165.257    21.2973 


Given that both

***
tabstat  price mpg, col(stat)
tabstat  price mpg, col(stats)
***

do the desired:

    variable |      mean
-------------+----------
       price |  6165.257
         mpg |   21.2973
------------------------

I am surprised finding the above.


best, rich

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