Combining Variables into One

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Arif

Combining Variables into One

I know this has been covered before but I don't think it necessarily applies to this case. Using GSS, I've found 7 variables that I would like to combine into 1. The responses in each one are something like "1-Yes 2-No 3-No Answer" etc. I know this is possible because I got the idea from a study that did the same thing but didn't bother explaining how they did it. Thanks!
statman
Posts: 2736
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA
Sorry, what is GSS?

"Combining into 1," are you talking about creating a multiple response variable?
See the note below

Statman
Statistical Services
Arif
Posts: 1
Joined: Mon Apr 07, 2008 6:17 pm
The GSS is a nationwide survey, its also called the General Social Survey, and I mean, i want to amalgamate the seven discrete variables into one single variable
statman
Posts: 2736
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA
i want to amalgamate the seven discrete variables into one single variable
Isn't this still creating a multiple response?
arandren
Posts: 9
Joined: Wed Apr 16, 2008 8:57 pm
Hi !

I would do something like this:

1) To summarize a distinct pattern of answers (say V1=1, V2 = 0 and V7 = 1):

IF (V1 = 1 & v2 = 0 & v7 = 1) newvar = 1 .
EXECUTE .

You could easily specify whatever combination of answers you like.

2) Or you could count or summarize the answers. Counting "1´s" will probably give you an idea of the structure in your answers, like this:

compute
Sumvar = Sum(V1 to V7).
execute.

HTH

/ Anders

Who is online

Users browsing this forum: No registered users and 1 guest