Skip to content
Prev 2946 / 20628 Next

lme4 and calculating QAICc

Checking in a bit late here ... been busy the last couple of days.
Dr. Christoph Scherber wrote:
OR

  mq1 = update(mp1,family="quasipoisson")

(as in Bolker et al supplement)
In order to use QAICc you have to do the following:

phi = lme4:::sigma(mq1)
QAICc(mp1,scale=phi)

  (see p. 8 of the Bolker et al supplement)

The basic problem is that quasi- models don't return likelihoods,
and non-quasi- models don't return estimates of scale parameters,
so you have fit both and combine the information.

  good luck,
    Ben Bolker