Hin, L. Y., & Carey, V. (2005). An Algorithm for Clustered Data Generalized Additive Modelling with S-PLUS. Journal of Statistical Software, 14(8), 1–24. https://doi.org/10.18637/jss.v014.i08