Help using Base SAS procedures

Force all coefficients to be negative in PROC REG?

Reply
N/A
Posts: 0

Force all coefficients to be negative in PROC REG?

Hi,

I'm wondering if there's a way to force all non-intercept coefficients to be positive/negative in proc reg. If I use:

model depvar=indvar;
RESTRICT indvar<0;

Then I always get a syntax error. I'm just wondering if there's any way to achieve this.

Thanks!
Ask a Question
Discussion stats
  • 0 replies
  • 233 views
  • 0 likes
  • 1 in conversation