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


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

solved Regression with constrained coeffcient Using SAS [closed]