BookmarkSubscribeRSS Feed
PamG
Quartz | Level 8

Is there a way I can report odds ratio comparing 2 points for a GAM model?

 

proc gampl data=mydata;
   class gender / param=ref;
   model response(event='1') = gender spline(age)  / dist=binary link=logit;
run;

  For eg, is there a way, I can report OR at say  age=65 to age=75?   I know that R has an package, oddsratio specifically for GAM to get such odds ratios.  How can we replicate something similar in SAS?

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 51 views
  • 0 likes
  • 1 in conversation