Date: Wed, 5 Oct 2005 15:38:50 -0400
Reply-To: Dave Hapeman <dave.hapeman@NDCHEALTH.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dave Hapeman <dave.hapeman@NDCHEALTH.COM>
Subject: Proc Freq Question
In the program below, I am trying to count up how many 0s and 1s are
month1 through month6. The output from proc freq only has month6 in it.
Is there a simple thing I am missing.
Dave
data test;
input pat_typ month1-month6;
datalines;
0 1 1 1 1 1 1
0 1 1 0 0 0 0
0 1 0 0 0 0 0
;
run;
proc freq data=test;
by pat_typ;
tables month1--month6/out=outdset noprint;
run;
|