nnetTs(x, m, d = 1, steps = d, series, size,
control = list(trace = FALSE))
nnet::nnet
optimizernlar
, subclass nnetTs
, i.e. a list
with mostly nnet::nnet
internal structures.
Model is estimated using the nnet
function in nnet
package. Optimization is done via the BFGS method of
optim
. Note that for this model, no additional
model-specific summary and plot methods are made available from this package.
Non-Linear Time Series: A Dynamical Systems Approach, Tong, H., Oxford: Oxford University Press (1990).
Chaos: A Statistical Perspective, Chan, K., Tong, H., New York: Springer-Verlag (2001).
#fit a Neural Network model
mod.nnet <- nnetTs(log(lynx), m=2, size=3)
mod.nnet
Run the code above in your browser using DataLab