Bonjour,
Dans une PROC REG, je souhaite savoir s'il est possible de spécifier à la constante du modèle d'être inférieure à 1.
Le statement du type RESCTRICT intercept < 1 ne semble pas fonctionner...
Merci d'avance pour votre aide.
The RESTRICT statement allows only equality constraints, not inequality constraints.
Or you could use SAS/OR or SAS/IML to get it. Post your question at OR or IML forum, and explain your question in English.
See this SAS NOTE about restricting model parameters. You cannot use the RESTRICT statement in PROC REG to specify an upper bound, but other procedures allow it. For example, to ensure that the intercept term is not negative, you can use
proc fmm data=sashelp.class;
model weight = height;
restrict int 1 >= 0;
run;
For your problem, use
restrict int 1 <= 1;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.