-1

自己回帰モデルのパラメーター推定に次のコードを使用しようとしています。

 ar(file[,1], aic = TRUE, order.max = NULL,method = "mle")

次に、次のエラーとともに結果が表示されます。

 Call:
 ar(x = file[, 1], aic = TRUE, order.max = NULL, method = "mle")

 Coefficients:
       1        2        3        4        5        6        7        8  
 -2.3811  -3.3336  -4.3599  -4.8660  -4.8251  -4.0216  -3.1113  -2.0082  
       9  
 -0.5511  

Order selected 9  sigma^2 estimated as  4.742e-11 
 Warning messages:
 1: In arima0(x, order = c(i, 0L, 0L), include.mean = demean) :
   possible convergence problem: optim gave code=1
 2: In arima0(x, order = c(i, 0L, 0L), include.mean = demean) :
   possible convergence problem: optim gave code=1
 3: In arima0(x, order = c(i, 0L, 0L), include.mean = demean) :
   possible convergence problem: optim gave code=1
 4: In arima0(x, order = c(i, 0L, 0L), include.mean = demean) :
   possible convergence problem: optim gave code=1

自己回帰パラメーター推定でこれらのエラーを排除する方法はありますか?

実はこのデータをもとに自己回帰モデルを使って予測をしようとしているのですが、

しかし、可能であれば、一次自己回帰モデルを好みます。

しかし、予測値でさえ、予想とはかけ離れたものであることが判明しました。

問題である予測値..

これらのデータに基づいて、最初の自己回帰モデルのいずれかから適切な予測を行う方法はありますか

および/または任意の順序の自己回帰モデル?

何かお役に立てれば幸いです。

事前にどうもありがとうございました!

4

1 に答える 1