Dear all,

I am trying to fit an arma-garch model to a time series and every time I get
the following error:

Error in if (is.na(opt.pars["lambda"])) { : argument is of length zero
In addition: Warning message:
In is.na(opt.pars["lambda"]) :
  is.na() applied to non-(list or vector) of type 'NULL'


My code is the following:

specD5<-ugarchspec(variance.model = list(model = "fGARCH", garchOrder = c(1,
1), submodel="GARCH"), mean.model = list(armaOrder = c(5,1), include.mean =
FALSE, garchInMean = FALSE, arfima = FALSE), distribution.model = "std")

fitD5<-ugarchfit(spec=specD5, D5, out.sample = 70080, solver = "solnp",
fit.control = list(stationarity = 0, fixed.se = 0, scale = 0))


Please let me know what does the above error mean and how can I fix it.

Thanks,

Georgios

	[[alternative HTML version deleted]]

