[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables with multiple answers - How do I code them?

From: john
Subject: Re: Variables with multiple answers - How do I code them?
Date: Sat, 13 Jun 2009 08:41:40 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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.

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

Hope this helps.


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 
     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 
     How do the answers get tied to the initial question.  I have had a hard 
     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 
     the same.  
     Please help.  I'm trying to do this survey for work and I want to get it
     View this message in context:
     Sent from the Gnu - PSPP - Users mailing list archive at
     Pspp-users mailing list

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

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]