[R-SIG-Finance] rmgarch arguments

alexios ghalanos alexios at 4dscape.com
Wed May 16 09:22:08 CEST 2012


The documentation on 'dccfit' states that the option 'solver.control'
provides a:
  "Control arguments list passed to optimizer".
The 'solnp' solver which is used as the default (which you can see by 
typing 'args(dccfit)' or inspecting the documentation) has a control 
parameter called 'trace' which from its documentation states:
"The value of the objective function and the parameters is printed at 
every major iteration (default 1)."
Therefore, setting the option solver.control=list(trace=0) should do the 
trick...all of which could be deduced by careful reading of the 
documentation.

-Alexios


On 16/05/2012 04:42, junluke wrote:
> Hi, all,
>
> I am doing some simulation studies using rmgarch package. I am using the
> "dccfit" to estimate the dynamic conditional correlation.
>
> After each estimation, the "dccfit" gives me the following messages:
>
> Iter: 1 fn: 185.1321     Pars:  0.008106 0.871192
> Iter: 2 fn: 185.1321     Pars:  0.008106 0.871190
> solnp-->  Completed in 2 iterations
>
> I was wondering how to turn off this message in the "dccfit" function. Here
> is my code:
>
> uspec = ugarchspec(variance.model = list(garchOrder = c(1,1), model =
> "sGARCH"),
>     distribution.model = "norm")
> spec1 = dccspec(uspec = multispec( replicate(2, uspec) ), dccOrder = c(1,1),
>     asymmetric = FALSE, distribution = "mvnorm")
> fit1 = dccfit(spec1, data = return[2:n,], fit.control = list(eval.se=FALSE))
> rc1=rcor(fit1)
>
> Many thanks!
>
> Jun
>
> --
> View this message in context: http://r.789695.n4.nabble.com/copula-with-rmgarch-tp4616138p4630216.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
>



More information about the R-SIG-Finance mailing list