LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 13 Jul 2010 17:06:16 -0400
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Re: cumulative frequencies
Comments: To: Bruce Weaver <bruce.weaver@hotmail.com>
In-Reply-To:  <29154077.post@talk.nabble.com>
Content-type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> I thought there was such a function as csum but looked it up as "cusum" and did not find it.<br> <br> More than one way to do many things in SPSS,<br> <br> Art<br> <br> On 7/13/2010 2:29 PM, Bruce Weaver wrote: <blockquote cite="mid:29154077.post@talk.nabble.com" type="cite"> <pre wrap="">I forgot about LEAVE. That's much nicer than the method I posted. Thanks for the reminder, Art.

Here's another way I just found in a sample file I stashed away some time ago. With the AGGFILE dataset active:

create cumfreq2 = csum (kount). exe.

This gives the same result as Art's method.

Art Kendall wrote: </pre> <blockquote type="cite"> <pre wrap=""> Is this what you are looking for?

GET FILE='C:\Program Files\SPSSInc\PASWStatistics18\Samples\English\world95.sav'. DATASET NAME DataSet1 WINDOW=FRONT. FREQUENCIES VARIABLES=region /ORDER=ANALYSIS. sort cases by region. DATASET DECLARE aggfile. aggregate outfile= aggfile /break= region /kount = n. dataset activate aggfile. numeric cumfreq (f10). leave cumfreq. compute cumfreq = cumfreq + kount. execute.

Art Kendall Social Research Consultants

On 7/13/2010 7:45 AM, Christoph Oeldorf wrote: </pre> <blockquote type="cite"> <pre wrap="">Dear SPSS users,

I need help in answering the following question:

Is there a command or a function with the cumulative frequencies can be calculated and transferred into a table? Thanks for the help.

Best regards, Christoph Oeldorf

-- Christoph Oeldorf Abteilung Anwendungen

Tel. (06221) 54-4405 <a class="moz-txt-link-abbreviated" href="mailto:Oeldorf@urz.uni-heidelberg.de">Oeldorf@urz.uni-heidelberg.de</a>

Ruprecht-Karls-Universität Heidelberg Universitätsrechenzentrum (URZ) Im Neuenheimer Feld 293, 69120 Heidelberg <a class="moz-txt-link-freetext" href="http://www.urz.uni-heidelberg.de">http://www.urz.uni-heidelberg.de</a> D

===================== To manage your subscription to SPSSX-L, send a message to <a class="moz-txt-link-abbreviated" href="mailto:LISTSERV@LISTSERV.UGA.EDU">LISTSERV@LISTSERV.UGA.EDU</a> (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

</pre> </blockquote> <pre wrap=""> ===================== To manage your subscription to SPSSX-L, send a message to <a class="moz-txt-link-abbreviated" href="mailto:LISTSERV@LISTSERV.UGA.EDU">LISTSERV@LISTSERV.UGA.EDU</a> (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

</pre> </blockquote> <pre wrap="">

----- -- Bruce Weaver <a class="moz-txt-link-abbreviated" href="mailto:bweaver@lakeheadu.ca">bweaver@lakeheadu.ca</a> <a class="moz-txt-link-freetext" href="http://sites.google.com/a/lakeheadu.ca/bweaver/">http://sites.google.com/a/lakeheadu.ca/bweaver/</a> "When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- View this message in context: <a class="moz-txt-link-freetext" href="http://old.nabble.com/cumulative-frequencies-tp29149427p29154077.html">http://old.nabble.com/cumulative-frequencies-tp29149427p29154077.html</a> Sent from the SPSSX Discussion mailing list archive at Nabble.com.

===================== To manage your subscription to SPSSX-L, send a message to <a class="moz-txt-link-abbreviated" href="mailto:LISTSERV@LISTSERV.UGA.EDU">LISTSERV@LISTSERV.UGA.EDU</a> (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

</pre> </blockquote> </body> </html>

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (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


Back to: Top of message | Previous page | Main SPSSX-L page