Skip to content
Prev 2908 / 20628 Next

lme vs. lmer

On Tue, Sep 29, 2009 at 1:02 PM, Ben Bolker <bolker at ufl.edu> wrote:

            
You may need to define them first.  Many of the formulas in the mixed
models literature assume a hierarchical structure in the random
effects - certainly we used such a formula for calculating the
denominator degrees of freedom in the nlme package. But lme4 allows
for fully or partially crossed random effects so you can't think in
terms of "levels" of random effects.

Referring to the "Satterthwaite and Kenward-Roger corrections" gives
the impression that these are well-known formulas and implementing
them would be a simple matter of writing a few lines of code.  I don't
think it is.  I would be very pleased to incorporate such code if it
could be written but, as I said, I don't even know if such things are
defined in the general case, let alone easy to calculate.

I am not trying to be argumentative (although of late I seem to have
succeeded in being that).  I'm just saying that I don't think this is
trivial. (It I wanted to be argumentative I would say that it is
difficult and, for the most part, irrelevant. :-)