powered by
Fit method for tscm class
# S4 method for tscm fit(x, y, tsoptions = list(), control = list(), method = "IFM")
An object of class tscmfit.
an object of class tscm.
a vector or time series of data.
a list of parameters passed to fitting.
list of control parameters to be passed to the optim function.
optim
character string specifying method.
mod <- tscm(dvinecopula(family = "gauss", pars = 0.5), margin("doubleweibull")) y <- sim(mod) fit(mod, y)
Run the code above in your browser using DataLab