The way I would do this is to have a variable for each of the 3 job preferences.
Then apply value labels for each of the possible job choices.
This can be done with a syntax like the following:


input program.
numeric jobpref1.
numeric jobpref2.
numeric jobpref3.
end file.
end input program.

variable label jobpref1 'First job choice'.
variable label jobpref2 'Second job choice'.
variable label jobpref3 'Third job choice'.

value labels jobpref1 jobpref2 jobpref3 1 'bucher' 2 'baker' 3 'grocer' 4 
'carpenter' 5 'statistician'.

display dictionary.
execute.



At this level, PSPP should work exactly the same as SPSS.   If you find that it 
doesn't, please
report it.

Hope this helps.

John



On Fri, Jun 12, 2009 at 10:09:17PM -0700, jlablackbird wrote:
     
     I am new to pspp and have an elementary understanding of spss.  I have set 
up
     my data from a survey but am stuck on an issue I never dealt with before. 
     How do you code:
     
     What are your three top jobs:
     
     and there is a multiple list of possible responses?
     
     I have read that I should create a separate variable for each possible
     choice.  Then what do I put under 
     TOPJOB?
     
     How do the answers get tied to the initial question.  I have had a hard 
time
     finding information about this.  The help screens don't seem to hold any
     answers.  Other forums address it on spss and I'm not sure if pspp can do 
it
     the same.  
     
     Please help.  I'm trying to do this survey for work and I want to get it
     done.%-|
     
     Julia
     -- 
     View this message in context: 
http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24009279.html
     Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
     
     
     
     _______________________________________________
     Pspp-users mailing list
     [email protected]
     http://lists.gnu.org/mailman/listinfo/pspp-users

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to