-2 * logLik(object), delegating through logLik.gllvmTMB_multi()
rather than recomputing anything independently. This is deliberate: on a
penalised (ridged) fit – aghq_ridge set to a finite value –
logLik() already discloses, with a warning, that the returned value is
the unpenalised log-likelihood evaluated AT a penalised MAP point, not at
its own maximum. Because deviance() is defined purely in terms of
logLik() here, that same disclosure fires exactly once and is not
repeated or re-derived.
Usage
# S3 method for class 'gllvmTMB_multi'
deviance(object, ...)Arguments
- object
A fit returned by
gllvmTMB().- ...
Currently unused.
