Date: Wed, 28 May 2008 22:26:45 -0700
Reply-To: Dana201052@GMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dana201052@GMAIL.COM
Organization: http://groups.google.com
Subject: Re: rank regression
Content-Type: text/plain; charset=ISO-8859-1
I just answered my own question so no response is necessary. This is
what I came up with that seems to work.
proc rank data=final3 out=rank1 ties=low groups=5;
var acc;
ranks accrank;
run;
proc print data=rank1;
Title 'Rank by Quintile';
run; quit;
Thanks.
On May 28, 3:42 pm, Dana201...@gmail.com wrote:
> Hello All,
>
> I've been stuck for a couple of days on running a rank regression of
> some sort. I've gotten the code to run but with nothing remotely close
> to what I need.
>
> What I'm trying to do in SAS is to run a multiple regression analysis
> by quintiles and deciles. I want to rank one of the variable into
> quintiles and then deciles, and then run a regression for each level.
> I want to determine whether the levels of the ranked variable matter.
>
> Any assistance would be greatly appreciated.
>
> Dana
|