Generalized additive models for medical research | Synapse