Discussion:
Variables with multiple answers - How do I code them?
jlablackbird
2009-06-13 05:09:17 UTC
Permalink
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.
j***@cellform.com
2009-06-13 08:41:40 UTC
Permalink
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
Pspp-***@gnu.org
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.
Jim Tarvid
2009-06-13 12:19:02 UTC
Permalink
If PSPP had the Multiple Response Command this might work.

http://www.gnu.org/software/pspp/manual/html_node/Not-Implemented.html

http://ftp2.arts.unsw.edu.au/argyrous/extra_chapters/SPSSMultipleResponseCommand.pdf

The only way I can see getting freqs and descriptive measures is multiple rows.

While the SPSS schema is flexible it is always flat.

There are hints that r-project handles multiple response variables
Post by j***@cellform.com
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.
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
    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.
    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
    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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKM2ZEimdxnC3oJ7MRAq9GAJ40EznQbJo5sUFI82Af1mNqVetbWwCgiEVp
wL3iq0IzGMgqOUxcaWaSg68=
=IWre
-----END PGP SIGNATURE-----
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://ls.net
http://drupal.ls.net
jlablackbird
2009-06-13 16:51:43 UTC
Permalink
Do you think I can enter the variables as individual items with yes no
options?

Could I then import it into spss and run the analysis? We have Spss 11 at
work. The problem is that it is on another person's computer. I would like
to do as much as possible in pspp.
Post by Jim Tarvid
If PSPP had the Multiple Response Command this might work.
http://www.gnu.org/software/pspp/manual/html_node/Not-Implemented.html
http://ftp2.arts.unsw.edu.au/argyrous/extra_chapters/SPSSMultipleResponseCommand.pdf
The only way I can see getting freqs and descriptive measures is multiple rows.
While the SPSS schema is flexible it is always flat.
There are hints that r-project handles multiple response variables
Post by j***@cellform.com
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.
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
    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.
    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
    --
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
    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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKM2ZEimdxnC3oJ7MRAq9GAJ40EznQbJo5sUFI82Af1mNqVetbWwCgiEVp
wL3iq0IzGMgqOUxcaWaSg68=
=IWre
-----END PGP SIGNATURE-----
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://ls.net
http://drupal.ls.net
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
View this message in context: http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24014255.html
Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
jlablackbird
2009-06-13 17:01:42 UTC
Permalink
How does r project compare to spss? Is it very complex for the more advanced
type person with programming experience or is it something that I might find
helpful?

I am new to linux. I have used windows based applications for years and am
good at it. I am getting the hang of linux but I am still on the learning
curve.

Julia
Post by Jim Tarvid
If PSPP had the Multiple Response Command this might work.
http://www.gnu.org/software/pspp/manual/html_node/Not-Implemented.html
http://ftp2.arts.unsw.edu.au/argyrous/extra_chapters/SPSSMultipleResponseCommand.pdf
The only way I can see getting freqs and descriptive measures is multiple rows.
While the SPSS schema is flexible it is always flat.
There are hints that r-project handles multiple response variables
Post by j***@cellform.com
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.
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
    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.
    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
    --
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
    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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKM2ZEimdxnC3oJ7MRAq9GAJ40EznQbJo5sUFI82Af1mNqVetbWwCgiEVp
wL3iq0IzGMgqOUxcaWaSg68=
=IWre
-----END PGP SIGNATURE-----
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://ls.net
http://drupal.ls.net
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
View this message in context: http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24014341.html
Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
Jason Stover
2009-06-13 19:52:18 UTC
Permalink
Post by jlablackbird
How does r project compare to spss? Is it very complex for the more advanced
type person with programming experience or is it something that I might find
helpful?
R has its own language, which isn't hard to learn as computer languages go. R has
no "point-and-click" gui like that of SPSS.
Post by jlablackbird
I am new to linux. I have used windows based applications for years and am
good at it. I am getting the hang of linux but I am still on the learning
curve.
R runs on windows, too.
Post by jlablackbird
Julia
Post by Jim Tarvid
If PSPP had the Multiple Response Command this might work.
http://www.gnu.org/software/pspp/manual/html_node/Not-Implemented.html
http://ftp2.arts.unsw.edu.au/argyrous/extra_chapters/SPSSMultipleResponseCommand.pdf
The only way I can see getting freqs and descriptive measures is multiple rows.
While the SPSS schema is flexible it is always flat.
There are hints that r-project handles multiple response variables
Post by j***@cellform.com
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.
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
?? ?? 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.
?? ?? 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
?? ?? --
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
?? ?? 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKM2ZEimdxnC3oJ7MRAq9GAJ40EznQbJo5sUFI82Af1mNqVetbWwCgiEVp
wL3iq0IzGMgqOUxcaWaSg68=
=IWre
-----END PGP SIGNATURE-----
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://ls.net
http://drupal.ls.net
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
View this message in context: http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24014341.html
Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
Rodrigo Isaac
2009-06-14 22:45:48 UTC
Permalink
PSPP has a GUI very similar to SPSS, but it isn't lot of options, yet...
Post by jlablackbird
Post by jlablackbird
How does r project compare to spss? Is it very complex for the more
advanced
Post by jlablackbird
type person with programming experience or is it something that I might
find
Post by jlablackbird
helpful?
R has its own language, which isn't hard to learn as computer languages go. R has
no "point-and-click" gui like that of SPSS.
Post by jlablackbird
I am new to linux. I have used windows based applications for years and
am
Post by jlablackbird
good at it. I am getting the hang of linux but I am still on the
learning
Post by jlablackbird
curve.
R runs on windows, too.
Post by jlablackbird
Julia
Post by Jim Tarvid
If PSPP had the Multiple Response Command this might work.
http://www.gnu.org/software/pspp/manual/html_node/Not-Implemented.html
http://ftp2.arts.unsw.edu.au/argyrous/extra_chapters/SPSSMultipleResponseCommand.pdf
Post by jlablackbird
Post by Jim Tarvid
The only way I can see getting freqs and descriptive measures is
multiple
Post by jlablackbird
Post by Jim Tarvid
rows.
While the SPSS schema is flexible it is always flat.
There are hints that r-project handles multiple response variables
Post by j***@cellform.com
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.
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
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
'carpenter' 5 'statistician'.
display dictionary.
execute.
At this level, PSPP should work exactly the same as SPSS. ?? If you
find
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
that it doesn't, please
report it.
Hope this helps.
John
?? ?? I am new to pspp and have an elementary understanding of spss.
??I
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
have set up
?? ?? my data from a survey but am stuck on an issue I never dealt
with
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
before.
?? ?? 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
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
hard time
?? ?? finding information about this. ??The help screens don't seem to
hold
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
any
?? ?? answers. ??Other forums address it on spss and I'm not sure if
pspp
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
can do it
?? ?? the same.
?? ?? Please help. ??I'm trying to do this survey for work and I want
to get
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
it
?? ?? done.%-|
?? ?? Julia
?? ?? --
http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24009279.html
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
?? ?? Sent from the Gnu - PSPP - Users mailing list archive at
Nabble.com.
Post by jlablackbird
Post by Jim Tarvid
Post by j***@cellform.com
?? ?? _______________________________________________
?? ?? Pspp-users mailing list
?? ?? 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKM2ZEimdxnC3oJ7MRAq9GAJ40EznQbJo5sUFI82Af1mNqVetbWwCgiEVp
wL3iq0IzGMgqOUxcaWaSg68=
=IWre
-----END PGP SIGNATURE-----
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://ls.net
http://drupal.ls.net
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
http://www.nabble.com/Variables-with-multiple-answers---How-do-I-code-them--tp24009279p24014341.html
Post by jlablackbird
Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
_______________________________________________
Pspp-users mailing list
http://lists.gnu.org/mailman/listinfo/pspp-users
--
"Prohibido prohibir. La libertad comienza por una prohibición."
Linux user # 471524 / Ubuntu user # 23047
https://launchpad.net/~nomada

Rodrigo Isaac Rodríguez Borge
Nómada: el artista de la multitud
http://roirobo.wordpress.com

Managua, Nicaragua
skype: roirobo
Loading...