Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compute the Sum of Columns in SPSS

Tags:

spss

I have a lot of columns in SPSS and for a calculation, I need to get the sum of each and every one of them. Is there a way to do this in SPSS?

An example of what I mean is shown below:

age      gender     question 1     question 2
-------------------------------------------------
25         m            2              3
19         f            4              2    
20         f            3              4
                     -------        -------
                    need sum       need sum
like image 265
Ehsan Avatar asked Oct 16 '25 14:10

Ehsan


1 Answers

If you just need an ouput table with the results then see the DESCRIPTIVES command.

Alternatively, if you need the results in an output dataset for further processing then see the AGGREGATE command.

like image 50
Jignesh Sutar Avatar answered Oct 18 '25 19:10

Jignesh Sutar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!