Model Detection for Additive Models with Longitudinal Data