Date: Tue, 15 Apr 1997 19:51:37 GMT
Reply-To: Jay Weedon <j_weedon@ESCAPE.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Jay Weedon <j_weedon@ESCAPE.COM>
Subject: Re: Linear Regression WITHOUT SAS/STAT
Content-Type: text/plain; charset=us-ascii
On Tue, 15 Apr 1997 14:07:50 -0400, Timtiger
>Does anyone have handy a snipit (a wee bit of) base SAS code to do
>simple linear regression? I need to do some regression plots but my
>employer doesn't have SAS/Stat.
>I suppose I could take a few algorithms out of my statistics books, but
>I don't always trust my renditions of academic algorithms.
1. PROC GPLOT in SAS/GRAPH does some linear regression.
2. If you have SAS/IML, writing the code to do this will be much simpler than
it would be with a datastep - much of how to do it is illustrated in the IML
manual. (On 2nd thoughts, you probably won't have IML if you don't have STAT!)