| Date: | Thu, 9 Jun 2011 12:56:12 -0700 |
| Reply-To: | drfg2008 <kontakt@datest.de> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | drfg2008 <kontakt@datest.de> |
| Subject: | Re: automatic dummy coding |
| In-Reply-To: | <OF0B79C0CA.DA7FBA9C-ON872578AA.00678BDA-872578AA.0067ADCA@us.ibm.com> |
| Content-Type: | text/plain; charset=us-ascii |
My question was obviously misleading. Sorry. I just can't find a solution how
to take the value labels of the original variable and use it as a variable
label for the dummy variables. I thought there might be a solution in python
by using an array (similar to what is described on the SPSS-IBM website -
see below).
array=[]
while i < FileN:
label = spss.GetVariableLabel(i)
array.append(label)
i+=1
print array
Does something exist like: spss.GetValueLabel(i) ?
Thanks and sorry again.
-----
Dr. Frank Gaeth
FU-Berlin
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/automatic-dummy-coding-tp4473014p4474075.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
=====================
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
|