Page 1 of 1

Singular Fit Error in Generalized Mixed Model

Posted: Wed Nov 11, 2020 8:54 pm
by akacar
Hello,

I'm trying to conduct a generalized mixed model analysis (logistic). I do not encounter any error with jamovi. But when I run the same analysis with R, it results in singular fit error. Do you have any suggestions about why this discrepancy might emerge?

I attached the jamovi result. The code that I use in R is below.

glmer(stay ~ transition2*reward2 + (transition2*reward2 + 1|participantno), data=data_mel3, family="binomial")

Thank you,
Anıl Şafak Kaçar

Re: Singular Fit Error in Generalized Mixed Model

Posted: Wed Nov 11, 2020 9:21 pm
by mcfanda@gmail.com
The latest version of glmer() warns you for "near" singular fit when using the default optimizer. GAMLj, when it finds possible singular fit, changes the optimizer to find a better solution. If you do not see a warning in GAMLj, it means it found an optimizer that produced an estimation with no singular fit.
let me know if that does not work for you

Re: Singular Fit Error in Generalized Mixed Model

Posted: Wed Nov 11, 2020 9:25 pm
by akacar
Thank you very much for your quick response. Is there any way to see which optimizer is used by GAMLj?

Re: Singular Fit Error in Generalized Mixed Model

Posted: Wed Nov 11, 2020 9:41 pm
by mcfanda@gmail.com
that's a good question. I'm afraid it does not say it in the output. We can add it as a footnote in the next version. We do try to keep the output clean, so we avoid adding information that is not essential.