R: Log likelihood for a fitted SCAM, for AIC

logLik.scam {scam} | R Documentation

## Log likelihood for a fitted SCAM, for AIC

### Description

Function to extract the log-likelihood for a fitted `scam` model (fitted by penalized likelihood maximization). Used by `AIC`.

The function is a clone of `logLik.gam` of the `mgcv` package.

The documentation below is similar to that of object `logLik.gam`.

### Usage

    ## S3 method for class 'scam'
    logLik(object,...)

### Arguments

`object` | fitted model objects of class `scam` as produced by `scam()`.
`...` | unused in this case

### Details

see `logLik.gam` for details.

### Value

Standard `logLik` object: see `logLik`.

### References

Hastie and Tibshirani, 1990, Generalized Additive Models.

Wood, S.N. (2008) Fast stable direct fitting and smoothness selection for generalized additive models. J.R.Statist. Soc. B 70(3):495-518

### See Also

`AIC`

[Package scam version 1.2-12 Index]