LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Jul 2003 06:37:55 -0700
Reply-To:     Rick <rcjohnso@US.IBM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Rick <rcjohnso@US.IBM.COM>
Organization: http://groups.google.com/
Subject:      Use SAS to evaluate equation
Content-Type: text/plain; charset=ISO-8859-1

Howdy -

I've just run a PROC REG, and have the constants for a cubic equation.

Example: a + bx + cx**2 +dx**3

I have a dataset called REG where a,b,c,and d are defined. Now I want to evaluate the equation to find the MAX point in the curve.

The obvious way to do this is to create a new dataset, calculate a number of points, then do a PROC MEANS to find the max.... TONS of work, especially if I want accuracy...

Is there some easier way to do this???

On my calculator I can do something like this: MAX(a + bx +cx**2 + dx**3), -.5, .5 parm[equation],[min range, max range]

Thanks,

-Rick


Back to: Top of message | Previous page | Main SAS-L page