Skip to content
Prev 2855 / 20628 Next

More naive questions: Speed comparisons? what is a"stack imbalance" in lmer? does lmer center variables?

Whether or not this is true on the data used for the example is not too
interesting to me. What *is* interesting to me is that HLM cannot for
sure to handle large models with complex random effects. In other words,
you might find small toy examples where HLM is faster than the lmer
function. However, with large data sets and complex structures for the
marginal variance/covarianc matrix, HLM can't even compete.
You suspect that PQL would be faster than what? 

However, in the output, HLM6 says:
I don't think we can answer your question in a meaningful way w/o you
providing more information. REML is also the default in lmer and it is
essentially like integrating out the fixed effects with a uniform prior.
But, are you estimating linear or generalized mixed models?
What matrices are saved at each iteration in HLM? I'm curious. Of
course, the model matrices don't change, but others do.
ftware/tables.shtml

I looked very briefly at the materials on this link. They evaluate a
very old version of the mixed model functions in R (using R 1.5.1) and
we are now on R version 2.9.2. The older function, nlme, was a bit slow,
and I do recall it being slower than HLM (the software).

The nwer functions of lmer are very different than the days of old. I
think you will find, if you do some comparisons yourself, that the R
functions are extremely fast, and most likely I suspect would be faster
than HLM.
Centering will change some of the estimates. But, without providing more
details on what your model is, how your centering there is no way to
answer your question. For example, you say it won't affect slope. Slope
of what?

Thread (15 messages)

Paul Johnson More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 22 Tobias Verbeke More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Kevin Wright More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Doran, Harold More naive questions: Speed comparisons? what is a"stack imbalance" in lmer? does lmer center variables? Sep 23 Douglas Bates More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Ben Bolker More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Ben Bolker More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Peter Dalgaard More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Peter Dalgaard More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Douglas Bates More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Douglas Bates More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Kevin Wright More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Douglas Bates More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Emmanuel Charpentier More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23 Gabor Grothendieck More naive questions: Speed comparisons? what is a "stack imbalance" in lmer? does lmer center variables? Sep 23