Hi all,
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.
Thanks!
Mike
Do you have some sample data you could post up?
Here's how I normally do this.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.