Learn R Programming

modTempEff (version 1.5.2)

logLik.modTempEff: Extract the log likelihood for a modTempEff fit

Description

Function to extract the log-likelihood for a fitted modTempEff model.

Usage

"logLik"(object,...)

Arguments

object
fitted model objects of class modTempEff as produced by tempeff().
...
ignored

Value

logLik object: see logLik.

Details

This function extracts the penalized log likelihood for a fit produced by tempeff(), namely a Poisson GAM fit as returned by mgcv::gam().

Notice that the model degrees of freedom are the effective degrees of freedom and not the number of coefficients, as the model is estimated by penalized likelihood.

See Also

AIC