AICc: Corrected AIC

Description Usage Arguments Details Value Author(s) References Examples

View source: R/AICc.R

Description

Calculates the corrected (for small sample size) Akaike Information Criterion for lm and nls objects.

Usage

1
AICc(x)

Arguments

x

An lm or nls object

Details

See eq. (4.8) in Morris and Doak (2002).

Value

The corrected AIC of the model.

Author(s)

Bruce E. Kendall (kendall@bren.ucsb.edu)

References

Morris, W. F. and Doak D. F. (2002) Quantitative Conservation Biology: Theory and Practice of Population Viability Analysis. Sunderland: Sinauer Associates.

Examples

1
2
3
4
5
6
7
8
## Load the Jasper Ridge checkerspot butterfly data
data(checkerspot)
rt <- diff(log(checkerspot$N))
Nt <- checkerspot$N[-dim(checkerspot)[1]]

## Fit a Ricker model and extract the corrected AIC
ricker.nls <- nls(rt ~ mu*(1-Nt/K), start=list(mu=1,K=500))
AICc(ricker.nls)

BruceKendall/PVA documentation built on Jan. 23, 2021, 2:56 a.m.