Date: Mon, 7 Dec 2009 18:14:11 +0000
Reply-To: Ruben van den Berg <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Ruben van den Berg <email@example.com>
Subject: Re: sum as used in aggregate
Do you mean a variable that contains only a single valid value? Can't you try with a small test data set what happens? It seems that sum.2 applies to within-case summation, not summation within a variable over cases. See
data list free /tinkywinky.
'' '' '' '' '' '' 1
Ruben van den Berg
Date: Mon, 7 Dec 2009 09:43:39 -0800
Subject: sum as used in aggregate
If I use the sum function in aggregate are all values included. In other words, if there is a category that only has one value, is that included in the sum, or do I need to use sum.1 as I would in a regular compute statement to be sure that cases with only one value are included in the sum.
Matthew Pirritano, Ph.D.
Research Analyst IV
Medical Services Initiative (MSI)
Orange County Health Care Agency
New Windows 7: Find the right PC for you. Learn more.