【发布时间】:2011-07-15 11:09:50
【问题描述】:
我不断收到这样的错误:
Error in `coef<-.corARMA`(`*tmp*`, value = c(18.3113452983211, -1.56626248550284, :
Coefficient matrix not invertible
或者像这样:
Error in gls(archlogfl ~ co2, correlation = corARMA(p = 3)) : false convergence (8)
使用nlme 中的gls 函数。
前一个例子是模型gls(archlogflfornma~nma,correlation=corARMA(p=3)),其中archlogflfornma是
[1] 2.611840 2.618454 2.503317 2.305531 2.180464 2.185764 2.221760 2.211320
而nma 是
[1] 138 139 142 148 150 134 137 135
后面可以看到模型,archlogfl是
[1] 2.611840 2.618454 2.503317 2.305531 2.180464 2.185764 2.221760 2.211320
[9] 2.105556 2.176747
而co2 是
[1] 597.5778 917.9308 1101.0430 679.7803 886.5347 597.0668 873.4995
[8] 816.3483 1427.0190 423.8917
我有 R 2.13.1。
罗兰
【问题讨论】:
-
我是否正确地阅读了您想从 10 次观察中估计具有 2 个系数加上另外 3 个系数的 ARMA 过程的 gls 模型?
标签: r