09-17-2012 01:04 PM
I'm trying to plot and fit data to a power function (y=ax^b) using proc gplot. The interpol option in the symbol statement allows you to define a type of regression (eg: rl=linear, rq=quadratic etc) but I don't see the power function as being one of them.
Is there perhaps another way to do this? I can easily do this in Excel as the trendline option has the power option........but need to use SAS to do it.
10-04-2012 10:07 AM
Here's how I normally do this.