Statalist


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

AW: st: Number of characters in a variable label


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: Number of characters in a variable label
Date   Mon, 15 Feb 2010 16:23:02 +0100

<> 

-codebook- with the -notes- option is ideal for this purpose:

*************
clear*
set obs 10000
 
gen byte question1= irecode(_n,0,1000,10000)  
la var question1 "Answers to Question 1"
notes question1: This answer relates to the question:  /* 
*/ How likely is it that a boy will be born that can swin  /* 
*/ considerably faster than the fastest shark?

gen byte question2= irecode(_n,0,3000,10000)  
la var question2 "Answers to Question 2"
notes question2: This answer relates to the question:  /* 
*/ How likely is it that a boy will be born that can run  /* 
*/ considerably faster than the fastest lion?

codebook, note
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Mosi Ifatunji
Gesendet: Montag, 15. Februar 2010 16:15
An: [email protected]
Betreff: Re: st: Number of characters in a variable label

Eric,

Thanks for the suggestion. Unfortunately this has not solved the
problem. I know "needing/wanting" more than 80 characters is not the
norm for a variable label, but I am looking to generate a printout
with the original questions and some basic frequency distributions. I
think I might be stuck using R for this but just wanted to put out a
second call.

My best,

Mosi

On Sun, Feb 14, 2010 at 3:29 PM, Eric Booth <[email protected]> wrote:
>>
>
> Mosi--
>
> See this thread:
> http://www.stata.com/statalist/archive/2010-02/msg00336.html
>
> ~ Eric
>
> __
> Eric A. Booth
> Public Policy Research Institute
> Texas A&M University
> [email protected]
> Office: +979.845.6754
>
>
> On Feb 14, 2010, at 3:16 PM, Mosi Ifatunji wrote:
>
>> All,
>>
>> I am using Stata 11 (intercooled) and would liek to know if there is
>> some way to expand the number of characters in a variable label form
>> the preset 80 to some larger number.
>>
>> Any thoughts?
>>
>> Mosi
>>
>> --
>> Mosi A. Ifatunji, Ph.D. Candidate
>> ASA Pre-Doctoral Fellow
>
>
> *
> *   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/
>



-- 
Mosi A. Ifatunji, Ph.D. Candidate
ASA Pre-Doctoral Fellow
University of Illinois at Chicago
Department of Sociology (MC 312)
1007 West Harrison Street
Chicago, Illinois 60607-7140
Phone: (312) 607-2825
Email: [email protected]
Web: http://www.uic.edu/depts/soci/
http://blackyouthproject.uchicago.edu/
http://www.2008andbeyond.com/
http://www.ifatunji.com/

"Power concedes nothing without a demand."
                          - Frederick Douglass, 1857

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