Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: possible to combine nmissing with tabstat?


From   "A.M. Vos" <a.vos@erasmusmc.nl>
To   statalist@hsphsun2.harvard.edu
Subject   st: possible to combine nmissing with tabstat?
Date   Mon, 14 Jun 2004 15:13:23 +0200

Dear all,
I just found 'nmissing' and I hoped it was possible to use that in
combination with
tabstat, but it appeared not to. For instance, my syntax reads:

by DURSTAY DETMETH: tabstat WEEKDELAY, s(mean n)

and I would like to say:

by DURSTAY DETMETH: tabstat WEEKDELAY, s( mean n nmissing)
that is, for each combination of durstay and detmeth obtaining the mean
delay in
weeks, the number of observations on which the mean was calculated, and
the number
of observations with a missing value on weekdelay.

it would also be nice if 'nmissing' could be used in combination with
table and
tabulate.
would this be possible?

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