extractAIC.censReg: Extract AIC from a Fitted Model

View source: R/extractAIC.censReg.R

extractAIC.censRegR Documentation

Extract AIC from a Fitted Model

Description

Computes the Akaike (1974) An Information Criterion for a censored regression object: method for "censReg" object.

Usage

## S3 method for class 'censReg'
extractAIC(fit, scale = 0, k = 2, correct = FALSE, ...)

Arguments

fit

an object of class "censReg"—output from censReg.

scale

set scale, ignored in current version.

k

the weight of the equivalent degrees of freedom.

correct

logical if TRUE and k is set to 2, then return corrected AIC, if FALSE or k is not set to 2,then return the uncorrected value, either AIC or BIC.

...

further arguments passed to or from other methods.

Value

A vector of length 2, giving the equivalent degrees of freedom and the AIC for fit.

References

Akaike, H., 1974, A new look at the statistical model identification: IEE transactions on Automatic Control, v. 19, no. 6, p. 716–723.

See Also

censReg, extractAIC


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.