[Solved] Regression with constrained coeffcient Using SAS [closed]

[ad_1]

So I assume you are looking to do this in SAS.

In PROC REG, use the restrict statement to fix a coefficient.

proc reg data=sashelp.cars;

   /*Fit unrestricted*/
   model msrp = horsepower weight;
run;

/*Fit restricted*/
   model msrp = horsepower weight;
   restrict horsepower=250;
run;
quit;

1

[ad_2]

solved Regression with constrained coeffcient Using SAS [closed]