logLik.hglm {hglm} | R Documentation |
Extracts log-likelihood values
Description
Extracts log-likelihood values from an existing hglm object hglm.obj
.
Usage
## S3 method for class 'hglm'
logLik(object, REML=NULL, ...)
Arguments
object |
A fitted |
REML |
The default NULL returns all computed log-likelihoods. The option |
... |
This argument is not used. |
Details
The use of log-likelihoods and cAIC is described in Lee, Nelder and Pawitan (2006).
Value
A list of log-likelihood values for model selection purposes, where $hlik is the log-h-likelihood, $pvh the adjusted profile log-likelihood profiled over random effects, $pbvh the adjusted profile log-likelihood profiled over fixed and random effects, and $cAIC the conditional AIC.
References
Youngjo Lee, John A Nelder and Yudi Pawitan (2006) Generalized Linear Models with Random Effect: a unified analysis via h-likelihood. Chapman and Hall/CRC.