powered by
Fit object of class vtscopula to data using maximum likelihood.
# S4 method for vtscopula fit( x, y, tsoptions = list(), control = list(maxit = 2000, warn.1d.NelderMead = FALSE) )
An object of class tscopulafit.
an object of class vtscopula.
a vector or time series of data.
list of optional arguments: hessian is logical variable specifying whether Hessian matrix should be returned; method is choice of optimization method.
list of control parameters to be passed to the optim function.
optim
copobject <- armacopula(pars = list(ar = 0.6, ma = 0.2)) vtcop <- vtscopula(copobject, Vtransform = V2p()) y <- sim(vtcop) fit(vtcop, y)
Run the code above in your browser using DataLab