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

Re: st: tabstat documentation


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: tabstat documentation
Date   Thu, 01 Apr 2004 19:13:05 +0100

At 11:04 01/04/04 -0600, David Airey wrote:
Maybe the online help for tabstat contains an error?

--snip--
Description
...
With the by() option, tabstat resembles "tabulate varname,
summarize(varlist)" in that both report statistics of varlist for the
different values of varname. tabstat allows more flexibility in terms of
the statistics presented and the format of the table.

--snip--

tabulate varname, summarize(varlist) or tabsum does not take a varlist for the summarize option.
Strictly speaking, a varname is a special case of a varlist (see -[P] syntax-). However, I can see how the online help for -tabstat- might confuse people who do not know this. Perhaps the next version of the documentation should refer to

tabulate varname_1, summarize(varname_2)

in order to be clear.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

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