Date: Sat, 14 Mar 1998 17:07:26 GMT
Reply-To: "Michael S. Lundy" <MSLundy@INTERNETMCI.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Michael S. Lundy" <MSLundy@INTERNETMCI.COM>
Subject: Patience, Please!
Content-Type: text/plain; charset=us-ascii
If I may impose one more time, I think I'll be done torturing myself
with SAS for a while, and can be expected to disappear from this
unusually tolerant newsgroup for even longer<g>.
Data of interest contain 2 variables, one of which, CONTROL, is numeric
and divides the observations into 2 and only 2 classes. The other
variable, EVENTS, is numeric, and varies from MISSING to a max of 5, all
I need to SUM the values for EVENTS, by CLASS, and compare
Observed/Expected EVENTS using ChiSquare.
PROBLEM: I can't recall how to set up a DO LOOP which will iteratively
COUNT the events for both CLASSES and assign the SUMS to variables. I
DID manage to write an infinite loop, and a few other less than useful
lines of code, but nothing to do what I want.
Will someone please help? Many thanks. Michael.
Replies to Email will cause less noise to the newsgroup, but a reply
either way will be appreciated.
As a non-programmer whose last PRIOR serious SAS use was nearly a decade
ago, I have very much appreciated the courteous and non-condescending
assistance extended to me in this newsgroup. I realize the entirely
pedestrian nature of my queries, and so am all the more grateful for the