I have six variables ranging from 1 to 8. I want to compute these six variables together and make four main categories from the answers (1-8). And get the sum of occurrences in each category. Each category will look like this, made with dummy:
- category 1 = answers 1-2 = 1, answers 3-8 = 0.
- category 2 = answers 3-5 = 1, answers 1-2, 6-8 = 0.
- category 3 = answers 6-7 = 1, answers 1-5, 8 = 0.
- category 4 = answer 8 = 1, answers 1-7 = 0.
How should I compute these variables together? If I use for example MEAN when I compute I don’t get the real occurrence of each answers (since it is mean), but still the mean does not look accurate. If I run a frequency table the frequency in the table for valid 8 is 1 on frequency. And that is not correct mean, if I only run frequency for the six variables separate the valid 8 is a round 400 ish. So if I then make the four categories then category 4 answers 8/1 still show only 1 in frequency.
I have also tried this; make dummies based on category 4 on the six individual variables, and then compute these together. And then the frequency table still show 1 for answer 8.
And also tried COUNT command, but it does not seems right either.
syntax:
COMPUTE new_variable=MEAN(variable1,variable2,variable3,variable4,variable5,variable6). EXECUTE.
RECODE variable1 (1 thru 7=0) (8=1) (MISSING=SYSMIS) INTO category4_variable1 VARIABLE LABELS category4_variable1 ‘category4_variable1’ EXECUTE
(The last syntax was used on all the six variable, then compute those together to create category 4.)
My questions:
- What is the correct way to compute these six variables together? (I don’t think mean is correct as I’m not interested in mean but in the occurrences)
- How can I get four main categories based on these six variables together?
- How can I get the sum occurrences in each category? / Number of times the respondent answers eg. 8?
- Other suggestions?
Much appreciated, thank you.
#SPSSStatistics#Support#SupportMigration