Generalized additive models for the Poisson family with a log link
Models | Residual deviance | Residual degrees of freedom | Change in deviance | Change in degrees of freedom | P value | R2 adjusted |
---|---|---|---|---|---|---|
(1) Null model | 1,923.98 | 179.00 | — | — | ||
(2) Year | 1,174.77 | 172.68 | 749.21 | 6.32 | <0.0001 | 0.49 |
(3) Year + Age | 582.42 | 170.64 | 592.35 | 2.03 | <0.0001 | 0.71 |
(4) Year + Age + Sex | 579.44 | 169.64 | 2.98 | 1.00 | 0.08 | 0.71 |
(5) Year + Age + Sex + Year × Age | 135.28 | 89.00 | 444.16 | 80.64 | <0.0001 | 0.87 |
(6) Year + Age + Sex + Year × Age + Year × Sex | 96.74 | 60.00 | 38.54 | 29.00 | 0.11 | 0.87 |
(7) Year + Age + Sex + Year × Age + Age × Sex | 103.61 | 87.00 | 31.67 | 2.00 | <0.0001 | 0.91 |
The models are evaluated with the response variable being the incidence of T1D. A smooth term is estimated for the time trend and linear coefficients for age, sex, and interaction terms.