AIC.cal: Akaike's An Information Criterion for calibration models

Description Usage Arguments Value Note Author(s) See Also Examples

Description

This function computes a table of AIC values for given object inheriting from class 'cal' ('lmcal' and 'nlscal').

Usage

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

Arguments

object

a fitted calibration model of class 'lmcal' or 'nlscal'

...

additional arguments (ignored)

k

the k parameter, for more information see AIC

Value

A matrix with AIC values for each fitted model.

Note

The AIC values should not be directly compared, when models differ in response (for example log-log transformed and fitted with no transformation.

Author(s)

Lukasz Komsta

See Also

lmcal, nlscal

Examples

1
2
3
4
5
6
data(ibuprofen)
attach(ibuprofen)
fit = lmcal(conc,area)
AIC(fit)
fit = nlscal(conc,area)
AIC(fit)

quantchem documentation built on May 30, 2017, 5:28 a.m.

Related to AIC.cal in quantchem...