| Date: | Thu, 7 Feb 2008 13:16:02 -0500 |
| Reply-To: | "data _null_," <datanull@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "data _null_," <datanull@GMAIL.COM> |
| Subject: | Re: Freq Question |
|
| In-Reply-To: | <OF18BE6969.D16E96E3-ON832573E8.00632CE7-832573E8.00639585@serasa.com.br> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Use proc rank with groups= option.
proc plan;
factors
id = 10000 ordered
score = 1 of 1000
;
output out=work.scores;
run;
proc rank groups=22;
var score;
ranks Group;
run;
proc print data=_last_(obs=100);
run;
proc freq;
tables Group;
run;
On Feb 7, 2008 1:07 PM, Ricardo G Silva <ricardosilva@serasa.com.br> wrote:
> Dear Users,
> My data set contain individual credit scores, ranging from 0 to 1000. I
> want to divide it uniformly into 22 classes. Can SAS do this
> automatically?
> Thanks
> Rick
>
|