powered by
fit fits the univariate model to the time series z.
fit
# S3 method for tfm fit( mdl, y = NULL, method = c("exact", "cond"), optim.method = "BFGS", show.iter = FALSE, fit.noise = TRUE, ... )fit(mdl, ...)# S3 method for um fit( mdl, z = NULL, method = c("exact", "cond"), optim.method = "BFGS", show.iter = FALSE, ... )
fit(mdl, ...)
# S3 method for um fit( mdl, z = NULL, method = c("exact", "cond"), optim.method = "BFGS", show.iter = FALSE, ... )
an object of class um or tfm.
um
tfm
a ts object.
ts
Exact/conditional maximum likelihood.
the method argument of the optim function.
method
optim
logical value to show or hide the estimates at the different iterations.
logical. If TRUE parameters of the noise model are fixed.
additional arguments.
a time series.
A tfm object.
An object of class "um" with the estimated parameters.
# NOT RUN { z <- AirPassengers airl <- um(i = list(1, c(1, 12)), ma = list(1, c(1, 12)), bc = TRUE) airl <- fit(airl, z) # }
Run the code above in your browser using DataLab