Date: Sun, 11 Jul 2004 09:45:23 -0700
Reply-To: sasyahoo <serna.98@ALUM.DARTMOUTH.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sasyahoo <serna.98@ALUM.DARTMOUTH.ORG>
Subject: array / macro ??
Content-Type: text/plain; charset=ISO-8859-1
Suppose the following data:
1 Control tooth head foot
2 Control head . .
3 Test tooth . .
4 Test hand tooth .
suppose I want the following output/info: (format does not matter to
Group = Control
Tooth count = 1
head count = 2
foor count = 1
Group = Test
Tooth count = 2
hand count = 1
foot count = 0
I need a macro or a array or something right? how do i get sas to
give me the counts? actual data has 300 observations and about 32
variables per observation.
thanks in advance