Extracts from a model object the value of the log marginal likelihood. Whether the result represents a local maximum depends on, among other things, convergence of the optimizer.
# S3 method for egf
logLik(object, ...)
A numeric vector of length 1 inheriting from class logLik
.
Attribute df
is the number of estimated parameters
(fixed effect coefficients and random effect covariance parameters).
Attribute nobs
is the number of observations of disease
incidence used in estimation.
an egf
object.
unused optional arguments.
The generic function logLik
.