AIC.carx: Compute the AIC of a fitted 'carx' object

Description Usage Arguments Value Examples

Description

Return the AIC of a fitted carx object where the maximum log-likelihood is replaced by the maximum quasi-log-likelihood.

Usage

1
2
## S3 method for class 'carx'
AIC(object, ..., k = 2)

Arguments

object

a fitted carx object.

...

not used.

k

penalty multiplier for the number of parameters. Default = 2.

Value

the AIC value = -2*maximum quasi-log-likelihood+k*number of parameters

Examples

1
2
3
dat = carxSim(nObs=100,seed=0)
mdl <- carx(y~X1+X2-1,data=dat, p=2, CI.compute = FALSE)
ic = AIC(mdl)


Search within the carx package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.