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
[email protected]
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" <[email protected]>
> >Reply-To: [email protected]
> >To: <[email protected]>
> >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
> >[email protected]
> >
> >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/