[R-sig-ME] blmer(), minimum amount of prior to get a model to converge

Simon Harmel @|m@h@rme| @end|ng |rom gm@||@com
Sat Oct 3 07:16:43 CEST 2020


Hello all,

This may be a simple/naive question, but I have a non-converging lmer()
model due to singularity.

I was wondering what is the minimum prior specification in `blmer()` to get
this singular model to converge?

library(lme4)
library(blme)
hsb <- read.csv('
https://raw.githubusercontent.com/rnorouzian/e/master/hsb.csv')m4 <- m1 <-
lmer(math ~ ses*sector + (ses | sch.id), data = hsb)

m2 <- blmer(math ~ ses*sector + (ses | sch.id), data = hsb, cov.prior = ???)

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list