AIC: AIC of two numeric vectors

Description Usage Arguments Details Value

Description

Take two numeric vectors and return their Akaike Information Criterion (AIC) computed from the Residuals Sum of Square and the number of used parameters.

Usage

1
AIC(x, y, nbK)

Arguments

x, y

numeric vectors of same length.

nbK

an integer. nbKshould be higher than 1: return an error if not.

Details

None.

Value

Return the the Akaike Information Criterion (AIC).


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