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

st: re: long variable value in tab: how to get it all


From   Philip Ryan <[email protected]>
To   [email protected]
Subject   st: re: long variable value in tab: how to get it all
Date   Fri, 31 Jan 2003 10:51:19 +1030

Don Spady wrote:

Hello statalisters
I have a variable which is an icd-9 descriptor (e.g. "009 ill-defined
intestinal infections"
I want to do a tab with the descriptor as var1 and something else as var2
e.g. "tab dx2desc chrAll"
When I do this I get tab output but the icd9 descriptor (i.e. dx2desc) is
truncated
so I get "009 ill-defined i" instead of "009 ill-defined intestinal
infection"
Is there any way to get tab to give a more complete (i.e. wider) output of
dx2desc?
Many thanks
==================

Try -table- rather than -tabulate- and, if necessary, use the -stubwidth()- option.

Phil


Philip Ryan
Associate Professor
Department of Public Health
Medical School
University of Adelaide
Adelaide 5005
South Australia

tel: +61 8 83033570
fax: +61 8 82234075

[email protected]
http://www.public-health.adelaide.edu.au/

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