Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Using variable label


From   Ay <yuniphone@yahoo.co.id>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Using variable label
Date   Wed, 21 Sep 2011 09:42:14 +1000

Hi all,
Does anyone know how to list or use variable label instead of variable name in stata?

For instance when you use command: sum varlists.

I'm using stata 11.0
I prefer to use variable label & had read about label in the stata guide but didn't find how to use varlabel label.
I just knew how to create it.

It is the label in variable box on the left in the stata screen, usually appears in the second coloumn after variable name.

I try an example with '"nolabel'" word attached in the command box but seen an error message in red:
option nolabel not allowed 
r(198);

Thank you in advanced.

Yun





On 20 Sep 2011, at 21:11, Ay <yuniphone@yahoo.co.id> wrote:

> Hi all, i am sorry if my question was not clear. I mean using outreg after run the regression model. In the first coloumn, it showed using the variable name only. I prefer to use the variable label. I created it using:  label var name "varlabel".
> 
> Hope this is clearer.
> 
> Thank you.
> 
> Yun
> 
> 
> 
> 
> On 20 Sep 2011, at 19:12, Roger Newson <r.newson@imperial.ac.uk> wrote:
> 
>> Which "output result" are you talking about? Is it the output to -list- or something else?
>> 
>> Roger
>> 
>> 
>> Roger B Newson BSc MSc DPhil
>> Lecturer in Medical Statistics
>> Respiratory Epidemiology and Public Health Group
>> National Heart and Lung Institute
>> Imperial College London
>> Royal Brompton Campus
>> Room 33, Emmanuel Kaye Building
>> 1B Manresa Road
>> London SW3 6LR
>> UNITED KINGDOM
>> Tel: +44 (0)20 7352 8121 ext 3381
>> Fax: +44 (0)20 7351 8322
>> Email: r.newson@imperial.ac.uk
>> Web page: http://www.imperial.ac.uk/nhli/r.newson/
>> Departmental Web page:
>> http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
>> 
>> Opinions expressed are those of the author, not of the institution.
>> 
>> On 20/09/2011 02:21, Ay wrote:
>>> Hi all,
>>> I want to use variable label in the output result rather than the variable name. I do not know how. I am using stata 11.0.
>>> 
>>> I use varlabels but did not work.
>>> 
>>> Looking it by findit but no search result.
>>> 
>>> Thank you.
>>> 
>>> Yun
>>> 
>>> 
>>> 
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index