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

Re: Re: st: A question about long variable name


From   "Maoyong Fan" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: Re: st: A question about long variable name
Date   Sat, 10 Jul 2004 13:12:29 -0700

Dear Renzo,

	This is different question.  When a variable has long name, the sum or des table always give out the abbreviated name, like educ_q09_w~4.  Now I am using other people's dta, so I don't have the varible list in had.  As Michael said, I can get it from variable window.  The reason I want to show the full name of sum or des table is that my boss want my report readible and clear to him.  So actually my question is that:

How can I show the full name of variable in a summerize or description table?  
Or is there a command or configuration which can give me a full name list of my dta file?

Just want to find way to save time of doing data cleaning.	

Warm regards,

Maoyong 				


>I am not able to give you a general answer, but if your question is linked
>to a previous question of yours
>http://www.stata.com/statalist/archive/2004-06/msg00521.html
>Then just add -display "`v'"- to your loop
>
>foreach v of varlist _all {
>	describe `v'
>	display "`v'"
>	summarize `v'
>}
>
>
>Best,
>Renzo
>
>----------------------------------------------------------------------------
>----
>*From   "Maoyong Fan" <[email protected]> 
>To   "statalist" <[email protected]> 
>Subject   st: A question about long variable name 
>Date   Sat, 10 Jul 2004 11:04:52 -0700 
>
>----------------------------------------------------------------------------
>----
>
>Dear Friends,
>
>	Sometimes, I just need to use some downloaded stata data file.
>After sum and des, I found some variables have long names and some part of
>their name is abbreviated as ~.  How could I show the full name of a long
>name variable in stata?  I have searched for an answer for a long time and
>can not find a way out.
>	
>
>Warm regards,
>
>Maoyong				
>
>
>
>*
>*   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/

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