logLik.cirls: Log-Likelihood for a fitted 'cirls' object

View source: R/logLik.cirls.R

logLik.cirlsR Documentation

Log-Likelihood for a fitted cirls object

Description

Extracts the log-likelihood for a fitted cirls object to be typically used by AIC.

Usage

## S3 method for class 'cirls'
logLik(object, df = "edf", ...)

Arguments

object

A cirls object.

df

The type of degrees of freedom to assign to the log-Likelihood. Default to expected degrees of freedom. See edf().

...

Arguments to be passed to edf to compute degrees of freedom.

Details

The argument df provide the type of degrees of freedom attributed to the returned log-likelihood value. This is typically used in the computation of AIC and BIC and changing the degrees of freedom can ultimately change the values of the information criteria. By default, the expected number of freedom given the constraints is used. See edf for details on the computation and for the returned types of degrees of freedom.

Value

A numeric value of class logLik with attributes df (degrees of freedom, see details) and nobs (number of observations used in the estimation).

See Also

edf to compute expected degrees of freedom.


cirls documentation built on Sept. 13, 2025, 1:09 a.m.