Help using Base SAS procedures

Find Maximum or Minimum give Quadratic polynomial regression

Reply
New Contributor
Posts: 2

Find Maximum or Minimum give Quadratic polynomial regression

 

I made a Quadratic Polynomial linear regression. and I want find out the maximum or minimum value of quadratic polynomial linear regression. Are there any procedure to find out max or min value?

Respected Advisor
Posts: 3,066

Re: Find Maximum or Minimum give Quadratic polynomial regression

The formula is x = -b / 2a, where b is the coefficient of the linear part, and a is the coefficient of the quadratic part. So you can program this in a data step in about 30 seconds. I don't know of any built-in way in SAS to find this value.

--
Paige Miller
SAS Super FREQ
Posts: 4,247

Re: Find Maximum or Minimum give Quadratic polynomial regression

Yes, you can use the RSREG routine, which fits a quadratic model and reports the critical values.

Documentation and Getting Started example.

Ask a Question
Discussion stats
  • 2 replies
  • 427 views
  • 0 likes
  • 3 in conversation