Help using Base SAS procedures

Can we force the fitting coefficient be less than zero?

Reply
Contributor
Posts: 52

Can we force the fitting coefficient be less than zero?

In linear regression, can we possibly force the fitting coefficient be less than zero?

I am doing some analysis for price elasticity, a larger-than-zero-coefficient is usually doesn't make sense.  This is the reason I am asking if we can force the fitting result of coefficient be less than zero.

Thank you.

Trusted Advisor
Posts: 1,932

Re: Can we force the fitting coefficient be less than zero?

Posted in reply to wutao9999

I think you can do the regression in PROC CALIS (the docs give an example) and use the BOUNDS statement to force the coefficient to be less than zero.

Ask a Question
Discussion stats
  • 1 reply
  • 156 views
  • 0 likes
  • 2 in conversation