Dear allstaters
When working in SPSS sometimes I want to create a new variable (or better a
memory variable or a constant) with the sum (or the variance or the maximum
value) of an existing in my data file variable.
The only solution that I have found for the time being is that: the use of
aggregate command in order to save in another file the sum (or the variance
or the maximum value) of the existing variable and then I merge this file
with the original one .... This procedure takes time and risk for error. I
am looking for somthing easier.
Could I create a memory variable or a constant containing the sum of an
existing variable?
Thanks in advance for any suggestions.
M. Theo.
|