Uses a set of measured and predicted values together with the number of model parameters used

AICc(measured, predicted, k)

Arguments

measured

a vector with measurement values to smooth

predicted

a vector with dates / time steps

k

optional values to weigh the loess fit with

Value

returns the AIC for measured and predicted values for use in model comparison and selection

Examples


if (FALSE) {

model_AIC <- AICc(measured, predicted, k)

}