Statalist


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

st: -tabstat- with c(count) format options


From   Jeph Herrin <junk@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: -tabstat- with c(count) format options
Date   Wed, 14 Oct 2009 15:21:44 -0400


So this is just a petty complaint more than anything,
but shouldn't

 tabstat myvar, c(count mean) format

not apply the -format- option to the -count- result?
Consider:

*-----------------------*
sysuse gnp96
tabstat date, s(count min max) format c(s)
*-----------------------*

which produces


    variable |         N       min       max
-------------+------------------------------
        date |    1995q3    1967q1    2002q2
--------------------------------------------

Which isn't very useful. Seems like the "count" stat
should always be formated as an integer.

Jeph

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