Posted by
Maguin, Eugene on
Jan 22, 2014; 5:02pm
URL: http://spssx-discussion.165.s1.nabble.com/Calculating-total-scores-from-multiple-variables-tp5724066p5724070.html
The count command is your very good friend for your purpose. Be very aware of how missing data are processed by a count command, which is documented in the FM.
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of Bob Green
Sent: Wednesday, January 22, 2014 2:29 AM
To:
[hidden email]
Subject: Calculating total scores from multiple variables
Hello,
I'm hoping for some assistance with creating two variables (MetNeed and UnmetNeed) which are derived form 25 other variables, for simplicity sake called A-Y. The total score for MetNeed is a count of all values of 1, while the total score for UnmetNeed is the count of all values of 2, from the variables A-Y. For example, if case 1 has 15 1's, 9 2's and a 0, MetNeed would have a value of 15 and UNmetNeed a value of 9.
Any assistance regarding how to calculate the totals scores from the variables is appreciated .
Bob
=====================
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
=====================
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