ARIMAモデルについて質問があります。のは、私は時系列があるとしましょう私は予想してしたいことをモデルは、予測演習を実施するための良い方法のように思えます。 遅れたは、今日のシリーズが以前のイベントの影響を受けていることを示しています。意味あり。しかし、エラーの解釈は何ですか?私の以前の残差(私の計算でどの程度外れていたか)は、今日の私のシリーズの価値に影響を与えていますか?回帰の積/残余であるため、この回帰では時間差残差はどのように計算されますか?
ARIMAモデルについて質問があります。のは、私は時系列があるとしましょう私は予想してしたいことをモデルは、予測演習を実施するための良い方法のように思えます。 遅れたは、今日のシリーズが以前のイベントの影響を受けていることを示しています。意味あり。しかし、エラーの解釈は何ですか?私の以前の残差(私の計算でどの程度外れていたか)は、今日の私のシリーズの価値に影響を与えていますか?回帰の積/残余であるため、この回帰では時間差残差はどのように計算されますか?
回答:
ARIMAモデルは理論モデルであるため、推定された回帰係数を解釈するための通常のアプローチは、ARIMAモデリングに引き継がれないことを覚えておく必要があると思います。
推定されたARIMAモデルを解釈(または理解)するには、多くの一般的なARIMAモデルによって表示されるさまざまな機能を認識しておくとよいでしょう。
さまざまなARIMAモデルによって生成される予測のタイプを調査することにより、これらの機能の一部を調査できます。これは私が以下で取った主なアプローチですが、良い代替手段は、異なるARIMAモデル(または確率的差分方程式)に関連付けられたインパルス応答関数または動的時間パスを調べることです。これらについては最後に説明します。
AR(1)モデル
しばらくAR(1)モデルについて考えてみましょう。このモデルでは、我々は、の値が低いと言うことができより速く、その後は(平均値)は収束速度です。私たちは、異なる値とシミュレートされたAR(1)モデルの小さなセットのための予想の性質を調べることにより、AR(1)モデルのこの側面を理解しようとすることができるα 1。
我々が議論するだろうことを4 AR(1)モデルのセットが代数的表記法で書くことができるよう: ここで、 Cは定数であり、表記の残りの部分はOPから続きます。唯一の値に対して、各モデルが異なると見られるように α 1。
以下のグラフでは、これら4つのAR(1)モデルのサンプル外予測をプロットしています。それとAR(1)モデルの予測することが分かる他のモデルに対して遅い速度で収束します。AR(1)モデルの予測α 1 = 0.4、他のものよりも速く速度で収束します。
注:赤い線が水平になると、シミュレートされたシリーズの平均に達しました。
MA(1)モデル
今度は、異なる値を持つ4つのMA(1)モデルを考える。我々は説明します4つのモデルは以下のように書くことができる Y 、T = C + 0.95 νのT - 1 + ν トン(5 )
以下のグラフでは、これら4つの異なるMA(1)モデルのサンプル外予測をプロットしています。グラフが示すように、4つのケースすべてでの予測の動作は著しく似ています。平均への迅速な(線形)収束。これらの予測のダイナミクスには、AR(1)モデルのダイナミクスと比べて多様性が少ないことに注意してください。
注:赤い線が水平になると、シミュレートされたシリーズの平均に達しました。
AR(2)モデル
より複雑なARIMAモデルを検討し始めると、物事はより興味深いものになります。たとえば、AR(2)モデルを取り上げます。これらは、AR(1)モデルからわずかにステップアップしただけですよね?まあ、それを考えたいかもしれませんが、AR(2)モデルのダイナミクスは、すぐにわかるように非常に多様です。
4つの異なるAR(2)モデルを調べてみましょう。
The out-of-sample forecasts associated with each of these models is shown in the graph below. It is quite clear that they each differ significantly and they are also quite a varied bunch in comparison to the forecasts that we've seen above - except for model 2's forecasts (top right plot) which behave similar to those for an AR(1) model.
Note: when the red line is horizontal, it has reached the mean of the simulated series.
The key point here is that not all AR(2) models have the same dynamics! For example, if the condition,
It's worth noting that the above condition comes from the general solution to the homogeneous form of the linear, autonomous, second-order difference equation (with complex roots). If this if foreign to you, I recommend both Chapter 1 of Hamilton (1994) and Chapter 20 of Hoy et al. (2001).
Testing the above condition for the four AR(2) models results in the following:
As expected by the appearance of the plotted forecasts, the condition is satisfied for each of the four models except for model 2. Recall from the graph, model 2's forecasts behave ("normally") similar to an AR(1) model's forecasts. The forecasts associated with the other models contain cycles.
Application - Modelling Inflation
Now that we have some background under our feet, let's try to interpret an AR(2) model in an application. Consider the following model for the inflation rate ():
These are the sorts of questions we can ask when trying to interpret an AR(2) model and as you can see, it's not as straightforward as taking an estimated coefficient and saying "a 1 unit increase in this variable is associated with a so-many unit increase in the dependent variable" - making sure to attach the ceteris paribus condition to that statement, of course.
Bear in mind that in our discussion so far, we have only explored a selection of AR(1), MA(1), and AR(2) models. We haven't even looked at the dynamics of mixed ARMA models and ARIMA models involving higher lags.
To show how difficult it would be to interpret models that fall into that category, imagine another inflation model - an ARMA(3,1) with constrained to zero:
Say what you'd like, but here it's better to try to understand the dynamics of the system itself. As before, we can look and see what sort of forecasts the model produces, but the alternative approach that I mentioned at the beginning of this answer was to look at the impulse response function or time path associated with the system.
This brings me to next part of my answer where we'll discuss impulse response functions.
Impulse Response Functions
Those who are familiar with vector autoregressions (VARs) will be aware that one usually tries to understand the estimated VAR model by interpreting the impulse response functions; rather than trying to interpret the estimated coefficients which are often too difficult to interpret anyway.
The same approach can be taken when trying to understand ARIMA models. That is, rather than try to make sense of (complicated) statements like "today's inflation depends on yesterday's inflation and on inflation from two months ago, but not on last week's inflation!", we instead plot the impulse response function and try to make sense of that.
Application - Four Macro Variables
For this example (based on Leamer(2010)), let's consider four ARIMA models based on four macroeconomic variables; GDP growth, inflation, the unemployment rate, and the short-term interest rate. The four models have been estimated and can be written as:
The equations show that GDP growth, the unemployment rate, and the short-term interest rate are modeled as AR(2) processes while inflation is modeled as an AR(4) process.
Rather than try to interpret the coefficients in each equation, let's plot the impulse response functions (IRFs) and interpret them instead. The graph below shows the impulse response functions associated with each of these models.
Don't take this as a masterclass in interpreting IRFs - think of it more like a basic introduction - but anyway, to help us interpret the IRFs we'll need to accustom ourselves with two concepts; momentum and persistence.
These two concepts are defined in Leamer (2010) as follows:
Momentum: Momentum is the tendency to continue moving in the same direction. The momentum effect can offset the force of regression (convergence) toward the mean and can allow a variable to move away from its historical mean, for some time, but not indefinitely.
Persistence: A persistence variable will hang around where it is and converge slowly only to the historical mean.
Equipped with this knowledge, we now ask the question: suppose a variable is at its historical mean and it receives a temporary one unit shock in a single period, how will the variable respond in future periods? This is akin to asking those questions we asked before, such as, do the forecasts contains cycles?, how quickly do the forecasts converge to the mean?, etc.
At last, we can now attempt to interpret the IRFs.
Following a one unit shock, the unemployment rate and short-term interest rate (3-month treasury) are carried further from their historical mean. This is the momentum effect. The IRFs also show that the unemployment rate overshoots to a greater extent than does the short-term interest rate.
また、すべての変数は歴史的手段に戻ります(いずれも「爆発」)が、それぞれ異なる速度でこれを行います。例えば、GDP成長率は、ショック後約6期間後に歴史的平均に戻り、失業率は約18期間後に歴史的平均に戻りますが、インフレと短期金利は過去の平均に戻るために20期間以上かかります。この意味で、GDP成長率は4つの変数の中で最も持続性が低く、インフレは持続性が非常に高いと言えます。
4つのARIMAモデルが4つのマクロ変数のそれぞれについて何を伝えているのかを(少なくとも部分的に)理解できたと言うのは、かなりの結論だと思います。
結論
Rather than try to interpret the estimated coefficients in ARIMA models (difficult for many models), try instead to understand the dynamics of the system. We can attempt this by exploring the forecasts produced by our model and by plotting the impulse response function.
[I'm happy enough to share my R code if anyone wants it.]
References
ウォルドの分解定理により、定常ARMAモデルを次のように書き換えることができます。 モデル、すなわち:
In this form there are no lagged variables, so any interpretation involving notion of a lagged variable is not very convincing. However looking at the and the models separately:
you can say that error terms in ARMA models explain "short-term" influence of the past, and lagged terms explain "long-term" influence. Having said that I do not think that this helps a lot and usually nobody bothers with the precise interpretation of ARMA coefficients. The goal usually is to get an adequate model and use it for forecasting.
私は以前のコメンテーターの感情に完全に同意します。すべてのARIMAモデルを純粋なARモデルとして表現することもできます。これらの重みは、純粋なMA形式(Psi重み)と比較して、Pi重みと呼ばれます。このようにして、過去の値の最適化された加重平均としてARIMAモデルを表示(解釈)できます。つまり、事前に指定された長さと加重平均の値を想定するのではなく、ARIMAモデルは両方の長さ()重量と実際の重量()。
このように、ARIMAモデルは質問に対する答えとして説明できます