Hi All,

I'm fitting an arima with xreg:

arima(temp_ts, order = c(1,1,1), seasonal = list(order = c(0,1,0), period = 12),

xreg = temp_xreg, method="CSS")

and it reported error:

Error in optim(init[mask], armaCSS, method = optim.method, hessian = TRUE, :

non-finite value supplied by optim

I tried adding :

arima(temp_ts, order = c(1,1,1), seasonal = list(order = c(0,1,0), period = 12),

xreg = temp_xreg, method="CSS", optim.method = "L-BFGS-B"))

and

arima(temp_ts, order = c(1,1,1), seasonal = list(order = c(0,1,0), period = 12),

xreg = temp_xreg, method="CSS", optim.method = "Nelder-Mead"))

But nothing works. always the same error!

I even tried to add a

"hessian = FALSE"

But it returned the same error with an extra warning:

unused argument (hessian = FALSE)

Help!

More Chenying Gao's questions See All
Similar questions and discussions