Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: SImple question on "describe"


From   Philip Ryan <[email protected]>
To   [email protected]
Subject   Re: st: SImple question on "describe"
Date   Wed, 21 Jun 2006 11:14:17 +0930

In response to the second part of the question, I think this is bit trickier. The display of data under -table- is controlled by -tabdisp-. This is an in-built command, so not amenable to tinkering by end-users. -tabdisp- behaves a bit like -tabulate- in that, by default, these commands display the variable label, not the variable name, in the headers. -tabulate- has a -nolabel- option that allows you to choose to display the variable name, but you don't get the choice of both. -tabdispl- does not even have a -nolabel- option (and consequently -table- does not permit it).

So... I think if you want to get variable name and label into the row/col headers of a cross-tabulation display, then you might need to knit your own from a reasonably low level. I haven't looked thoroughly at the enormous number of user written programs in the general area of tables, so maybe someone has already tackled this.

Phil



At 05:44 PM 20/06/2006 -0700, you wrote:

Hi,

I've checked the user's guide, programming and the
reference guide.  I want to use describe and only want
the variable name and variable label - not the other
information.  Also, when I use a table command - I
would like to see BOTH the variable name and the
variable label - is this possible?

Thanks,
Buddy

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
*
*   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/
Philip Ryan
Associate Professor,
Discipline of Public Health

Director, Data Management & Analysis Centre

Associate Dean (IT)
Faculty of Health Sciences

postal address:
Department of Public Health
Mail Drop 511
University of Adelaide 5005
South Australia

location:
Level 6
Bice Building
Royal Adelaide Hospital
North Terrace
Adelaide

tel 61 8 8303 3570
fax 61 8 8223 4075
http://www.public-health.adelaide.edu.au/
CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright. If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.
*
*   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