I am very new to the GAM and would be grateful for all the advice about my questions below:
- Can we obtain the odds ratio of my predictor from the GAM as we did from the regular logistic regression? If GAM is not about telling the odds ratio, then how should I report this finding?
- Can someone help me generate the plot associated with this analysis?
Family: binomial
Link function: logit
Formula:
disease ~ s(percentage)
Parametric coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 0.586 0.308 1.902 0.0571 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Approximate significance of smooth terms:
edf Ref.df Chi.sq p-value
s(percentage) 1.618 2.024 1.06 0.586
R-sq.(adj) = -0.00173 Deviance explained = 3.04%
UBRE = 0.38038 Scale est. = 1 n = 47