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 (August 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 31 Aug 2005 14:15:06 -0400
Reply-To:     Martin Sherman <MSherman@loyola.edu>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Martin Sherman <MSherman@loyola.edu>
Subject:      how to create a repetitive compute over a series of variables.
Content-Type: text/plain; charset=US-ASCII

Dear list, I have the following variables that I want to do the following with.

compute a=(na1*ma1 + na2*ma2)/(na1 + na2). compute b =(nb1*mb1 + nb2*mb2)/(nb1 + nb2). compute c =(nc1*mc1 + nc2*mc2)/(nc1 + nc2). compute d =(nd1*md1 + nd2*md2)/(nd1 + nd2). etc.

na1 ma1 na2 ma2 nb1 mb1 nb2 mb2 nc1 mc1 nc2 mc2 nd1 md1 nd2 md2 etc.

Suggestions appreciated. thanks

Martin Sherman


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