Thank you very much Bruce!
Sergio Rivaroli
Università di Bologna
Dipartimento di Scienze Agrarie (DipSA)
viale G.Fanin 50 - 40127 Bologna
tel. +39 051 2096136 - fax. +39 051 2096105
Skype: srivarol
P
Please think about the environment before printing this e-mail.
Thank you!
Da: Bruce Weaver [via SPSSX Discussion] [mailto:ml-node+[hidden email]]
Inviato: martedì 2 aprile 2013 16:20
A: Sergio Rivaroli
Oggetto: Re: HOW TO CALCULATE A SUM OF COLUMN IN SPSS USING SYNTAX ?
Look up AGGREGATE. Pay attention to the SUM function and the ADDVARIABLES mode.
How can I calculate the total of a variable in SPSS using syntax? For example, calculating for each observation the variable Y as the sum of the column X (SEE EXAMPLE BELOW)
XY
102
202
312
412
Thank you very much indeed for all contributors.
To unsubscribe from HOW TO CALCULATE A SUM OF COLUMN IN SPSS USING SYNTAX ?,
click here.
NAML