[英]R auto.arima package version 3.22 Error in solve.default(res$hessian * n.used)
I am using auto.arima() like that: 我正在使用auto.arima()这样的:
F12.Xreg <- fourier(NEW.JMB,12)
F4.Xreg<- fourier(NEW.JMB,4)
fb<-cbind(F12.Xreg, F4.Xreg)
fit <-auto.arima(NEW.JMB, D=0, max.P=0, max.Q=0, xreg=fb)
I don't know how can I avoid error: 我不知道如何避免错误:
Error in solve.default(res$hessian * n.used) :
system is computationally singular: reciprocal condition number = 6.64873e-30
Error in if (diffs == 1 & constant) { : argument is of length zero
In addition: Warning message:
In auto.arima(NEW.JMB, D = 0, max.P = 0, max.Q = 0, xreg = fb) :
Unable to calculate AIC offset
Thanks 谢谢
The two fourier matrices have identical columns so the design matrix is not full rank. 这两个傅立叶矩阵具有相同的列,因此设计矩阵不是完整秩。 You can create the fourier terms with a single call to fourier()
. 您可以通过一次调用fourier()
来创建傅立叶项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.