dear all
was just wondering if there is some easy way to load values to a variable in SPSS instead of typing them or re-importing the whole dataset after adding the values? i had an open ended question in a survey, added new variable for the question but after coding the answer. now the codes are all there and i have the code list as well. what i exactly need is how to load this code list (containing the values of that variable) in the same SAV file ? appreciate your help in advance Regards, Aayed |
Ayed, I’m not sure I understand your question but I wonder if you have considered using match files with the table subcommand to add the values from the new variable to the existing data file (I assume that the new values, along with respondent id, have been or can be entered into a new file). Gene Maguin From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Mohd Aayed dear all |
Hi,
Do you mean that you want to generate value labels from syntax instead of doing it by hand? That is easy to do with the VALUE LABELS command. Danielle From: "Maguin, Eugene" <[hidden email]>
Sender: "SPSSX(r) Discussion" <[hidden email]>
Date: Sun, 8 Apr 2012 11:25:36 -0400 To: <[hidden email]> ReplyTo: "Maguin, Eugene" <[hidden email]>
Subject: Re: Values (codes) Ayed, I’m not sure I understand your question but I wonder if you have considered using match files with the table subcommand to add the values from the new variable to the existing data file (I assume that the new values, along with respondent id, have been or can be entered into a new file). Gene Maguin From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Mohd Aayed dear all |
Administrator
|
In reply to this post by Mohd Aayed
Your question is not clear.
I would suggest APPLY DICTIONARY in lieu of one suggestion to use MATCH FILES.. VALUE LABELS command is other option. If this is not useful then it is necessary for you to be more clear with your question.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" |
Free forum by Nabble | Edit this page |