Date: Wed, 10 Dec 2008 16:23:38 -0500
Reply-To: coxspss@cox.net
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: David Wright <coxspss@cox.net>
Subject: auto creating labels
Content-Type: text/plain; charset=utf-8
Is there a way in syntax to create value labels by associating value indicators from one variable to labels in another?
For example, say I have two variables, V1 is the numeric code & V2 is the alpha value label.
V1 V2
23 biology
47 chemistry
13 anthropology
It would be nice to have syntax that would help produce:
val lab
23 'biology'
47 'chemistry'
13 'anthropology'
Perhaps if there was a way to push the above to output, don't know, I suspect I could aggregate on V1 in an output file & cut/paste with some inserts for formatting. Any ideas on automating this one?
Thanks in advance,
David
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD