Hi
I would like to fix a beta value for a specific variable un a genmod procedure.
Thank you.
You can do it by create an offset.
Lets say you have a two covarites A and B. And you know that the value corresponding to "B" is 2.
data mydata;
set mydata;
....
myoffset=2*B;
run;
proc genmod data=mydata;
y=A/offset=myoffset;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
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.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!