Re: [R] leave-one-out cross validation in mixed effects logistic model (lme4)

2018-09-04 Thread Bert Gunter
Please post on the r-sig-mixed-models list, where you are more likely to find the requisite expertise. However, FWIW, I think the reviewer's request is complete nonsense (naïve cross validation requires iid sampling). But the mixed models experts are the authorities on such judgments (and may tell

[R] leave-one-out cross validation in mixed effects logistic model (lme4)

2018-09-04 Thread Pedro Vaz
Hello, So, I have this (simplified for better understanding) binomial mixed effects model [library (lme4)] Mymodel <- glmer(cross.01 ~ stream.01 + width.m + grass.per + (1| structure.id), data = Mydata, family = binomial) stream is a factor with 2 levels; width.m is continuous; grass.per is a