degree of local polynomial, needed only for the locfit method
nn
fraction of nearest data contained in a window, needed only for the
locfit method
method
Two methods for nonparametric estimation: "locfit" is
the default which
uses the local polynomial approach via the locfit library to estimate the
conditional mean function of \(E(X_t|X_{t-k}=x)\) for \(1\le k \le lag.max\);
Another method is GAM, via the mgcv library.
Value
Side effects: The nonparametric lagged regression functions are plotted lag by
lag, with the raw data superimposed on the plots.
References
"Time Series Analysis, with Applications in R" by J.D. Cryer and K.S. Chan