Login  Register

Re: How to calculate (sum) from multiple variable thru loop, if variable are not in sequential order

Posted by Art Kendall on Jul 15, 2022; 1:57pm
URL: http://spssx-discussion.165.s1.nabble.com/How-to-calculate-sum-from-multiple-variable-thru-loop-if-variable-are-not-in-sequential-order-tp5741009p5741021.html

Wide vs long arrangement is one of the possibilities I was thinking about when I asked for more definition of what the underlying question context was.

Why is the sum across those variables meaningful?  The appeared to be many zeros and many sysmis values in test.sav.

But before deciding whether a long or wide data structure is easier to do a task, it is critical to ask the meaningfulness of the task.
Art Kendall
Social Research Consultants