Date: Mon, 23 May 2005 13:46:36 -0700
Reply-To: Arash <amahdian@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arash <amahdian@GMAIL.COM>
Organization: http://groups.google.com
Subject: how to cross-tabulate using SAS/IML
Content-Type: text/plain; charset="iso-8859-1"
hi,
I was wondering if anyone knows how cross-tabulation can be done in
SAS/IML.
In particular, I want to do the following
proc freq data = mydata;
tables var1*var2 / norow nocol nocum nopercent out = temp;
run;
BUT in SAS/IML because the variable names (var1 and var2) that being
cross-tabulated are themselves variable.
Thanks in advance,
Arash
|