Hi all,
I'm currently working on a logistic regression model in which I've included year as a random variable, so in the end I am working with a Generalized Linear Mixed Model (GLMM). I've built the model, I got an output and I've checked the residuals with a very handy package called 'Dharma' and everything is ok.
But looking for bibliography and documentation on GLMMs, I found out that a good practice for evaluating logistic regression models is the k-fold cross-validation (CV). I would like to perform the CV on my model to check how good it is, but I can't find a way to implement it in a GLMM. Everything I found is oriented for GLM only.
Anyone could help me? I would be very thankful!!
Iraida