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?
Since you are asking OR for a SPLINE effect(a.k.a a non-linear effect), that is not easy to get it. I think you need help from macro %margin , %nlmeans: https://support.sas.com/kb/35/189.html
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.