|Date: ||Fri, 2 Mar 2012 14:44:48 -0500|
|Reply-To: ||Jack Clark <jclark@HILLTOP.UMBC.EDU>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Jack Clark <jclark@HILLTOP.UMBC.EDU>|
|Subject: ||Re: PROC FREQ for 3 variables|
|Content-Type: ||text/plain; charset="iso-8859-1"|
Will a 3-way FREQ using the LIST option help?
Tables AGE3CAT*RATECAT*SPECIALTIES / LIST MISSING;
You can rearrange the order of the variables on the TABLES statement to meet your needs.
University of Maryland, Baltimore County
Sondheim Hall, 3rd Floor
1000 Hilltop Circle
Baltimore, MD 21250
Please consider the environment before printing this e-mail and/or any attachments.
Confidentiality Notice: This e-mail may contain information that is legally privileged and that is intended only for the use of the addressee(s) named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying of this e-mail, distribution, or action taken in reliance on the contents of this e-mail and/or documents attributed to this e-mail is strictly prohibited. If you have received this information in error, please notify the sender immediately by phone and delete this entire e-mail. Thank you.-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Irin later
Sent: Friday, March 02, 2012 2:40 PM
Subject: PROC FREQ for 3 variables
I have a table "ALL" with the following columns: RateCat,Age3Cat and Specialties
RateCat Age3Cat Specialties
GE50 child internalMedicine Pediatric
LE50 elderly FamilyPractice Pulmanilogy
LE50 child Pediatric
LE50 child Allergy
GE50 child FamilyPractice
GE50 other OB
GE50 other Immunology Internal
LES0 ELSERLY InternalMmedicineRadiology
I now how to do
Proc Freq data=All;
as well as
Proc Freq data=All;
However I am looking for a way to use Proc Freq in order to evaluate
which and how many specialties belong to the rates categies for for elderly and children Age Categories (Age3Cat) . Especially for highest rates (RateCat >=50%)
In other words, I need to use three variables to reveal a whole picture.
Is there any way to do it?
Could please you give me a hand on it?
Thank you in advance!