search for: gamdead

Displaying 1 result from an estimated 1 matches for "gamdead".

Did you mean: amead
2012 Mar 10
0
Help with confidence intervals for gam model using mgcv
...within 30 days of admission. Sexf is gender (M or F), Age is age in years at the start of the admission. The standard glm is a logistic regression :- glmDead.AS <- glm(Dead30d~Sexf+Age, data=HIPE,family=binomial(link="logit")) The corresponding GAM, with a smooth for age, is :- gamDead.AS <- gam(Dead30d~Sexf+s(Age), data=HIPE,family=binomial(link="logit")) For my work, age is a nuisance. We already know exactly the effect of age (which has an odd shape). I have no interest in this parameter, nor in CIs for it. The GAM fits notably better than the GLM. The substa...