I get the following error when trying to run loo() on a fitted binomial model with a logit-link. I can’t find out what this means.
Error in ll_args.stanreg(x) : all(y %in% c(0, 1)) is not TRUE
I get the following error when trying to run loo() on a fitted binomial model with a logit-link. I can’t find out what this means.
Error in ll_args.stanreg(x) : all(y %in% c(0, 1)) is not TRUE
Welcome to the Stan forums and sorry nobody responded sooner. Are you able to share a reproducible example? It can use simulated data if you’re not able to share real data. I just tried running loo on several rstanarm binomial models and it worked fine, so it would be helpful to see if your case is different in some way.