BookmarkSubscribeRSS Feed
Amalik
Calcite | Level 5

Hi,

 

I am using the following code to genrate a restricted regression but its not working, can someone please look into it?

 


proc nln data=temp1 noprint outest=Out_Estimates ;
restrict US_Small_Val + US_Small_Gr + US_Large_Gr + _US_Large_Val = 1;
bounds 0 <= US_Small_Val <= 1;
bounds 0 <= US_Small_Gr <= 1;
bounds 0 <= US_Large_Gr <= 1;
bounds 0 <= _US_Large_Val <= 1;
model AMP_AIT = US_Small_Val US_Small_Gr US_Large_Gr _US_Large_Val /noint;
run;
quit;

4 REPLIES 4
ballardw
Super User

Describe how it isn't working: No output, error messages, unexpected output? If there are errors or warning you should include them. Anything that may be related to data is going to be purely a guess without your data.

Amalik
Calcite | Level 5

Its says proc nln procedure not found

ballardw
Super User

I assumed you misspelled it in the post:  Proc NLIN most likely.

Reeza
Super User

If something isn't 'working' please post your log and error as not working has no informational value. 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1411 views
  • 0 likes
  • 3 in conversation