Skip to content
Prev 18505 / 20628 Next

Latent variable regression in lme4 as in HLM

Dear James,

Thanks for your response. I should research this a bit more. I have the
feeling that HLM software under the *Latent Variable Regression *tab might
be doing something different. But I highly appreciate you insightful
response.

Dear Ben,  lmerControl(check.nobs.vs.nRE="ignore") didn't work.

library(lme4)
dat <- read.csv('https://raw.githubusercontent.com/hkil/m/master/z.csv')
m1 <- lmer(y~ year + (year|stid), data = dat,
           control=lmerControl(check.nobs.vs.nRE="ignore"))
On Tue, May 26, 2020 at 7:38 PM Ben Bolker <bbolker at gmail.com> wrote: