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

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

From   "Nick Cox" <>
To   <>
Subject   st: RE: -tabstat- with c(count) format options
Date   Thu, 15 Oct 2009 17:51:41 +0100

I seem to recollect arguing something similar, evidently to no effect. 

However, "always" is a little strong, as -tabstat- will accept analytic
weights, which need not be integers. 


Jeph Herrin

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?

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.

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index