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

RE: st: RE: value labels and dictionary


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: value labels and dictionary
Date   Tue, 22 Nov 2005 22:22:32 -0000

Your question specified variable labels and I 
took you at your word (although your message 
subject did say "value labels"). In case you 
are not clear, these are different things. 

The answer on value labels I believe to be NO. 
You cannot specify value labels in a dictionary. 

Nick 
n.j.cox@durham.ac.uk 

Alexander Nervedi
 
> I was hoping to put in specific labels to otherwise numeric 
> entries. So the 
> range of variable two is [1,2] and this should be (Male, 
> Female). My reading 
> of infile2 is that it allows you to pick up a string variable 
> (Male,Female) 
> and code that [1,2] and give it labels. You can't do it if 
> the data is 
> already in [1,2].
> 
> I also looked at http://www.stata.com/help.cgi?infile2. i 
> must be missing 
> something, since i dont see an example using value labels there.
 
> >From: "Nick Cox" <n.j.cox@durham.ac.uk>
> >Reply-To: statalist@hsphsun2.harvard.edu
> >To: <statalist@hsphsun2.harvard.edu>
> >Subject: st: RE: value labels and dictionary
> >Date: Tue, 22 Nov 2005 22:02:42 -0000
> >
> >Yes. The on-line help for -infile2- gives examples.
> >
> >Nick
> >n.j.cox@durham.ac.uk
> >
> >Alexander Nervedi
> >
> > > I was wondering, is there a way to specify variable labels
> > > when data is being infiled into Stata though a dictionary ?
> >
> >*
> >*   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/
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index