AICc: AICc of two numeric vectors

Description Usage Arguments Details Value Note

View source: R/stats.R

Description

Take two numeric vectors and return the Akaike Information Criterion (AICc) corrected for the second order. AICc is computed from the Residuals Sum of Square (rss) and the number of used parameters.

Usage

1
AICc(x, y, nbK)

Arguments

x, y

two numeric vectors of same length.

nbK

an integer. nbK is the number of used parameters. nbK > 1 : returns NA if not.

Details

The correction for the second order bias improves the Akaike Information Criterion when (length(x)) is small.

Value

Return the Akaike Information Criterion ((AICc)), corrected for the second order bias.

Note

The correction for the second order bias improves the Akaike Information Criterion when length(x) is small.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.