Date: Thu, 16 Jun 2011 12:38:23 -0700
Reply-To: jfh@stanfordalumni.org
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: PROC SUMMARY calculating _TYPE_.
In-Reply-To: <BANLkTikGN_BkF6ux3OYuGW4mZCjpe-=rvw@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
I use the CHARTYPE option to create a character _TYPE_. Much easier to
use, and takes less space if you have only a few class variables.
For your example, it would be '0101001'.
On Thu, 16 Jun 2011 10:13 -0500, "Data _null_;" <iebupdte@GMAIL.COM>
wrote:
> Say for
>
> CLASS A B C D E F G;
>
> How would YOU determine the value of _TYPE_ for the B*D*G conbinations.
>
> I know TYPES B*D*G; will output the records of interest but I want to
> know how YOU would calculate _TYPE_.
>
--
Brevis esse laboro, obscurus fio.
Jack Hamilton
Sacramento, California
jfh@alumni.stanford.org
|