Next Article in Journal
Spatial Dependence in the Cyclical Sensitivity of Labour Supply: An Analysis at the Regional Level in Ecuador
Next Article in Special Issue
Currencies Come and Go, But Employment Always Takes Root: Rethinking External Constraints and Monetary Sovereignty in the Periphery
Previous Article in Journal
The Importance of Bitcoin and Commodities as Investment Diversifiers in OPEC and Non-OPEC Countries
Previous Article in Special Issue
Economic and Political Determinants of Sovereign Default and IMF Credit Use: A Robustness Assessment Post 2010
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Addition of Subset and Dummy Variables in the Threshold Spatial Vector Autoregressive with Exogenous Variables Model to Forecast Inflation and Money Outflow

by
Setiawan Setiawan
1,*,
Gama Putra Danu Sohibien
2,
Dedy Dwi Prastyo
1,
Muhammad Sjahid Akbar
1 and
Anton Abdulbasah Kamil
3
1
Department of Statistics, Faculty of Science and Data Analytics, Institut Teknologi Sepuluh Nopember, Surabaya 60119, Indonesia
2
Department of Applied Statistics, Politeknik Statistika STIS, Jakarta 13320, Indonesia
3
Faculty of Economics, Istanbul Gelisim University, Istanbul 34315, Turkey
*
Author to whom correspondence should be addressed.
Economies 2024, 12(12), 352; https://doi.org/10.3390/economies12120352
Submission received: 18 October 2024 / Revised: 29 November 2024 / Accepted: 4 December 2024 / Published: 19 December 2024
(This article belongs to the Special Issue The Political Economy of Money)

Abstract

:
The TSpVARX model can be used in inflation and money outflow forecasting by accommodating the reciprocal relationship among endogenous variables, the influence of exogenous variables, inter-regional linkages, and the nonlinearity of the relationship between endogenous and predetermined variables. However, the impact of some events, such as Eid al-Fitr and fuel price adjustments, still cannot be accommodated in the TSpVARX model. This condition causes inflation and money outflow forecasting using TSpVARX to be unsatisfactory. Our study is to improve the forecasting performance of the TSpVARX model by adding subset and dummy variables. We use a 12th lag subset variable to capture seasonal effects and a dummy variable to represent fuel price changes. These additions enhance the model’s accuracy in forecasting inflation and money outflow by accounting for recurring patterns and specific events, like fuel price changes. Based on the RMSE values of the training and testing data, we can conclude that forecasting inflation and money outflow using TSpVARX with the addition of subset and dummy variables is better than the regular TSpVARX. The inflation and money outflow forecasting generated after the addition of subset and dummy variables are also more fluctuating as in the movement of the actual data.

1. Introduction

Time series models used to forecast inflation and money outflow data include Autoregressive Integrated Moving Average with exogenous variables (ARIMAX), Vector Autoregressive with exogenous variables (VARX), Generalized Space-Time Autoregressive (GSTAR), Threshold Vector Autoregressive (TVAR), Spatial Vector Autoregressive (SpVAR), and Threshold Spatial Vector Autoregressive with exogenous variables (TSpVARX). ARIMAX is a univariate model that can accommodate the influence of predetermined variables in the form of lag endogenous variables and exogenous variables (Wei 2006; Lestari and Dini 2024). The use of the ARIMAX model in inflation modeling is performed to accommodate the influence of several variables, such as fuel increases, outliers, and interest rates.
VARX is a multivariate model that can accommodate the impact of exogenous variables and the reciprocal relationship between endogenous variables (Lütkepohl 2005; Tsay 2014). Two variables that have a mutual relationship but are modeled with a single model will result in biased coefficient estimation (Stock and Watson 2020). VARX models can be used to model inflation and money outflow because inflation and money outflow have a reciprocal relationship (Adelowokan et al. 2019; Bello and Saulawa 2013). However, the VARX model does not include spatial weights that serve to distinguish the size of the inter-regional relationship. A model that can accommodate the linkage of time series variables between regions is the GSTAR model (Sohibien 2017; Fadlurrohman 2020). Sohibien (2017) found that GSTAR with normalized cross-correlation weights is well used in forecasting the inflation of Dumai and Pekanbaru. Fadlurrohman (2020) found that GSTARX with uniform weights is better at forecasting than GSTARX with inverse distance weights. A limitation of the GSTARX model is its inability to accommodate the relationship between endogenous variables for more than one type of endogenous variable. The SpVAR model can accommodate inter-regional linkages for more than one variable (Beenstock and Felsenstein 2007; Di Giacinto 2010; Sohibien et al. 2024a).
The models described above are less suitable for nonlinear patterns of relationships between endogenous and predetermined variables. The TVAR model can capture the nonlinearity of the relationship between time series variables by forming several VAR model regimes based on a predetermined threshold value (Tsagkanos et al. 2018). Although TVAR has been able to capture the nonlinearity of the relationship between endogenous and predetermined variables, the TVAR model has not been able to accommodate the interrelationship of time series variables between regions. The TSpVARX model captures complex interactions by accounting for relationships among variables, external factors, past data points, regional connections, and nonlinear patterns (Sohibien et al. 2024b). Models, such as ARIMAX, VARX, GSTARX, and SpVARX, can only be used to analyze linear relationship patterns between endogenous variables and predetermined variables. Meanwhile, the TSpVARX model can already analyze non-linear relationship patterns between endogenous variables and predetermined variables. Sohibien et al. (2024b) found that when there is a nonlinear relationship between endogenous variables and predetermined variables, the forecasting performance of the TSpVARX model is better than SpVARX.
Another approach that can be used in handling nonlinear relationships is to use machine learning approaches, such as Neural Networks (NNs) and Support Vector Machine (SVM). With the flexibility of machine learning, it can approach any function so that nonlinear patterns between variables can be learned (Bharadiya 2023; Shoko and Sigauke 2023). However, the TSpVARX model has better advantages over machine learning approaches. TSpVARX provides clear rules about when the relationship between variables changes, for example when a variable crosses a certain threshold. This makes it easier for users to understand than machine learning models. In addition, the structure of the TSpVARX model is also simpler than the machine learning approach. In TSpVARX, the nonlinearity of the relationship is shown by a different model between models below the threshold and above the threshold. It causes the TSpVARX model to also be used for interpretation in understanding the relationship between variables. Meanwhile, the complexity of the machine learning approach means that it cannot be used to interpret the relationship between variables.
Although the TSpVARX model has been able to accommodate many things, it still has shortcomings. The TSpVARX model of Sohibien et al. (2024b) cannot accommodate the influence of events with recurring patterns and events that include nonmetric variables. This is still a weakness if the TSpVARX model is used to forecast inflation and money outflow because the inflation and money outflow are influenced by events with recurring patterns (in this case the Eid al-Fitr event) and events that include nonmetric variables (in this case the increase and decrease in fuel prices). In addition to producing more accurate forecasts, the TSpVARX model with dummy and subset variables also has the potential to be applied in the real world, such as analyzing the impact of fuel price increases and decreases on inflation, the effect of holidays on inflation, and future economic planning based on the threshold value of the TSpVARX model.
Therefore, in this study, we propose a TSpVARX with the addition of the 12th subset and dummy variables. Subset variables are lags of endogenous variables included in the model to capture recurring patterns for any given period. Dummy variables are categorical variables that are coded into numerical form (usually 0 and 1) to represent groups in the data so that differences in patterns between data groups can be captured by the model. We include the 12th lag of the endogenous variable as the 12th subset variable to capture the effect of the Eid al-Fitr event on inflation and money outflow. Meanwhile, we include fuel price increases and decreases as dummy variables to accommodate the impact of fuel price adjustments on inflation and money outflow. The developed model will be applied to the forecasting of inflation and money outflow of Yogyakarta, Solo, and Semarang.

2. Methodology

In this section, we will explain three things, namely the first subsection regarding the dataset, the second subsection regarding the SpVARX model, the third subsection regarding the TSpVARX model, and the fourth subsection regarding the development of the TSpVARX model with the addition of the 12th subset and dummy variables. In the first subsection, we describe the data and variables used in this study. We also explain the categories of dummy variables used in this study. In the second subsection, we explain the general form of the SpVARX model and how to estimate the coefficients of the SpVARX model. In the third subsection, we explain how the TSpVARX model is formed based on the selected threshold values and variables along with the steps to estimate the TSpVARX model coefficients. In the fourth subsection, we explain how the general form of the TSpVARX model with the addition of the 12th subset and dummy variables to accommodate the existence of a pattern that repeats every 12 months and the effect of increasing and decreasing fuel prices. We will also explain the steps to estimate the model coefficients.

2.1. Dataset

The data used in this study are monthly data from January 2006 to September 2024 for the BI benchmark interest rate, the exchange rate of the rupiah against the US dollar, and Inflation of Semarang, Solo, and Yogyakarta. Besides that, we also use the money outflow data of Semarang, Solo, and Yogyakarta from January 2006 to May 2023. Inflation of Semarang, Solo, and Yogyakarta are from Statistics Indonesia. Meanwhile, the money outflow of Semarang, Solo, and Yogyakarta, the BI benchmark interest rate, and the exchange rate of the rupiah against the US dollar are from Bank Indonesia. The model used for forecasting is built using data from January 2006 to May 2023. Further forecasting will be carried out from June 2023 to December 2024.
The variables used in this study are inflation of Semarang Y 1 t 1 , inflation of Solo Y 1 t 2 , inflation of Yogyakarta Y 1 t 3 , money outflow of Semarang Y 2 t 1 , money outflow of Solo Y 2 t 2 , money outflow of Yogyakarta Y 2 t 3 , depreciation of the rupiah against the United States dollar at ti X 1 , t i , BI benchmark interest rate at ti  X 2 , t i , the 12th subset variable of Semarang inflation Y 1 , t 12 1 , the 12th subset variable of Solo inflation Y 1 , t 12 2 , the 12th subset variable of Yogyakarta inflation Y 1 , t 12 3 , the 12th subset variable of Semarang money outflow Y 2 , t 12 1 , the 12th subset variable of Solo money outflow Y 2 , t 12 2 , and the 12th subset variable of Yogyakarta money outflow Y 2 , t 12 3 .
It is important to add dummy variables to the TSpVARX model, to capture the effect of rising and falling fuel prices on inflation. When there is an increase in fuel prices, the prices of other goods also increase. This causes an increase in inflation. Conversely, when there is a decrease in fuel prices, inflation decreases. Meanwhile, the addition of the 12th subset variable is aimed at capturing inflation patterns that recur every 12 months caused by events, such as Eid al-Fitr, Christmas, and New Year holidays.
The subset variable in this study is an endogenous lag variable used in the model. This variable is different from the autoregressive variable, where if using autoregressive order 3 (AR (3)), then the endogenous lag variable used is the 1st, 2nd, and 3rd lags of the endogenous variable. In the subset variable, we only use one lag of the endogenous variable, without including the other lags of the endogenous variable. In this study, we use the 12th lag of the endogenous variable for our subset variable. The addition of the 12th lag of the endogenous variable aims to capture the fluctuation pattern of inflation and money outflow caused by events that recur every year (12 months), such as Eid, Christmas, and New Year.
There are two types of dummy variables that we input in the modeling, namely the dummy variable of whether or not the fuel price increases and the dummy variable of whether or not the fuel price decreases. With these dummy variables, fluctuations in inflation and money outflow caused by increases and decreases in fuel prices can be accommodated by the model. The determination of dummy variable data of the fuel price adjustment is as follows:
R t = { 1 , if   the   fuel   price   increase   occurs   before   the   15th   day   of   month   t   or   after   the   15th   day   of   month   t 1 0 , for   others
S t = { 1 , if   the   fuel   price   decrease   occurs   before   the   15th   day   of   month   t   or   after   the   15th   day   of   month   t 1 0 , for   others
Semarang, Solo, and Yogyakarta are the locus of our research because they are geographically close, have easy access to each other, and are included in the same Bank Indonesia region. In addition, the three cities are known as the Golden Triangle area because they are the center of economic development in Central Java both from the tourism and industrial sectors. This allows for linkages in terms of economic activity between these three cities.

2.2. The SpVARX Model

The SpVARX model with spatial order one, temporal lag order p, and exogenous variable lag order q can be written as SpVARX(1, p, q). The general form of the SpVARX model is as follows:
Y 1 , t 1 = α 10 1 + γ 11 1 , 1 X 1 , t 1 1 + + γ 11 1 , q X 1 , t q 1 + + γ 1 m 1 , i X m , t 1 1 + + γ 1 M 1 , 1 X M , t 1 1 + + γ 1 M 1 , q X M , t q 1 + ϕ 11 1 , 1 , 0 Y 1 , t 1 1 + ϕ 11 1 , 1 , 1 w 11 1 , 2 Y 1 , t 1 2 + + w 11 1 , u Y 1 , t 1 u + + w 11 1 , N Y 1 , t 1 N + + ϕ 1 r 1 , j , 0 Y r , t j 1 + ϕ 1 r 1 , j , 1 w 1 r 1 , 2 Y r , t j 2 + + w 1 r 1 , u Y r , t j u + + w 1 r 1 , N Y r , t j N + + ϕ 1 K 1 , p , 0 Y K , t p 1 + ϕ 1 K 1 , p , 1 w 1 K 1 , 2 Y K , t p 2 + + w 1 K 1 , u Y K , t p u + + w 1 K 1 , N Y K , t p N + ε 1 t 1
Y 1 , t 2 = α 10 2 + γ 11 2 , 1 X 1 , t 1 2 + + γ 11 2 , q X 1 , t q 2 + + γ 1 m 2 , i X m , t 1 2 + + γ 1 M 2 , 1 X M , t 1 2 + + γ 1 M 2 , q X M , t q 2 + ϕ 11 2 , 1 , 0 Y 1 , t 1 2 + ϕ 11 2 , 1 , 1 w 11 2 , 1 Y 1 , t 1 1 + w 11 2 , 3 Y 1 , t 1 3 + + w 11 2 , u Y 1 , t 1 u + + w 11 2 , N Y 1 , t 1 N + + ϕ 1 r 2 , j , 0 Y r , t j 2 + ϕ 1 r 2 , j , 1 w 1 r 2 , 1 Y r , t j 1 + w 1 r 2 , 3 Y r , t j 3 + + w 1 r 2 , u Y r , t j u + + w 1 r 2 , N Y r , t j N + + ϕ 1 K 2 , p , 0 Y K , t p 2 + ϕ 1 K 2 , p , 1 w 1 K 2 , 1 Y K , t p 1 + w 1 K 2 , 3 Y K , t p 3 + + w 1 K 2 , u Y K , t p u + + w 1 K 2 , N Y K , t p N + ε 1 t 2
Y k , t n = α k 0 n + γ k 1 n , 1 X 1 , t 1 n + + γ k 1 n , q X 1 , t q n + + γ k m n , i X m , t i n + + γ k M n , 1 X M , t 1 n + + γ k M n , q X M , t q n + ϕ k 1 n , 1 , 0 Y 1 , t 1 n + ϕ k 1 n , 1 , 1 w k 1 n , 1 Y 1 , t 1 1 + + w k 1 n , n 1 Y 1 , t 1 n 1 + w k 1 n , n + 1 Y 1 , t 1 n + 1 + + w k 1 n , N Y 1 , t 1 N + + ϕ k r n , j , 0 Y r , t j n + ϕ k r n , j , 1 w k r n , 1 Y 1 , t j 1 + + w k r n , n 1 Y r , t 1 n 1 + + w k r n , n + 1 Y r , t 1 n + 1 + + w k r n , N Y r , t j N + + ϕ k K n , p , 0 Y K , t p n + ϕ k K n , p , 1 w k K n , 1 Y K , t p n + + w k K n , n 1 Y K , t 1 n 1 + w k K n , n + 1 Y K , t 1 n + 1 + + w 1 K n , N Y K , t p N + ε k t n
Y K , t N = α K 0 N + γ K 1 N , 1 X 1 , t 1 N + + γ K 1 N , q X 1 , t q N + + γ K m N , i X m , t i N + + γ K M N , 1 X M , t 1 N + + γ K M N , q X M , t q N + ϕ K 1 N , 1 , 0 Y 1 , t 1 N + ϕ K 1 N , 1 , 1 w K 1 N , 1 Y 1 , t 1 1 + + w K 1 N , u Y 1 , t 1 u + + w K 1 N , N 1 Y 1 , t 1 N 1 + + ϕ K r N , j , 0 Y r , t j N + ϕ K r N , j , 1 w K r N , 1 Y r , t j 1 + + w K r N , u Y r , t j u + + w K r N , N 1 Y r , t j N 1 + + ϕ K K N , p , 0 Y K , t p N + ϕ K K N , p , 1 w K K N , 1 Y K , t p 1 + + w K K N , u Y K , t p u + + w K K N , N 1 Y K , t p N 1 + ε K t N ,
where
  • X m , t i n is the m-th metric exogenous variable at the n-th location in the period ti,
  • γ k m n , i is the coefficient of variable X m , t i n in equation Y k t n ,
  • M is the number of exogenous variables,
  • j is the lag order of the autoregressive,
  • and i is the lag order of the metric exogenous variable from 1 to q.
The SpVARX model in Equations (1a) to (1d) can be made into vector and matrix operations as follows:
Y 1 , t 1 Y 1 , t 2 Y k , t n Y K , t N N K × 1 = x 1 , t 1 v 1 , t 1 0 0 0 0 0 0 0 0 x 1 , t 2 v 1 , t 2 0 0 0 0 0 0 0 0 x k , t n v k , t n 0 0 0 0 0 0 0 0 0 x K , t N v K , t N N K × N K 1 + M q + 2 K p γ 1 1 ϕ 1 1 γ 1 2 ϕ 1 2 γ k n ϕ k n γ K N ϕ K N + e 1 , t 1 e 1 , t 2 e k , t n e K , t N
where:
x k , t n = 1 X 1 , t 1 n X 1 , t q n X m , t i n X M , t 1 n X M , t q n 1 × 1 + M q
v k , t n = Y 1 , t 1 n Y k 1 , t 1 n * Y r , t j n Y k r , t j n * Y K , t p n Y k K , t p n * 1 × 2 K p
Y k r , t j n * = u = 1 u n N w k r n , u Y r , t j u
γ k n = α k 0 n γ k 1 n ( 1 ) γ k 1 n ( q ) γ k m n ( i ) γ k M n ( 1 ) γ k M n ( q ) 1 + M q × 1
ϕ k n = ϕ k 1 n , ( 1 , 0 ) ϕ k 1 n , ( 1 , 1 ) ϕ k r n , ( j , 0 ) ϕ k r n , ( j , 1 ) ϕ k K n , ( p , 0 ) ϕ k K n , ( p , 1 ) 2 K p × 1
Let Y = Y 1 , h + 1 1 Y 1 , h + 1 2 Y k , h + 1 n Y K , h + 1 N Y 1 , h + 2 1 Y 1 , h + 2 2 Y k , h + 2 n Y K , h + 2 N Y 1 , T 1 Y 1 , T 2 Y k , T n Y K , T N with size (T − h) × NK, Z k n = x k , h + 1 n v k , h + 1 n x k , h + 2 n v k , h + 2 n x k , T n v k , T n , Z = Z 1 1 0 0 0 0 Z 1 2 0 0 0 0 Z k n 0 0 0 0 Z K N , b k n = γ k n ϕ k n , β = b 1 1 b 1 2 b k n b K N , and ξ = e 1 , h + 1 1 e 1 , h + 1 2 e k , h + 1 n e K , h + 1 N e 1 , h + 2 1 e 1 , h + 2 2 e k , h + 2 n e K , h + 2 N e 1 , T 1 e 1 , T 2 e k , T n e K , T N then if the number of observations used for the model is T and h = max(p, q), then the form of the SpVARX model in Equation (2) can be described as follows:
Vec Y = Z β + Vec ξ ,
where
  • Vec is an operator that stacks a matrix as a column vector,
  • Vec Y is a vector of size NK (T − h) × 1 obtained from stacking Y,
  • Vec ξ is a vector of size NK (T − h) × 1 obtained from stacking ξ ,
  • Z is a matrix of size NK (Th) × NK (1 + Mq + 2Kp),
  • β is a vector of size NK (1 + Mq + 2Kp) × 1.
There are several steps to estimate the coefficient parameters of the SpVARX model with the addition of the 12th subset and dummy variables using the MLE method (Sohibien et al. 2024a, 2024b).
  • Form vectors and matrices using lag orders p and q that can produce the smallest AIC value of the SpVARX model.
  • Estimate the coefficients of the SpVARX model with OLS using the following formula:
    β ^ O L S , S p V A R X = Z Z 1 Z Vec Y
  • Find the residuals of the SpVARX model obtained by OLS in step 2 with the following formula:
    Vec ξ O L S = Vec Y Z β ^ O L S , S p V A R X
  • Obtain the error covariance matrix estimator of the OLS-derived SpVARX with the following formula:
    Σ ^ O L S , S p V A R X = V a r e 1 , t 1 C o v e 1 , t 1 , e 1 , t 2 C o v e 1 , t 1 , e k , t n C o v e 1 , t 1 , e K , t N C o v e 1 , t 2 , e 1 , t 1 V a r e 1 , t 2 C o v e 1 , t 2 , e k , t n C o v e 1 , t 2 , e K , t N C o v e 1 , t n , e k , t 1 C o v e 2 , t n , e k , t 1 V a r e k , t n C o v e 2 , t n , e K , t N C o v e k , t n , e k , t 1 C o v e k , t n , e k , t 1 C o v e k , t n , e k , t 1 V a r e K , t N
    where
    e k n = e k , h + 1 n e k , h + 2 n e k , T n ,   V a r e k n = 1 ( T h ) e k n · e k n ,
    C o v e k n , e K N , = 1 ( T h ) e k n · e K N .
  • Estimate the model coefficient of the SpVARX with MLE using the following formula:
    β ^ M L E , S p V A R X = Z Σ ^ O L S , S p V A R X I Z 1 Z Σ ^ O L S , S p V A R X I 1 Vec Y .

2.3. Threshold Spatial Vector Autoregressive with Metric Exogenous Variables (TSpVARX)

The TSpVARX model is formed by dividing the observation data into several regimes based on the threshold variable Y k , t d u and the threshold value ς . In each regime, the SpVARX model coefficients will be estimated so that each regime will contain SpVARX models that have different model coefficients. The TSpVARX model consisting of G regimes with delay order d, spatial order 1, temporal lag order p, and exogenous variable lag order q can be written as TSpVARX(G, 1, p, q, d). The general form of the TSpVARX model is as follows:
y = { Z 1 β 1 + ε 1 , when Y k , t d u ς 1 Z 2 β 2 + ε 2 , when ς 1 < Y k , t d u ς 2 Z g β g + ε g , when ς g 1 < Y k , t d u ς g , Z G β G + ε G , when ς G 1 < Y k , t d u ς G ,
where
  • Y k , t d u is the selected threshold variable,
  • ς g 1 is the selected threshold value for the lower bound of the g-th regime, and
  • ς g is a selected threshold value for the upper bound of the g-th regime.
There are several steps in generating TSpVARX coefficient estimates (Sohibien et al. 2024b).
  • Set a lag of the endogenous variable, which will be the threshold variable.
  • Determine the temporal lag order (p) based on the smallest AIC of the SpVAR model.
  • Determine the exogenous variable lag order (q) based on the smallest AIC of the SpVARX model.
  • Determine the delay limit (d) equal to the selected order p so that the threshold variable candidates are Y k , t 1 u , Y k , t 2 u , , Y k , t p u .
  • For each threshold variable candidate, determine the lowest threshold value; ς D L is the 10th percentile of the threshold variable candidate and the highest threshold value, and ς d U is the 90th percentile of the threshold variable candidate so that we obtain the threshold value candidate interval as follows ς D L ς ς U L .
  • Divide the data into two parts based on all possibilities ς and d; when Y k , t d u > ς , the data will fall into the first regime, and when Y k , t d u ς , the data will fall into the second regime.
  • Estimate the coefficients of the SpVARX model with the addition of the 12th subset and dummy variables in the first regime and the second regime for all possible data splits by using the estimation steps described in Section 2.2.
  • Calculate the ln-likelihood function values in the first regime l β ^ M L E , S p V A R X 1 d , ς Ω 1 and the second regime l β ^ M L E , S p V A R X 2 d , ς Ω 2 for each possible division of the data. The formula is as follows:
    l β M L E , S p V A R X g d , ς | Ω g = N K T g 2 ln 2 π 1 2 ln Ω g 1 2 y g Z g β g Ω g 1 y g Z g β g .
  • Calculate the total ln-likelihood with the following formula:
    l β ^ M L E , S p V A R X d , ς = l β ^ M L E , S p V A R X 1 d , ς Ω 1 + l β ^ M L E , S p V A R X 2 d , ς Ω 2 .
  • Obtain the estimated delay d ^ and threshold values ς ^ by finding the pair d , ς that maximizes l β ^ M L E , S p V A R X d , ς or it can be written down: d ^ , ς ^ = d , ς , max l β ^ M L E , T S p V A R X d , ς .
  • The coefficient estimator is the estimator that is used d ^ , ς ^ as the basis for regime division. We can write it as follows:
    β ^ M L E , T S p V A R X   w i t h   2   R e g i m e s g = β ^ M L E , S p V A R X g d ^ , ς ^
  • If you want to perform TSpVARX modeling up to G regimes, there will be G − 1 threshold variables. The 1st, 2nd, …, G − 2th threshold and delay estimators use the values obtained from the TSpVARX with the G − 1 regime model.
  • The search for the G − 1th threshold estimator is performed by searching from the threshold value candidates in each TSpVARX model regime with G − 1 regimes so that the threshold value candidates are in the following range:
    ς L 1 G 1 ς 1 G 1 ς U 1 G 1 ,   ς L 2 G 1 ς 2 G 1 ς U 2 G 1 ,   ,   ς L g G 1 ς g G 1 ς U g G 1 ,   , ς L G 1 G 1 ς G 1 G 1 ς U G 1 G 1 ,
    where
    • ς L g G 1 is the lowest threshold value candidate derived from the 10th percentile of data in the g-th regime of the TSpVARX model with G − 1 regimes, and
    • ς U g G 1 is the highest threshold value candidate derived from the 90th percentile of data in the g-th regime of the TSpVARX model with G − 1 regimes.
  • Calculate the total ln likelihood for all possible threshold value candidates as explained in step 13 with the following formula:
    l β ^ M L E , S p V A R X d , ς ^ 1 , ς ^ 2 , , ς G 1 = l β ^ M L E , S p V A R X 1 d , ς ^ 1 , ς ^ 2 , , ς G 1 Ω 1 + l β ^ M L E , S p V A R X 2 d , ς ^ 1 , ς ^ 2 , , ς G 1 Ω 2 + + l β ^ M L E , S p V A R X G d , ς ^ 1 , ς ^ 2 , , ς G 1 Ω G .
  • The G − 1th threshold value estimator is the threshold value that maximizes the total ln likelihood. We can also write it as follows:
    ς ^ G 1 = ς G 1 , max l β ^ M L E , T S p V A R X d ^ , ς ^ 1 , ς ^ 2 , , ς ^ G 1 .
  • The estimator coefficients of the TSpVARX with G regime in the g-th regime with the addition of the 12th subset and dummy variables are the coefficients obtained by dividing the regime based on the estimation of delay d ^ and threshold value ς ^ 1 , ς ^ 2 , , ς ^ G 1 . We can write it as follows:
    β ^ M L E , T S p V A R X G R e z i m g = β ^ M L E , S p V A R X g d ^ , ς ^ 1 , ς ^ 2 , , ς ^ G 1 .
We include a flow chart in Figure 1 to improve readability and understanding of the TSpVARX model.

2.4. The Development of TSpVARX with the Addition of the 12th Subset and Dummy Variables

The development of the TSpVARX model with the 12th subset and dummy variables is performed by adding the 12th lag of endogenous and dummy variables as predetermined variables in the TSpVARX model. The form of the SpVARX model with the addition of the 12th lag of endogenous and dummy variables is as follows:
Y 1 , t 1 = α 1 10 + γ 11 1 , ( 1 ) X 1 , t 1 1 + + γ 11 1 , ( q ) X 1 , t q 1 + + γ 1 m 1 , ( i ) X m , t 1 1 + + γ 1 M 1 , ( 1 ) X M , t 1 1 + + γ 1 M 1 , ( q ) X M · t q 1 + λ 11 1 D 11 , t 1 + + λ 1 l 1 D 1 l , t 1 + + λ 1 L 1 D 1 L , t 1 + ϕ 11 1 , ( j , 0 ) Y 1 , t 1 1 + ϕ 11 1 , ( 1 , 1 ) w 11 1 , 2 Y 1 , t 1 2 + + w 11 1 , u Y 1 , t 1 u + + w 11 1 , N Y 1 , t 1 N + + ϕ 1 r 1 , ( j , 0 ) Y r , t j 1 + ϕ 1 r 1 , ( j , 1 ) w 1 r 1 , 2 Y r , t j 2 + + w 1 r 1 , u Y r , t j u + + w 1 r 1 , N Y r , t j N + + ϕ 1 K 1 , ( p , 0 ) Y K , t p 1 + ϕ 1 K 1 , ( p , 1 ) w 1 K ( 1 , 2 ) Y K , t p 2 + + w 1 K 1 , u Y K , t p u + + w 1 K ( 1 , N ) Y K , t p N + ϕ 11 1 , ( 12 , 0 ) Y 1 , t 12 1 + ϕ 12 1 , ( 12 , 0 ) Y 2 , t 12 1 + + ϕ 1 r 1 , ( 12 , 0 ) Y r , t 12 1 + + ϕ 1 K 1 , ( 12 , 0 ) Y K , t 12 1 + e 1 t 1 ,
Y 1 , t 2 = α 2 10 + γ 11 2 , ( 1 ) X 1 , t 1 2 + + γ 11 2 , ( q ) X 1 , t q 2 + + γ 1 m 2 , ( i ) X m , t 1 2 + + γ 1 M 2 , ( 1 ) X M , t 1 2 + + γ 1 M 2 , ( q ) X M · t q 2 + λ 11 2 D 11 , t 2 + + λ 1 l 2 D 1 l , t 2 + + λ 1 L 2 D 1 L , t 2 + ϕ 11 2 , ( j , 0 ) Y 1 , t 1 2 + ϕ 11 2 , ( 1 , 1 ) w 11 2 , 1 Y 1 , t 1 1 + + w 11 2 , u Y 1 , t 1 u + + w 11 2 , N Y 1 , t 1 N + + ϕ 1 r 2 , ( j , 0 ) Y r , t j 2 + ϕ 1 r 2 , ( j , 1 ) w 1 r 2 Y r , t j 1 + + w 1 r 2 , u Y r , t j u + + w 1 r 2 , N Y r , t j N + + ϕ 1 K 2 , ( p , 0 ) Y K , t p 2 + ϕ 1 K 2 , ( p , 1 ) w 1 K ( 2 , 1 ) Y K , t p 1 + + w 1 K 2 , u Y K , t p u + + w 1 K ( 2 , N ) Y K , t p N + ϕ 11 2 , ( 12 , 0 ) Y 1 , t 12 2 + ϕ 12 2 , ( 12 , 0 ) Y 2 , t 12 2 + + ϕ 1 r 2 , ( 12 , 0 ) Y r , t 12 2 + + ϕ 1 K 2 , ( 12 , 0 ) Y K , t 12 2 + e 1 t 2 ,
Y k , t n = α n k 0 + γ k 1 n , ( 1 ) X 1 , t 1 n + + γ k 1 n , ( q ) X 1 , t q n + + γ k m n , ( i ) X m , t 1 n + + γ k M n , ( 1 ) X M , t 1 n + + γ k M n , ( q ) X M · t q n + λ k 1 n D k 1 , t n + + λ k l n D k l , t n + + λ k L n D k L , t n + ϕ k 1 n , ( j , 0 ) Y 1 , t 1 n + ϕ k 1 n , ( 1 , 1 ) w k 1 2 , 1 Y 1 , t 1 1 + + w k 1 2 , u Y 1 , t 1 u + + w k 1 2 , N Y 1 , t 1 N + + ϕ k r n , ( j , 0 ) Y r , t j n + ϕ k r n , ( j , 1 ) w k r 2 Y r , t j 1 + + w k r 2 , u Y r , t j u + + w k r 2 , N Y r , t j N + + ϕ k K n , ( p , 0 ) Y K , t p n + ϕ k K n , ( p , 1 ) w k K ( 2 , 1 ) Y K , t p 1 + + w k K 2 , u Y K , t p u + + w k K ( 2 , N ) Y K , t p N + ϕ k 1 n , ( 12 , 0 ) Y 1 , t 12 n + ϕ k 2 n , ( 12 , 0 ) Y 2 , t 12 n + + ϕ k r n , ( 12 , 0 ) Y r , t 12 n + + ϕ k K n , ( 12 , 0 ) Y K , t 12 n + e k t n ,
Y K , t N = α N K 0 + γ K 1 N , ( 1 ) X 1 , t 1 N + + γ K 1 N , ( q ) X 1 , t q N + + γ K m N , ( i ) X m , t 1 N + + γ K M N , ( 1 ) X M , t 1 N + + γ K M N , ( q ) X M · t q N + λ K 1 N D K 1 , t N + + λ K 2 N D K 2 , t N + λ K L N D K L , t N + ϕ K 1 N , ( j , 0 ) Y 1 , t j N + ϕ K 1 N , ( 1 , 1 ) w K 1 N , 1 Y 1 , t 1 1 + + w K 1 N , u Y 1 , t 1 u + + w K 1 N , N 1 Y 1 , t 1 N 1 + + ϕ K r N , ( j , 0 ) Y r , t j N + ϕ K r N , ( j , 1 ) w K r N , 1 Y r , t j 1 + + w K r N , u Y r , t j u + + w N r N , N 1 Y r , t j N + + ϕ K K N , ( p , 0 ) Y K , t p N + ϕ K K n , ( p , 1 ) w K K ( 2 , 1 ) Y K , t p 1 + + w K K 2 , u Y K , t p u + + w K K ( N , N 1 ) Y K , t p N + ϕ K 1 N , ( 12 , 0 ) Y 1 , t 12 N + ϕ K 2 N , ( 12 , 0 ) Y 2 , t 12 N + + ϕ K r N , ( 12 , 0 ) Y r , t 12 N + + ϕ K K N , ( 12 , 0 ) Y K , t 12 N + e K t N , ,
where:
  • D k l , t n is the l-th dummy variable in the equation Y k , t n ,
  • λ k l n is the coefficient of D k l , t n ,
  • L is the number of dummy variables,
  • Y r , t 12 n is the 12th lag of the r-th endogenous variable at the n-th location, and
  • ϕ k r n , ( 12 , 0 ) is the coefficient of the 12-th lag of the r-th endogenous variable at the n-th location in the equation Y k , t n .
The SpVARX model with the 12th subset and dummy variables can be written in vector and matrix form as follows:
Y 1 , t 1 Y 1 , t 2 Y k , t n Y K , t N = x 1 , t 1 d 1 , t 1 f 1 , t 1 0 0 0 0 0 0 0 0 0 0 0 0 x 1 , t 2 d 1 , t 2 f 1 , t 2 0 0 0 0 0 0 0 0 0 0 0 0 x k , t n d k , t n f k , t n 0 0 0 0 0 0 0 0 0 0 0 0 x K , t N d K , t N f K , t N γ 1 1 λ 1 1 ϕ 1 1 γ 1 2 λ 1 2 ϕ 1 2 γ k n λ k n ϕ k n γ K N λ K N ϕ K N + e 1 , t 1 e 1 , t 2 e k , t n e K , t N ,
where
x k , t n = 1 X 1 , t n X 1 , t q n X m , t i n X M , t 1 n X M , t q n 1 × 1 + M q ,
d k , t n = D k 1 , t n D k l , t n D k L , t n 1 × L ,
f k , t n = Y 1 , t 1 n Y k 1 , t 1 n * Y r , t j n Y k r , t j n * Y K , t p n Y k K , t p n * Y 1 , t 12 n Y 2 , t 12 n Y r , t 12 n Y K , t 12 n 1 × K ( 2 p + 1 ) ,
Y k r , t j n * = u = 1 u n N w k r n , u Y r , t j u ,
γ k n = α k 0 n γ k 1 n 1 γ k 1 n q γ k m n i γ k M n 1 γ k M n q 1 + M q × 1 ,
λ k n = λ k 1 n λ k l n λ k L n L × 1 ,
ϕ k n = ϕ k 1 n , 1 , 0 ϕ k 1 n , 1 , 1 ϕ k r n , j , 0 ϕ k r n , j , 1 ϕ k K n , p , 0 ϕ k K n , p , 1 ϕ k 1 n , 12 , 1 ϕ k K n , 12 , 1 K 2 p + 1 × 1 .
Let F k n = x k , h + 1 n d k , h + 1 n f k , h + 1 n x k , h + 2 n d k , h + 2 n f k , h + 2 n x k , T n d k , T n f k , T n , F = F 1 1 0 0 0 0 F 1 2 0 0 0 0 F k n 0 0 0 0 F K N , φ k n = γ k n λ k n ϕ k n , and θ = φ 1 1 φ 1 2 φ k n φ K N ; then, if the number of observations used for the model is T and h = max(12, p, q, L), then the form of the SpVARX model in equation (7) can be described as follows:
Vec Y = F θ + Vec ξ ,
where
  • F is a matrix of size NK (Th) x NK (1 + Mq + 2Kp + K + L), and
  • θ is a vector of size NK (1 + Mq + 2Kp + K + L) × 1.
TSpVARX model with the addition of the 12th subset and the dummy variables, formed by dividing the data into several regimes, is based on the threshold value and selected threshold variables. After that, the coefficient estimation of the SpVARX model with the addition of the 12th subset and the dummy variables is carried out.

2.5. Steps of TSpVARX Modeling with the Addition of the 12th Subset and Dummy Variables in the Application

The analysis method used in this research is Threshold Spatial Vector Autoregressive with Exogenous Variables (TSpVARX) by adding the 12th Subset and Dummy Variables. There are some steps to achieve the research objectives.
  • We perform data stationarity tests with the Augmented Dickey–Fuller and Philips Perron Test.
  • We identify spatial relationships between endogenous variables using cross-correlation.
  • We determine spatial weights using uniform and cross-correlation normalization.
  • We determine the lag length of endogenous variables (p) using the AIC of the SpVAR model.
  • We determine the lag length of the exogenous variable (q) using the AIC of the SpVARX model.
  • We identify the nonlinearity of the relationship between endogenous variables and predetermined variables using the RESET Test method. The RESET Test method specifically checks whether the relationship between the endogenous variables and the nonlinear nature has or has not been accommodated in the model. How the testing steps of nonlinearity by using the RESET Test can be seen in Tsay (2010).
  • We estimate the coefficients of TSpVARX with two, three, and four regimes for all possible threshold variables.
  • We select the best of each TSpVARX by looking at the smallest AIC value.
  • We compare the forecasting performance of SpVARX and TSpVARX using the RMSE of the testing data.
  • We insert the 12th subset and fuel price adjustment variables.
  • We compare the forecasting performance of TSpVARX and TSpVARX with the Addition of the 12th Subset and Dummy Variables.
  • We perform forecasting for several periods using the best model obtained in step 11.

2.6. Relationship Among SpVARX, TSpVARX, and TSpVARX Models with Subset Variables and Dummy Variable

The SpVARX model is a model that can accommodate reciprocal relationships among variables, space–time relationships of more than one type of endogenous variable, and the influence of exogenous metric variables. However, the SPVARX model cannot accommodate the nonlinearity between endogenous and predetermined variables.
The TSpVARX model accommodates the nonlinearity of the relationship between endogenous and predetermined variables by dividing the data into several regimes. In each regime, a SpVARX model will be created so that each regime will have a different SpVARX model. Regime division is performed based on the threshold value and the selected threshold variable that can maximize the total likelihood. Although it can accommodate the nonlinearity of the relationship, the TSpVARX model has not been able to capture some events that can affect the value of inflation and outflow, such as Eid, Christmas, New Year, and the increase and decrease in fuel prices. The TSpVARX model with the addition of the 12th subset variable and dummy variables can overcome the problem. The formation of the TSpVARX model with the addition of the 12th subset variable and dummy variables is performed by performing SpVARX modeling by adding exogenous variables in the form of the 12th lag of endogenous variables and dummy variables of fuel price increases and decreases in each regime for which the distribution has been determined in TSpVARX modeling.

3. Results and Discussion

3.1. Data Exploration

In Figure 2, we can see that during the period from May 2006 to May 2024, inflation in these three cities increased in July 2013. It could be due to the Eid al-Fitr event in early August 2013. Inflation in June 2008 and December 2014 for Semarang and Yogyakarta were also quite high. The increase in June 2008 could be due to the impact of the fuel price hike. The increase in inflation in December 2014 could be due to the fuel price hike in mid-November 2014.
In Figure 3, we can see that there are some high increases in money outflow of the three cities in some periods, such as in June 2017, June 2018, May 2020, etc. We suspect these conditions are due to the influence of the Eid al-Fitr event, which caused many people to withdraw money for Eid’s needs. The high increase in money outflow data causes the money outflow variable in the three cities to vary greatly, ranging from units to thousands of billions. Therefore, in this study, the money outflow data are transformed using the logarithm form so that the value of the money outflow variable is not much different.
The first step taken in modeling time series data is to test the data stationarity. If the data are not stationary, then the differencing process is carried out. The data stationarity test of this study uses the Phillips Perron (PP) and Augmented Dickey-Fuller (ADF) tests. If the p-value is less than the significance level, the data are concluded to be stationary. The results of data stationarity testing can be seen in Table 1.
The next step is to identify the relationship between endogenous variables in one city and another. This identification is performed by looking at the significance of the cross-correlation value between endogenous and predetermined variables. Based on Table 2, it can be seen that there is a significant cross-correlation between the inflation of Semarang one month earlier and all endogenous variables at the five-percent significance level. Significant cross-correlation also exists between the inflation of Solo one month earlier and the inflation of Yogyakarta and Semarang at the five-percent significance level. Besides that, the inflation of Semarang one month earlier also has a significant cross-correlation with the money outflow of Yogyakarta and Semarang at the 10-percent significance level. The inflation of Yogyakarta one month earlier has a significant cross-correlation with all endogenous variables at the sfive-percent significance level. What we get here is in line with the previous research from Sohibien et al. (2024a), which found that inflation in these three cities is spatially related. In addition, Sumarminingsih et al. (2021) also show that inflation between cities can be related.
Table 3 shows that there is a significant cross-correlation between the money outflow in a city and other cities at the five percent significance level. The existence of an interrelationship between the money outflow of these three cities can be caused by the fact that the BI representative offices in these three cities belong to the same group. As a result, if a city experiences a shortage of money stock, the other cities can supply the shortage. Thus, there is a linkage in the money outflow between these three cities.

3.2. Temporal Lag Selection (p)

The selection of temporal lag (p) is performed by looking at the smallest Akaike Information Criterion (AIC) value generated from several SpVAR models formed. There are two weights used, namely uniform and normalized cross-correlation weight. The AIC of the SpVAR models can be seen in Table 4. The smallest AIC is obtained from the SpVAR (1, 1) with a constant.

3.3. Order Selection q

The next step is to select the order lag of exogenous variables (q) that will be used in SpVARX and TSpVARX modeling. The selection of order q is performed by looking at the smallest AIC generated from SpVARX models with a temporal lag order (p) of 1. We can write the general form as SpVARX (1, 1, q). The results of the AIC values formed from SpVARX (1, 1, q) models can be seen in Table 5. SpVARX models that are successfully formed using uniform weight are SpVARX models with a lag order q of one to four. Meanwhile, the SpVARX models successfully formed using the normalized cross-correlation weight are SpVARX models with a lag order q of 1, 2, and 3. The SpVARX model with a lag order q of 4 with a normalized cross-correlation weight is not successfully formed due to singularity problems in estimating the SpVARX model coefficients. A coefficient estimation that cannot be generated due to the singularity, causes us to be unable to obtain the AIC value. Based on Table 5, the smallest AIC obtained from the SpVARX model is when the order q is equal to one or both when using the uniform and normalized cross-correlation weight.

3.4. Nonlinearity Test Between Endogenous and Lag of Endogenous Variables

The next step is to test whether the endogenous variables are suitable to be modeled linearly with the predetermined variables. This research uses the reset test method. The hypothesis used in the linearity test with the reset test is as follows:
H0. 
The endogenous variable fits a linearly model with predetermined variables.
H1. 
Endogenous variables are not linearly modeled with predetermined variables.
The results of the nonlinearity testing between endogenous variables and predetermined variables can be seen in Table 6. If the p-value is less than the significant level, the decision is to reject Ho, which means that the relationship between the endogenous variables and the predetermined variables is not linear. In Table 6, it can be seen that of the six endogenous variables used, three of them (inflation of Solo, inflation of Yogyakarta, and outflow of Solo) have p-values less than the five- or ten-percent significance level. The inflation of Solo and money outflow of Solo are significant at the ten-percent significance level, while the inflation of Yogyakarta is significant at the five-percent significance level. Thus, these three endogenous variables are not fit to be modeled linearly against the predetermined variables used.
The non-linear relationship between inflation and predetermined variables, such as the lag of money outflow, exchange rate depreciation, and BI benchmark interest rate is in line with the findings of several studies. Çitçi and Kaya (2023), using a sample of 149 countries, found that the exchange rate has a non-linear relationship with inflation. Gök and Bulut (2021) found that interest rates have a non-linear relationship with Turkish inflation.

3.5. Selection of Threshold Variables

After we obtain the temporal lag order (p), the exogenous variable lag order (q), and the indications of non-linear relationships, the next step is to model the TSpVARX. The number of regimes (s) tried in this study are 2, 3, and 4. The TSpVARX (s, 1, 1, 1) model formed in this study uses the uniform and normalized cross-correlation weight. The value of the uniform spatial weight and the normalized cross-correlation weight can be seen in Appendix A. Because the order p is one, the threshold variables used in this study are Y 1 , t 1 1 , Y 1 , t 1 2 , Y 1 , t 1 3 , log Y 2 , t 1 1 , log Y 2 , t 1 2 , and log Y 2 , t 1 3 . Based on Figure 4, we can see that 15 of 18 TSpVARX models formed have smaller AIC values than SpVARX and 14 of 18 TSpVARX models have smaller AIC values than SpVAR. This indicates that most of the TSpVARX formed are better than SpVARX and SpVAR in terms of modeling. Based on the smallest AIC, we select the best three TSpVARX models with a uniform weight, namely the two-regime TSpVARX with the threshold variable log Y 2 , t 1 2 , the three-regime TSpVARX with the threshold variable Y 1 , t 1 3 , and the four-regime TSpVARX with the threshold variable Y 1 , t 1 2 .
In Figure 5, it can be seen that 13 of 16 TSpVARX models with normalized cross-correlation weights have smaller AIC values than SpVARX and SpVAR. This shows that most of the TSpVARX models with normalized cross-correlation weights are better than SpVAR and SpVARX in terms of modeling. Based on the smallest AIC value, the best three TSpVARX models with normalized cross-correlation weights are the two-regime TSpVARX with the threshold variable log Y 1 , t 1 2 , the three-regime TSpVARX with the threshold variable log Y 1 , t 1 2 , and the four-regime TSpVARX with the threshold variable log Y 1 , t 1 2 .

3.6. Evaluation of TSpVARX Model Compared to SpVARX in Modeling Inflation and Money Outflow of Semarang, Solo, and Yogyakarta

After we obtain the best model of TSpVARX with two, three, and four regimes, the next step is to evaluate the performance of TSpVARX and SpVARX models in forecasting the inflation and money outflow of Semarang, Solo, and Yogyakarta. An evaluation of the forecasting performance is performed by looking at the Root Mean Square Error (RMSE) for each endogenous variable. The RMSE is a value used to measure the accuracy of a model in forecasting. A lower RMSE indicates a more precise forecast result. Specifically, for the log money outflow variable, the RMSE is calculated using the residuals of the original forecasting money outflow, not in logarithm form. It is performed because the forecasting results used in reality are the original value of money outflow. According to Table 7, five of six endogenous variables obtain the smallest RMSE in the testing data when using the three-regime TSpVARX model with a uniform weight. Those five endogenous variables are Semarang Inflation Y 1 , t 1 1 , Solo Inflation Y 1 , t 1 2 , money outflow of Semarang log Y 2 , t 1 1 , money outflow of Solo log Y 2 , t 1 2 , and money outflow of Yogyakarta log Y 2 , t 1 3 . Meanwhile, in the training data, four endogenous variables obtain the smallest RMSE when we use a normalized cross-correlation weight.
In Figure 6 and Figure 7, the blue line illustrates the movement of actual data. The red line illustrates the movement of the forecasting data of the TSpVARX model, while the green line illustrates the movement of forecast data of the SpVARX model. Based on Figure 6, the up-and-down pattern of actual data can already be followed by the up-and-down pattern of forecast data generated from the three-regime TSpVARX model. However, there are still some points of actual data that are still far from the forecasting inflation data. The events that cause some of the actual inflation data to be far from the forecasting data results are Christmas and New Year events (December 2006, December 2010), Eid al-Fitr events (19 August 2012, 8 August 2013), fuel price increases (24 May 2008, November 2014, 1 September 2022), and fuel price decreases (1 December 2008, 1 February 2015, 1 April 2016, 10 February 2019).
In Figure 7, it can be seen that there are still actual data at several points of the training and testing periods that are far from the forecasting money outflow data when we use the TSpVARX model. The events that cause this situation are Christmas and New Year events (December 2006, December 2019) and Eid al-Fitr events (October 2007, October 2008, September 2009, September 2010, August 2011, August 2012, August 2013, July 2014, July 2015, July 2016, June 2017, June 2018, June 2019, May 2022, April 2023). The most events that cause this condition are the Eid al-Fitr events.
In Table 8, we can see that the forecasting results of inflation and money outflow of Semarang, Solo, and Yogyakarta using the three-regime TSpVARX model are relatively stable after the next sixteen periods (October 2024, November 2024, and December 2024). It could be due to the use of an autoregressive lag order (p) of one that can only accommodate the data pattern of one previous period. In addition, the other influences of the Eid al-Fitr event and the adjustment of fuel prices have not been captured in the model.

3.7. Addition of the 12th Subset and Dummy Variables in the Form of Fuel Price Adjustments

Based on the previous section, it can be seen that the results of forecasting inflation and money outflow using the TSpVARX model are not so good because several forecasting values are still far from the actual data. In addition, the forecasting data of inflation and money outflow using the TSpVARX model are also still stable after the next three periods. This indicates that the influence of the increase and decrease in fuel prices and the Eid al-Fitr event have not been captured by the model. Therefore, in this section, a subset variable of the 12th lag of the endogenous variable and dummy variables of increasing and decreasing fuel prices will be added to the TSpVARX modeling. This addition is expected to help in capturing the effect of the Eid al-Fitr and fuel price adjustment event. Based on Table 9, it can be seen that there are five smallest RMSE values based on the residuals of the testing data obtained from the TSpVARX model with the addition of the 12th subset and the dummy variables. Based on the RMSE of the training data residuals, all the smallest RMSEs are obtained using the TSPVARX model with the addition of the 12th subset and dummy variables. Therefore, we can conclude that the addition of the 12th subset and the dummy variables can improve the performance of the TSpVARX model in forecasting the inflation and money outflow of Semarang, Solo, and Yogyakarta.
The addition of the 12th subset variable causes some recurring patterns of inflation and money outflow increases due to the Eid al-Fitr event to be captured in the model. Thus, the resulting forecasting in the period of the Eid al-Fitr event is better than before the subset variable is added. The addition of dummy variables in the form of increases and decreases in fuel prices causes the pattern of increase or decrease in inflation and money outflow due to fuel price adjustments to be captured by the model. Therefore, the forecasting of inflation and money outflow when fuel price adjustments occur is closer to the actual data than before the dummy variables are included.
The performance comparison of TSpVARX with and without subset and dummy variables based on RMSE can be seen in Figure 8. Based on Figure 8, the RMSE value of the testing data and training data for inflation and outflow is smaller than the TSpVARX model with subset and dummy variables. This indicates that the TSpVARX model with subset and dummy variables has better performance compared to the TSpVARX model. The improvement in inflation and money outflow forecasting accuracy due to the addition of subset and dummy variables is useful for the government to take the right policy, especially in price control.
The comparison between the plots of actual and forecasting data can be seen in Figure 9 and Figure 10. The blue line illustrates the movement of actual data, and the green line illustrates the movement of forecasting data from the TSpVARX model. The red line illustrates the movement of the forecast data of the TSpVARX model with the addition of the 12th subset and the dummy variables. Based on Figure 8, it can be seen that some points of increase and decrease in inflation can be captured by the TSpVARX model with the addition of the 12th subset and the dummy variables. The effects of some events on inflation captured in the model are as follows:
  • the effect of Christmas and New Year on inflation of Semarang, Solo, and Yogyakarta in December 2014;
  • the effect of Eid al-Fitr on the inflation of Semarang in August 2012;
  • the effect of Eid al-Fitr on inflation of Semarang, Solo, and Yogyakarta in July 2013;
  • the effect of a fuel price increase on inflation of Semarang, Solo, and Yogyakarta in June 2008;
  • the effect of a fuel price increase on inflation of Semarang, Solo, and Yogyakarta in November 2014;
  • the effect of a fuel price decrease on inflation of Yogyakarta in December 2008;
  • the effect of a fuel price decrease on inflation of Semarang, Solo, and Yogyakarta in February 2015;
  • the effect of a fuel price decrease on inflation of Semarang and Solo in February 2019.
Based on Figure 10, it can be seen that some money outflow data points, which previously could not be captured by the three-regime TSpVARX, have been captured by the three-regime TSpVARX model with the addition of the 12th subset and the dummy variables. The effects of some events on money outflow captured in the model are as follows:
  • the effect of Eid al-Fitr on the money outflow of Solo and Yogyakarta in September 2009;
  • the effect of Eid al-Fitr on money outflow of Semarang, Solo, and Yogyakarta in July 2013;
  • the effect of Eid al-Fitr on the money outflow of Semarang, Solo, and Yogyakarta in July 2018;
  • the effect of Eid al-Fitr on money outflow of Semarang, Solo, and Yogyakarta in May 2022.

3.8. Forecasting Results Using the Selected Model

The results of forecasting using TSPVARX with the addition of the 12th subset and the dummy variables for June 2023 to May 2024 can be seen in Table 10. If we compare the forecasting result in Table 10 with Table 8, the forecasting result in Table 10 fluctuates more than in the Table 8. This indicates that the addition of the 12th subset and dummy variables can already capture the data pattern due to the Eid al-Fitr event and fuel price adjustment. By using the forecasting result generated from the TSpVARX model with the addition of subset variables and dummy variables, the government can use the right policy in controlling the inflation rate. For example, if the highest inflation forecast for the October-December 2024 period is in November 2024, then the government can take precautions, such as raising interest rates and conducting open market operations in the previous month. In addition, the government can also find out the estimated increase in inflation and money outflow during Eid al-Fitr. It can be anticipated for the government to ensure the availability of food and non-food needs for the community so that there is no scarcity.

4. Discussion

The model formed in this study still has limitations. One of the limitations of this model is that it has not been able to overcome the singularity problem. Singularity problems can occur due to a high correlation between predetermined variables. The singularity problem can result in several things, including the model coefficients cannot be estimated and a measure of model goodness cannot be obtained. In this study, the AIC of the SpVARX (1, 1, 4) model with normalized cross-correlation weights could not be obtained due to the singularity problem in estimating the error covariance matrix used when estimating the SpVARX model coefficients with MLE. Future research can develop the TSpVARX model by using estimation methods that can overcome the singularity problem, such as the Least Absolute Shrinkage and Selection Operator (LASSO) and Ridge Regression.
Economic variables move together. This leads to the need for knowledge of how economic variables are interconnected. The TSpVARX model with subset and dummy variables developed in this study still has limitations in terms of the difficulty of interpreting the relationship between variables. Therefore, future research can still develop impulse responses from the TSpVARX model. Impulse responses can be used to help explore how a shock to one economic variable affects other variables in the system over time.
Improving forecasting accuracy based on inflation variables can help policymakers in making decisions. If central banks have more accurate inflation forecasts, they can set interest rates with greater confidence to maintain price stability. This reduces the risk of over-tightening or under-tightening policies, which can negatively impact economic growth. In future research, the TSpVARX model with the addition of subset and dummy variables can be applied to accommodate the influence of other events on inflation and money supply, such as crises, natural disasters, pandemics, tax increases, and electricity tariff increases.

5. Conclusions

The addition of the 12th subset and dummy variable can improve the forecasting performance of inflation and money outflow of Semarang, Solo, and Yogyakarta. We prove this based on the lower RMSE obtained from the TSpVARX model with the addition of subset and dummy variables compared to the regular TSpVARX model. The best model for forecasting inflation and money outflow of Semarang, Solo, and Yogyakarta in this study is the three-regime TSpVARX model with the addition of the 12th lag of endogenous variables as subset variables and a fuel price increase and decrease as dummy variables. The addition of the 12thsubset variables can accommodate the movement pattern of inflation and money outflow that occurs due to the events of Eid al-Fitr, Christmas, and New Year. Meanwhile, the addition of dummy variables can accommodate the movement of inflation and money outflow that occurs due to the increase and decrease in fuel prices. By accommodating these events in the model, inflation and money outflow forecasting will be more accurate.
By using the TSpVARX model with the addition of subset and dummy variables, the government can take the right policy in controlling inflation during the Eid, Christmas, and New Year holidays. For example, if the inflation forecasting results are high in the event of Eid in the future, then the government can use a policy by increasing interest rates in that period. In addition, by using the TSpVARX model with the addition of subset and dummy variables, the government can also carefully consider the timing and magnitude of future fuel price increases. The TSpVARX model can also be applied not only to the case of inflation and money supply. For example, we can use the model to create an economic growth forecasting model by accommodating spatial aspects and catastrophic events, such as the COVID-19 pandemic.
At the stage of selecting the exogenous variable lag order (q) using the normalized cross-correlation weight, the AIC can only be calculated up to an order q of 4. This is due to the singularity problem in estimating the SpVARX model coefficients. Therefore, future research is recommended to develop the TSpVARX model with the Least Absolute Shrinkage and Selection Operator (LASSO) that can overcome the singularity problem. In addition, the TSpVARX model with the addition of the 12th subset and dummy variables still has limitations in interpretation. The TSpVARX model may result in different signs of the coefficient estimation on each endogenous lag variable. Thus, it is difficult to obtain a clear conclusion about the relationship between predetermined variables and endogenous variables. Future research is recommended to develop impulse response calculations derived from the model.

Author Contributions

Conceptualization, S.S. and G.P.D.S.; methodology, G.P.D.S.; software, G.P.D.S.; validation, S.S., D.D.P. and M.S.A.; formal analysis, G.P.D.S. and A.A.K.; investigation, G.P.D.S.; resources, S.S.; data curation, G.P.D.S.; writing—original draft preparation, S.S. and G.P.D.S.; writing—review and editing, D.D.P., M.S.A. and A.A.K.; visualization, G.P.D.S.; supervision, D.D.P., M.S.A. and A.A.K.; project administration, S.S.; funding acquisition, S.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by ITS fund partnership research grant 2024.

Informed Consent Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. This data can be found here: www.bps.go.id (accessed on 1 October 2024).

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

The value of the uniform spatial weight.
Inflation of SemarangInflation of SoloInflation of YogyakartaMoney Outflow of SemarangMoney Outflow of SoloMoney Outflow of Yogyakarta
Inflation of Semarang00.50.500.50.5
Inflation of Solo0.500.50.500.5
Inflation of Yogyakarta0.50.500.50.50
Money Outflow of Semarang00.50.500.50.5
Money Outflow of Solo0.500.50.500.5
Money Outflow of Yogyakarta0.50.500.50.50
The value of the normalized cross-correlation weight.
Inflation of SemarangInflation of SoloInflation of YogyakartaMoney Outflow of SemarangMoney Outflow of SoloMoney Outflow of Yogyakarta
Inflation of Semarang00.5022580.4977420−0.62789−0.37211
Inflation of Solo0.41683300.583167−0.2541900.745807
Inflation of Yogyakarta0.4791020.5208980−0.60775−0.392250
Money Outflow of Semarang0−0.3571−0.642900.5459370.454063
Money Outflow of Solo−0.46710−0.53290.51589900.484101
Money Outflow of Yogyakarta−0.56333−0.4366700.4636120.5363880

References

  1. Adelowokan, Adedayo Oluwaseyi, Bolaji Adesola Adesoye, and Titilope Maria Ogunmuyiwa. 2019. Impact of Open Market Operations and Money Supply on Inflation in Nigeria. Acta Universitatis Danubius. Œconomica 15: 230–44. [Google Scholar]
  2. Beenstock, Michael, and Daniel Felsenstein. 2007. Spatial vector autoregressions. Spatial Economic Analysis 2: 167–96. [Google Scholar] [CrossRef]
  3. Bello, Muhammad Zayyanu, and Mubarak Abdullahi Saulawa. 2013. Reationship between Inflation, Money Supply, Interest Rate and Income Growth (Rgdp) in Nigeria 1980–2010. An Empirical Investigation. Journal of Economics and Sustainable Development 4: 7–13. [Google Scholar]
  4. Bharadiya, Jasmin Praful. 2023. Exploring the Use of Recurrent Neural Networks for Time Series Forecasting. International Journal of Innovative Science and Research Technology 8: 2023–27. [Google Scholar] [CrossRef]
  5. Çitçi, Sadettin Haluk, and Hüseyin Kaya. 2023. Exchange rate uncertainty and the connectedness of inflation. Borsa Istanbul Review 23: 723–35. [Google Scholar] [CrossRef]
  6. Di Giacinto, Valter. 2010. On vector autoregressive modeling in space and time. In Temi di Discussione. no. 746. L’Aquila: Bank of Italy, Regional Economic Research Unit, L’Aquila Branch. Available online: http://onlinelibrary.wiley.com/doi/10.1111/j.1538-4616.2010.00331.x/full (accessed on 1 May 2023).
  7. Fadlurrohman, Alwan. 2020. Integration of GSTAR-X and Uniform Location Weights Methods for Forecasting Inflation Survey of Living Costs in Central Java. Journal of Intelligent Computing and Health Informatics 1: 23–29. [Google Scholar] [CrossRef]
  8. Gök, Burçin Çalışkan, and Ümit Bulut. 2021. The Interest Rate Pass-Through Process in Turkey: Empirical Evidence from Linear and Nonlinear Estimation Techniques. Politics, Economics and Administrative Sciences Journal of Kirsehir Ahi Evran University 5: 114–26. [Google Scholar]
  9. Lestari, Dian Widya Lestari, and Sekti Kartika Dini. 2024. Forecasting the Price of Shallots and Red Chilies Using the Autoregressive Integrated Moving Average with Exogenous Variable (ARIMAX) Model. EKSAKTA: Journal of Sciences and Data Analysis 5: 42–49. [Google Scholar]
  10. Lütkepohl, Helmut. 2005. New Introduction to Multiple Time Series Analysis. New York: Springer. [Google Scholar] [CrossRef]
  11. Shoko, Claris, and Caston Sigauke. 2023. American Journal of Infection Control Short-term forecasting of COVID-19 using support vector regression: An application using Zimbabwean data. American Journal of Infection Control 51: 1095–107. [Google Scholar] [CrossRef]
  12. Sohibien, Gama Putra Danu. 2017. Perbandingan Model STAR dan GSTAR untuk Peramalan Inflasi Dumai, Pekanbaru, dan Batam. Statistika 5: 14–26. [Google Scholar]
  13. Sohibien, Gama Putra Danu, Setiawan Setiawan, and Dedy Dwi Prastyo. 2024a. Spatial Vector Autoregressive with Metric Exogenous Variable (SpVARX) for Inflation and Outflow Forecasting. Procedia Computer Science 234: 140–47. [Google Scholar] [CrossRef]
  14. Sohibien, Gama Putra Danu, Setiawan Setiawan, and Dedy Dwi Prastyo. 2024b. Data forecasting performance evaluation of threshold spatial vector autoregressive with exogenous variables. International Journal of Data and Network Science 8: 523–36. [Google Scholar] [CrossRef]
  15. Stock, James H., and Mark W. Watson. 2020. Introduction to Econometrics, 4th ed. London: Pearson Education. [Google Scholar]
  16. Sumarminingsih, E., Setiawan, A. Suharsono, and B. N. Ruchjana. 2021. Comparison of Spatial Weights in Modeling Inflation and Money Supply Using the Spatial Vector Autoregressive Model with Calendar Variations. IOP Conference Series: Materials Science and Engineering 1115: 012088. [Google Scholar] [CrossRef]
  17. Tsagkanos, Athanasios, Anastasios Evgenidis, and Konstantina Vartholomatou. 2018. Financial and monetary stability across Euro-zone and BRICS: An exogenous threshold VAR approach. Research in International Business and Finance 44: 386–93. [Google Scholar] [CrossRef]
  18. Tsay, Ruey S. 2010. Analysis of financial time series. In Analysis of Financial Time Series, 3rd ed. Hoboken: Wiley. [Google Scholar] [CrossRef]
  19. Tsay, Ruey S. 2014. Multivariate Time Series Analysis. Chicago: Wiley. [Google Scholar]
  20. Wei, William W. S. 2006. Time Series Analysis Univariate and Multivariate Method. Boston: Addison-Wesley. [Google Scholar]
Figure 1. The flow chart of the coefficient estimation of TSpVARX.
Figure 1. The flow chart of the coefficient estimation of TSpVARX.
Economies 12 00352 g001
Figure 2. Time series plot of inflation of Semarang, Solo, and Yogyakarta Cities. (a) Semarang, (b) Solo, and (c) Yogyakarta.
Figure 2. Time series plot of inflation of Semarang, Solo, and Yogyakarta Cities. (a) Semarang, (b) Solo, and (c) Yogyakarta.
Economies 12 00352 g002
Figure 3. Time series plot of money outflow in Semarang, Solo, and Yogyakarta. (a) Semarang, (b) Solo, and (c) Yogyakarta.
Figure 3. Time series plot of money outflow in Semarang, Solo, and Yogyakarta. (a) Semarang, (b) Solo, and (c) Yogyakarta.
Economies 12 00352 g003
Figure 4. AIC values of SpVAR, SpVARX, and TSpVARX models of two, three, and four regimes with uniform weights. Notes: VT is the threshold variable.
Figure 4. AIC values of SpVAR, SpVARX, and TSpVARX models of two, three, and four regimes with uniform weights. Notes: VT is the threshold variable.
Economies 12 00352 g004
Figure 5. AIC values of SpVAR, SpVARX, and TSpVARX models of two, three, and four regimes with normalized cross-correlation weights. Notes: VT is the threshold variable.
Figure 5. AIC values of SpVAR, SpVARX, and TSpVARX models of two, three, and four regimes with normalized cross-correlation weights. Notes: VT is the threshold variable.
Economies 12 00352 g005
Figure 6. Plot of actual and forecast data using TSpVARX three regimes for (a) Semarang inflation, (b) Solo inflation, and (c) Yogyakarta inflation.
Figure 6. Plot of actual and forecast data using TSpVARX three regimes for (a) Semarang inflation, (b) Solo inflation, and (c) Yogyakarta inflation.
Economies 12 00352 g006
Figure 7. Plot of actual and forecasting data in training and testing data periods using TSpVARX with three regimes for money outflow of (a) Semarang, (b) Solo, and (c) Yogyakarta.
Figure 7. Plot of actual and forecasting data in training and testing data periods using TSpVARX with three regimes for money outflow of (a) Semarang, (b) Solo, and (c) Yogyakarta.
Economies 12 00352 g007
Figure 8. Root Mean Square Error (RMSE) of three-regime TSpVARX and three-regime TSpVARX models with the addition of the 12th subset and the dummy variables of (a) inflation testing data, (b) money outflow training data, (c) inflation testing data, and (d) money outflow testing data.
Figure 8. Root Mean Square Error (RMSE) of three-regime TSpVARX and three-regime TSpVARX models with the addition of the 12th subset and the dummy variables of (a) inflation testing data, (b) money outflow training data, (c) inflation testing data, and (d) money outflow testing data.
Economies 12 00352 g008
Figure 9. Plot of actual and forecasting data for (a) Semarang inflation, (b) Solo inflation, and (c) Yogyakarta inflation.
Figure 9. Plot of actual and forecasting data for (a) Semarang inflation, (b) Solo inflation, and (c) Yogyakarta inflation.
Economies 12 00352 g009
Figure 10. Plot of actual and forecasting data for (a) money outflow of Semarang, (b) money outflow of Solo, and (c) money outflow of Yogyakarta.
Figure 10. Plot of actual and forecasting data for (a) money outflow of Semarang, (b) money outflow of Solo, and (c) money outflow of Yogyakarta.
Economies 12 00352 g010
Table 1. Stationarity test results.
Table 1. Stationarity test results.
VariablesPhilips Perron TestAugmented Dickey-Fuller (ADF)
p-ValueConclusionp-ValueConclusion
Inflation of Semarang0.000Stationary0.000Stationary
Inflation of Solo 0.000Stationary0.000Stationary
Inflation of Yogyakarta 0.000Stationary0.000Stationary
Log Money Outflow of Semarang 0.000Stationary0.007Stationary
Log Money Outflow of Solo 0.000Stationary0.002Stationary
Log Money Outflow of Yogyakarta 0.000Stationary0.000Stationary
Table 2. The significance test of cross-correlation between the lag of the inflation variable and all endogenous variables.
Table 2. The significance test of cross-correlation between the lag of the inflation variable and all endogenous variables.
Endogenous VariablesInflation of SemarangInflation of SoloInflation of Yogyakarta
Cross-CorrelationPVCross-CorrelationPVCross-CorrelationPV
Inflation of Semarang0.2900.000 **0.3480.000 **0.3450.000 **
Inflation of Solo0.1800.009 **0.2820.000 **0.2510.000 **
Inflation of Yogyakarta 0.2950.000 **0.3200.000 **0.3720.000 **
Log Money Outflow of Semarang −0.2350.000 **−0.1510.030 **−0.2710.000 **
Log Money Outflow of Solo −0.2060.003 **−0.1200.085 *−0.2350.000 **
Log Money Outflow of Yogyakarta −0.1710.014 **−0.1320.057 *−0.2150.002 **
Notes: (*) significant at a 10-percent significance level. (**) significant at a 5-percent significance level.
Table 3. The significance test of cross-correlation between the lag of log money outflow and all endogenous variables.
Table 3. The significance test of cross-correlation between the lag of log money outflow and all endogenous variables.
Endogenous VariableLog Outflow of SemarangLog Outflow of SoloLog Outflow of Yogyakarta
Cross-CorrelationPVCross-CorrelationPVCross-CorrelationPV
Inflation of Semarang−0.136 0.050 **−0.1090.118−0.0640.355
Inflation of Solo−0.0110.8770.0220.7540.0320.651
Inflation of Yogyakarta −0.1110.115−0.0710.310−0.0270.702
Log outflow of Semarang 0.5120.000 **0.4910.000 **0.4080.000 **
Log outflow of Solo 0.5000.000 **0.5680.000 **0.4700.000 **
Log outflow of Yogyakarta 0.3890.000 **0.4500.000 **0.4140.000 **
Notes: (**) significant at a 5-percent significance level.
Table 4. Akaike Information Criterion (AIC) values based on SpVAR(1, p) model (for p = 1, 2, …, 4) and spatial weights.
Table 4. Akaike Information Criterion (AIC) values based on SpVAR(1, p) model (for p = 1, 2, …, 4) and spatial weights.
SpVAR ModelAIC with Uniform WeightingAIC with Cross-Correlation Normalization Weighting
Without ConstantSpVAR(1, 1)−1487.846−1486.08
SpVAR(1, 2)−1494.386−1497.785
SpVAR(1, 3)−1422.474−1425.865
SpVAR(1, 4)−1308.21−1310.738
With ConstantSpVAR(1, 1)−1586.181−1587.617
SpVAR(1, 2)−1546.97−1553.562
SpVAR(1, 3)−1453.157−1457.315
SpVAR(1, 4)−1331.915−1335.972
Table 5. Akaike Information Criterion (AIC) based on SpVAR (1, 1, q) model (for q = 1, 2, …, 4) and spatial weight.
Table 5. Akaike Information Criterion (AIC) based on SpVAR (1, 1, q) model (for q = 1, 2, …, 4) and spatial weight.
SpVARX ModelAIC with Uniform WeightAIC with Normalized Cross-Correlation Weight
With ConstantSpVARX(1, 1, 1)−1584.989−1586.072
SpVARX(1, 1, 2)−1567.85−1569.152
SpVARX(1, 1, 3)−1545.433−1546.449
SpVARX(1, 1, 4)−1520.337-
Table 6. Linearity test results using reset test between endogenous variables and all predetermined variables.
Table 6. Linearity test results using reset test between endogenous variables and all predetermined variables.
Endogenous Variablep-Value
Inflation of Semarang0.104
Inflation of Solo 0.054 *
Inflation of Yogyakarta 0.004 **
Ln outflow of Semarang 0.155
Ln outflow of Solo 0.084 *
Ln outflow of Yogyakarta 0.124
Notes: (*) significant at a 10-percent significance level. (**) significant at a 5-percent significance level.
Table 7. Root Mean Square Error (RMSE) of SpVARX and TSpVARX.
Table 7. Root Mean Square Error (RMSE) of SpVARX and TSpVARX.
DataWeightsModel Inflation   of   Semarang   Y 1 , t 1 Inflation   of   Solo   Y 1 , t 2 Inflation   of   Yogyakarta   Y 1 , t 3 Money   Outflow   of   Semarang   Y 2 , t 1 Money   Outflow   of   Solo   Y 2 , t 2 Mony   Outflow   of   Yogyakarta   Y 2 , t 3
TestingUniformSpVAR1.9490.3660.3323059.761164.921229.44
SpVARX0.3910.3660.32450.76940.89990.31
TSpVARX with 2 Regimes0.460.4050.3192661.00932.80952.01
TSpVARX with 3 Regimes0.3660.3390.2992130.05827.40866.93
TSpVARX with 4 Regimes0.4020.3720.3012577.12958.131021.66
Cross-Correlation NormalizationSpVAR0.3990.3610.2922728.0321046.4631098.674
SpVARX0.3890.3590.2972457.53943.28991.76
TSpVARX 2 with 2 Regimes0.4290.3940.3032661.60929.26945.37
TSpVARX 3 with 3 Regimes0.5420.470.4862997.961028.871175.92
TSpVARX 4 with 4 Regimes0.4520.5280.3832604.83963892.41
TrainingUniformSpVAR0.4870.5520.4211496.206705.238820.559
SpVARX0.5520.4820.4181442.384687.528806.829
TSpVARX with 2 Regimes0.4670.5470.4061412.614677.882797.165
TSpVARX with 3 Regimes0.4450.5350.3981426.346698.190795.610
TSpVARX with 4 Regimes0.4770.5370.3981426.458695.333795.303
Cross-Correlation NormalizationSpVAR0.4880.5530.4211492.539704.125818.975
SpVARX0.4880.5530.4181441.095687.130806.098
TSpVARX with 2 Regimes0.4680.5480.4081412.025677.884796.828
TSpVARX with 3 Regimes0.5420.4700.4862997.9641028.8731175.918
TSpVARX with 4 Regimes0.4580.5400.3901405.814675.928790.389
Table 8. Forecasting of inflation (in percent) and money outflow (in billion rupiahs) of Semarang, Solo, and Yogyakarta using TSpVARX three regimes.
Table 8. Forecasting of inflation (in percent) and money outflow (in billion rupiahs) of Semarang, Solo, and Yogyakarta using TSpVARX three regimes.
YearsMonthsInflation of Semarang Inflation of SoloInflation of YogyakartaMoney Outflow of Semarang Money Outflow of SoloMoney Outflow of Yogyakarta
2023Jun0.270.260.321170.09412.69673.65
2023Jul0.230.230.251303.44527.27784.50
2023Ags0.290.280.321384.05613.21910.39
2023Sep0.230.230.251523.43698.45927.87
2023Oct0.320.310.351523.95733.441004.58
2023Nov0.280.250.321688.13866.911137.90
2023Dec0.360.340.391431.25659.18992.05
2024Jan0.310.290.341311.64551.14917.04
2024Feb0.210.210.241368.85569.88861.08
2024Mar0.360.350.391342.39640.51946.17
2024Apr0.360.330.401333.95619.51985.76
2024Mei0.310.290.331519.46855.061050.96
2024Jun0.210.210.241401.90629.53864.87
2024Jul0.170.160.191476.63638.73844.42
2024Ags0.230.230.261313.11533.11777.51
2024Sep0.240.250.281025.16343.08628.31
2024Oct0.290.300.33904.17290.27608.09
2024Nov0.300.310.33805.45241.46565.92
2024Dec0.290.300.33766.44221.82546.40
Table 9. Root Mean Square Error (RMSE) using testing and training data based on three-regime TSpVARX and three-regime TSpVARX models with the addition of the 12th subset and the dummy variables.
Table 9. Root Mean Square Error (RMSE) using testing and training data based on three-regime TSpVARX and three-regime TSpVARX models with the addition of the 12th subset and the dummy variables.
DataModel Inflation   of   Semarang   Y 1 , t 1 Inflation   of   Solo   Y 1 , t 2 Inflation   of   Yogyakarta   Y 1 , t 3 Money   Outflow   of   Semarang   Y 2 , t 1 Money   Outflow   of   Solo   Y 2 , t 2 Money   Outflow   of   Yogyakarta   Y 2 , t 3
TestingTSpVARX 3 Rezim0.3660.3390.2992130.05827.40866.93
TSpVARX 3 Rezim dengan Subset 12 dan Dummy Pt dan St0.3400.3180.3191756.249687.680769.774
TrainingTSpVARX 3 Rezim0.4450.5350.3981426.346698.190795.610
TSpVARX 3 Rezim dengan Subset 12 dan Dummy Pt dan St0.3350.4190.3151204.770634.635686.866
Table 10. Forecasting result of inflation (in percent) and money outflow (in billion Rupiah) of Semarang, Solo, and Yogyakarta using TSpVARX with the addition of the 12th subset and the dummy variables.
Table 10. Forecasting result of inflation (in percent) and money outflow (in billion Rupiah) of Semarang, Solo, and Yogyakarta using TSpVARX with the addition of the 12th subset and the dummy variables.
YearsMonthsInflation of SemarangInflation of SoloInflation of YogyakartaMoney Outflow of SemarangMoney Outflow of SoloMoney Outflow of Yogyakarta
2023Jun0.030.140.161496.36392.09319.76
2023Jul0.300.240.271875.41622.51770.40
2023Ags0.210.200.231433.36634.06832.20
2023Sep0.340.390.372069.90897.37982.46
2023Oct0.270.230.301735.58809.57972.46
2023Nov0.270.210.292359.801007.741253.77
2023Dec0.420.370.422293.82797.981410.76
2024Jan0.320.280.311217.20469.92785.45
2024Feb0.240.230.221538.97512.83835.56
2024Mar0.380.330.421976.75763.401207.94
2024Apr0.400.340.352633.24918.131669.01
2024Mei0.290.230.331838.78898.66899.12
2024Jun0.240.170.191511.27568.49618.91
2024Jul0.210.160.181686.85615.86752.38
2024Ags0.260.190.191391.16522.05794.18
2024Sep0.370.310.271357.30400.60786.30
2024Oct0.370.310.331234.65370.66819.22
2024Nov0.430.380.351344.91353.58888.40
2024Dec0.390.340.351338.65334.36954.85
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Setiawan, S.; Sohibien, G.P.D.; Prastyo, D.D.; Akbar, M.S.; Kamil, A.A. Addition of Subset and Dummy Variables in the Threshold Spatial Vector Autoregressive with Exogenous Variables Model to Forecast Inflation and Money Outflow. Economies 2024, 12, 352. https://doi.org/10.3390/economies12120352

AMA Style

Setiawan S, Sohibien GPD, Prastyo DD, Akbar MS, Kamil AA. Addition of Subset and Dummy Variables in the Threshold Spatial Vector Autoregressive with Exogenous Variables Model to Forecast Inflation and Money Outflow. Economies. 2024; 12(12):352. https://doi.org/10.3390/economies12120352

Chicago/Turabian Style

Setiawan, Setiawan, Gama Putra Danu Sohibien, Dedy Dwi Prastyo, Muhammad Sjahid Akbar, and Anton Abdulbasah Kamil. 2024. "Addition of Subset and Dummy Variables in the Threshold Spatial Vector Autoregressive with Exogenous Variables Model to Forecast Inflation and Money Outflow" Economies 12, no. 12: 352. https://doi.org/10.3390/economies12120352

APA Style

Setiawan, S., Sohibien, G. P. D., Prastyo, D. D., Akbar, M. S., & Kamil, A. A. (2024). Addition of Subset and Dummy Variables in the Threshold Spatial Vector Autoregressive with Exogenous Variables Model to Forecast Inflation and Money Outflow. Economies, 12(12), 352. https://doi.org/10.3390/economies12120352

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop