Skip to content

rugarch: solnp vs nlminb default control parameters

2 messages · Bob, Alexios Ghalanos

#
Hi Bob,

Thanks for your feedback.

This is definitely related to the handling (and scaling) of external 
regressor in variance and their constraint bounds when using the solnp 
solver. The following works:

# 1. Avoid the external regressors:
s2.spec <- ugarchspec(variance.model = list(model = "sGARCH", garchOrder 
=c(1,1)), mean.model = list(armaOrder = c(0,0), include.mean = FALSE))
fit3 = ugarchfit(s2.spec, dat, fit.control = list(scale=1))

# 2. Keep External Regressor and increase the tolerance
fit2 <- ugarchfit(s.spec, data = dat, solver = "solnp", solver.control =
list(trace = TRUE, tol=1e-12, delta=1e-11))

In a future release I might allow user adjustment of the bounds since 
the external regressors in both mean and variance equations do sometimes 
cause some problems.

HTH.

Best,

Alexios
On 31/10/2011 18:33, Robert Harlow wrote: