ll.order(x, order = 1:5, step = 1, deg = 2, bandwidth = c(seq(0.3,
1.5, by = 0.1), 2:10), cv = TRUE, echo = TRUE)cv = TRUE).deg is set to 0, the order is estimated on the basis
of the Nadaraya-Watson (locally constant) estimator of
the conditional expecation against lagged-abundances
(Cheng and Tong 1992, 1994). The function subsumes
the nw.order of the previous S-plus nlt-library.
The function requires Loader's locfit-library.summary.ll.order
plot.ll.orderdata(plodia)
fit1 <- ll.order(sqrt(plodia), order=1:3, bandwidth
= seq(0.5, 1.5, by = 0.5))
plot.ll.order(fit1)
summary.ll.order(fit1)Run the code above in your browser using DataLab