Friends, My question is as follows, I am using the following code in R to construct a ROC curve, but I do not know if in case of GLMM (Generalized Linear Model MIsto) I can use and if it in this case the code will then consider the random part also or only the fixed ones as it happens in the Logistic Regression, which would not give me a correct information.
library(ROCR)
pred <- prediction(fitted(gg1), dados$status)
perf <- performance(pred, measure = "tpr", x.measure = "fpr")
plot(perf, main = "ROC", col = "blue", lwd = 3)
abline(a = 0, b = 1, lwd = 2, lty = 2)
perf.auc <- performance(pred, measure = "auc")
(area <- performance(pred, "auc"))