Login  Register

Sum statistic in descriptives

Posted by Rebecca Burzette on Jul 20, 2017; 6:54pm
URL: http://spssx-discussion.165.s1.nabble.com/Sum-statistic-in-descriptives-tp5734557.html

I am using IBM SPSS Version 21 and have run into a little problem using DESCRIPTIVES.  When I request the SUM stat, I get a 0 for SUM in a variable which I know has 1 case.  Here is the syntax I'm using:
DESC HYPERTENSIVE /STAT DEF SUM.
My variable is coded 0 or 1 for absence or presence.  The syntax works fine with other variables with the same coding, but with more than 1 case -- e.g., HYPOTENSIVE has an incidence of 110 and its SUM stat = 110.  The minimum is 0 and the maximum is 1, so I have no idea what's going on or how to fix it.

Here is the output I get...
Descriptive Statistics
                              N Minimum Maximum Sum Mean Std. Deviation
HYPERTENSIVE    244 0            1           0 .00   .064
HYPOTENSIVE    244 0            1       110 .45   .499
                               

Thanks,

Rebecca G. Burzette, Ph.D.
Assistant Scientist
Office of Curricular & Student Assessment
2259 Veterinary Medicine
Iowa State University
1800 Christensen Drive
Ames, Iowa 50011-1134

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD