Combining two categorical variables

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Combining two categorical variables

Simon Kiss-2
Dear Colleagues,
I have two separate categorical variables. The one asks if the
respondent is a member of a union.  The second is linked to the first,
in that, if the respndent answered no then the respondent is asked if
a member of the household is a member of a union. i would like to
combine the results of these two variables to come up with one
variable which counts whether a respondent or a member of the
respondent's household is a member of the union.
I am a novice user of SPSS and would appreciate assistance that does
not assume an intimate familiarity with the program.
Yours,
Simon Kiss


Simon J. Kiss
Department of Political Studies
Queen's University
C321 Macintosh Corry Hall
99 University Avenue
Kingston, Ontario
K7L 3N6

Phone: 613 536 7188

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

Re: Combining two categorical variables

Melissa Ives
If your values are both 0=No and 1=Yes,
Then you can:
Compute anyunion=max.1(self_union,family_union).
Value labels anyunion 0 'No' 1 'Yes'.

Melissa

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Simon Kiss
Sent: Tuesday, November 04, 2008 3:21 PM
To: [hidden email]
Subject: [SPSSX-L] Combining two categorical variables

Dear Colleagues,
I have two separate categorical variables. The one asks if the respondent is a member of a union.  The second is linked to the first, in that, if the respndent answered no then the respondent is asked if a member of the household is a member of a union. i would like to combine the results of these two variables to come up with one variable which counts whether a respondent or a member of the respondent's household is a member of the union.
I am a novice user of SPSS and would appreciate assistance that does not assume an intimate familiarity with the program.
Yours,
Simon Kiss


Simon J. Kiss
Department of Political Studies
Queen's University
C321 Macintosh Corry Hall
99 University Avenue
Kingston, Ontario
K7L 3N6

Phone: 613 536 7188

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (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

PRIVILEGED AND CONFIDENTIAL INFORMATION
This transmittal and any attachments may contain PRIVILEGED AND
CONFIDENTIAL information and is intended only for the use of the
addressee. If you are not the designated recipient, or an employee
or agent authorized to deliver such transmittals to the designated
recipient, you are hereby notified that any dissemination,
copying or publication of this transmittal is strictly prohibited. If
you have received this transmittal in error, please notify us
immediately by replying to the sender and delete this copy from your
system. You may also call us at (309) 827-6026 for assistance.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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