Skip to content
Prev 5225 / 20628 Next

Lmer binomial distribution x HLM Bernoulli distribution

Luana

It appears to me that your results are indeed the same. For instance, you have the variance of the schid as .177 and .18 from the different programs. If you are expecting results to match exactly to the same decimal place, you are worrying about a red-herring.

Keep in mind a few things. First, HLM probably uses a different stopping criterion than lmer. Second, HLM uses a 6th order Taylor-series expansion for GLMMs and lmer uses a laplace approximation. So, the estimating algorithm is slightly different.