Professional Documents
Culture Documents
Assigment Week 3
Assigment Week 3
140% 12% 8%
120%
8% 4%
100%
80% 4% 0%
60%
0% -4%
40%
In logs First dif f erence (in logs) Second dif f erence (in logs)
4.75
.08 .04
4.50
4.00
.00 -.04
3.75
Graphical assessment, may suggest a stationary process of order 2 (𝑰(𝟐)) in both levels and logs 2
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
Non-stationary as auto covariance does It seems as a stationary process integrated of Given ACF(1)<0 (over differentiation) ,
NOT decay fastly. Also ACF(1) is order 1 (d=1). Moreover, the linear data d=1 or any d=(1, 2) may be supported.
pretty close to 1 (unit-root) generating process is suggested as a MA(6),
MA(9), AR(1), AR(3), AR(12), ARMA(6,1)
ARMA(6,2), ARMA(6,12), ARMA(9,1),
→ Most probable an ARIMA(1,1,0) process 3
ARMA(9,3) or ARMA(9,12)
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
Non-stationary as auto covariance does It seems as a stationary process integrated of Given ACF(1)<0 (over differentiation) ,
NOT decay fastly. Also ACF(1) is order 1 (d=1). Moreover, are suggested: d=1 or any d=(1, 2) may be supported.
pretty close to 1 (unit-root) MA(10), MA(11), AR(1), AR(2), AR(7),
ARMA(10,1), ARMA(10,2), ARMA(10,7),
ARMA(11,1), ARMA(11,2) or ARMA(11,7)
→ Most probable an ARIMA(1,1,0) process 4
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
Starting from Trend and Constant case Repeating for First Differences (in levels)
Unit-root is failed
to be rejected
Unit-root is rejected
at 1% level
Assuming 𝜑 = 0 (unit-root), is trend significant? Given this, we can use the normal distribution…
The first difference of the debt ratio (in levels) does NOT
have an unit-root, in other words…
Starting from Trend and Constant case Assume Constant case Assume none case
Assuming 𝜑 = 0 (unit-root), is trend significant? Assuming 𝜑 = 0 (unit-root), is constant significant? → Debt ratio in levels has a unit-root (non-stationary)
Unit-root is rejected
Trend is NOT Constant is
at 1% level
significant NOT significant
𝒍𝒏(𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 ~ 𝑰(𝟏)
Then we cannot use the normal dist., go to step (2) Then we cannot use the normal dist., go to step (3) 6
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
4.12 -4.54
4.10 -4.56
4.08 -4.58
4.06 -4.60
4.04 -4.62
4.02 -4.64
4.00 -4.66
(1,1)(0,0)
(1,0)(0,0)
(2,0)(0,0)
(3,0)(0,0)
(1,2)(0,0)
(2,1)(0,0)
(4,0)(0,0)
(3,2)(0,0)
(4,2)(0,0)
(3,1)(0,0)
(1,3)(0,0)
(3,3)(0,0)
(2,2)(0,0)
(0,5)(0,0)
(0,6)(0,0)
(5,0)(0,0)
(1,4)(0,0)
(4,1)(0,0)
(6,0)(0,0)
(2,3)(0,0)
(1,1)(0,0)
(1,0)(0,0)
(2,0)(0,0)
(1,2)(0,0)
(2,1)(0,0)
(3,0)(0,0)
(3,2)(0,0)
(0,6)(0,0)
(4,0)(0,0)
(4,2)(0,0)
(3,1)(0,0)
(1,3)(0,0)
(2,2)(0,0)
(0,4)(0,0)
(0,5)(0,0)
(3,3)(0,0)
(2,4)(0,0)
(0,7)(0,0)
(5,0)(0,0)
(1,4)(0,0)
I focus on top 3 performing models: ARMA (1,1), AR(1) and AR(2) I focus on top 3 performing models: ARMA (1,1), AR(1) and AR(2)
7
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
Actual values Confidence interval ARMA(1,1) AR(2) AR(1)
ARIMA MODELS EVALUATION (IN LEVELS)
Static forecast (in-sample)
Dependant variable: ∆(𝐷𝐸𝐵𝑇 Τ𝐺𝐷𝑃)𝑡 12%
8%
ARMA (1,1) AR (1)
4%
0%
-4%
-8%
0%
STATIC FORECAST DYNAMIC FORECAST
-2%
AR(1) -4%
*For the out-of-sample forecasting all models have been AR(2) I II III IV I II III IV I II III IV I II III IV I
re-estimated from 1995Q4 till 2017Q1. ARMA(1,1)
2017 2018 2019 2020 2021
8
1. Spanish Debt Ratio (𝑫𝑬𝑩𝑻Τ𝑮𝑫𝑷)𝒕 Quarterly data (1995Q4 -2021Q1)
Actual values Confidence interval AR(1) AR(2) ARMA(1,1)
ARIMA MODELS EVALUATION (IN LOGS)
Static forecast (in-sample)
.12
ARMA (1,1) AR (1)
.08
.04
.00
-.04
-.08
AR(1) -.08
*For the out-of-sample forecasting all models have been AR(2) I II III IV I II III IV I II III IV I II III IV I
re-estimated from 1995Q4 till 2017Q1. ARMA(1,1)
2017 2018 2019 2020 2021 9