AICc: AICc of two numeric vectors

Description Usage Arguments Details Value

Description

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

Usage

1
AICc(x, y, nbK)

Arguments

x, y

numeric vectors of same length.

nbK

an integer. nbKshould be higher than length(x): return an error if not.

Details

Be careful, the function pmse is not symmetrical. The first argument is vector of estimated, modelled or predicted values, the second argument is the vector of reference.

Value

Return the the Akaike Information Criterion (AIC).


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.