aar(x, m, d=1, steps=d, series)
nlar
, subclass aar
, i.e. a list
with mostly internal structures for the fitted gam
object. where $s_j$ are nonparametric univariate functions of lagged time
series values. They are represented by cubic regression splines.
$s_j$ are estimated together with their level of
smoothing using routines in the
Wood and Augustin, GAMs with integrated model selection using penalized regression splines and applications to environmental modelling. Ecological Modelling 157:157-177 (2002)
#fit an AAR model:
mod <- aar(log(lynx), m=3)
#Summary informations:
summary(mod)
#Diagnostic plots:
plot(mod)
Run the code above in your browser using DataLab