1 Introduction

Oil price has acquired increasing attention from both academicians and politicians after the dramatic rise in oil price in 1973 (Robert and Tatom 1977; Santini 1986; Mork 1989; Dotsey and Reid 1992; Davis et al. 1996; Hamilton 1996; Cunado and Perez de Gracia 2003; Cologni and Manera 2005; Kilian and Vigfusson 2009; Du et al. 2011; Reboredo 2011; Kilian and Murphy 2013). The reason is that understanding the inflationary effects caused by an increase of oil price can assist politicians and central banks to implement policies to get inflation under control.

Oil is one of the most important sources of energy, and the impacts of oil price fluctuations are risky in terms of the economies of countries. Fluctuation in oil price affects both the oil-importing and the oil-exporting countries. Especially in the non-oil-producing countries, oil price fluctuation can have a great impact on economic variables such as consumer prices and core inflation. Moreover, it is generally accepted that instant and huge changes in oil price can cause a rise in consumer prices and core inflation, which will result in economic recession in oil-importing countries.

The impacts of oil price increases on high inflation are basically reflected in three ways: the first impact appears because oil constitutes a proportion of household consumption. This proportion comprises processed products such as gasoline used for transportation and fuel used for heating, which fall into the household consumption basket within the consumer price index. The second impact is reflected in the form of consumer prices through producer prices. Firms and factories pass on the increase in energy prices to the prices of final products. In turn, this creates an impact on the consumer price index, which is an indirect effect. The third impact is that there could be an expectation of higher inflation and higher wages. In order to compensate for the decrease in real income, a negotiation process is conducted for wages. Production costs increase because of the rising of oil prices, which is called as a second round impact.

Based on the above factors, the Central Bank of the Republic of Turkey confirmed that oil price uncertainty is a risk factor with regard to inflation for Turkey, which carries out an inflation targeting regime (CBRT Monetary Policy Report 2012). Furthermore, it has been indicated that the emergence of oil supply problems could lead to an increase in energy prices; consequently, it could exacerbate the expectation of inflation, and eventually necessary steps would need to be taken to prevent it. Therefore, this paper discusses a topic that is on the agenda, and aims to determine whether shocks in oil and gasoline prices constitute a risk to consumer price inflation and core inflation.

Various researchers have investigated the relationship between oil price and inflation in Turkey. But only a few studies have investigated whether the relationship is nonlinear. Oil price and inflation series may exhibit nonlinear behavior due to factors such as policy changes, energy crises, etc. Thus, if oil price and inflation data exhibit structural regime shifts, then a model assuming constant parameters, mean, and variance is likely to yield misleading results. Therefore, modeling the relationship between oil price and inflation within a nonlinear framework is more suitable.

This paper investigates the effect of a nonlinear relationship between crude oil import price and domestic gasoline price on consumer price inflation and core inflation, and differs from the existing literature using Markov-switching vector autoregressive (MS-VAR) models. The paper proceeds as follows: Section 2 presents a review of previous studies on the empirical evidence of oil price changes and their effects on inflation. Section 3 deals with data used in the analysis, methodological issues, and the empirical analysis. Section 4 concludes with a summary and policy implications.

2 Previous studies

Several researchers have investigated the relationship between oil prices and inflation using different econometric approaches, countries, and sample periods. The relevant literature includes the following studies: Kahn and Hampton (1990), Huntington (1998), LeBlanc and Chinn (2004), Cunado and Perez de Gracia (2005), Ewing and Thompson (2007), Farzanegan and Markwardt (2009), De Gregorio et al. (2007), Tang et al. (2010), and Álvarez et al. (2011). These studies reveal that inflation is affected by oil price. Kahn and Hampton (1990) investigate whether increases in oil price affect the U.S. economy and find that in the short run, higher oil prices can increase inflation and lower real GNP. Huntington (1998) examines the linkages between oil price and inflation from a different perspective and finds that consumer prices appear to respond asymmetrically to energy price increase and decrease in the U.S. LeBlanc and Chinn (2004) show that oil price increases are likely to have only a modest effect on inflation in the U.S., Japan, and Europe. By taking a nonlinear relationship into account, Cunado and Perez de Gracia (2005) report that oil prices have permanent effects on inflation and asymmetric effects on the GNP in European countries. Medina and Soto (2007) use a dynamic stochastic general equilibrium and show that a 13 % increase in the real price of oil leads to an increase in inflation of about 0.4 % in the Chilean economy. Ewing and Thompson (2007) investigate the cyclical co-movements of crude oil price with consumer prices using Hodrick–Prescott methodology. Their findings support that the price of oil is the leading factor in consumer prices in the U.S. Farzanegan and Markwardt (2009) analyze the dynamic relationship between oil price shocks and major macroeconomic variables in Iran by applying a VAR approach. They identify that negative oil price shocks significantly increase inflation. De Gregorio et al. (2007) estimate a Phillips curve equation with lags of inflation, the output gap, and the percentage change in the price of oil for 24 industrial economies and 12 emerging economies. Their study shows the effects of oil shocks on the general level of prices. Van den Noord and André (2007) conclude that the spillover effects of energy prices into core inflation are small in comparison with the effects of the 1970s. Tang et al. (2010) provide statistical support for the adverse economic impacts of oil price shocks for developed economies. Their results show that an oil price increase negatively affects output and investment, but positively affects inflation rate and interest rate. Álvarez et al. (2011) examine the impact of oil price changes on Spanish and euro area consumer price inflation using linear and nonlinear models. They find that crude oil price fluctuations are major drivers of inflation variability.

However, at least some studies in the literature show evidence contradicting the results showing that oil price and inflation are linked. Hooker (2002) examines the effects of oil price shocks on inflation in Phillips curve models that allow structural breaks, and he reports that oil price shocks have caused an increase in inflation in the U.S. before 1981. However, in recent periods this impact was negligible. Also, Olomola and Adejumo (2006) evaluate the effects of oil price changes on output, inflation, real exchange rate, and money supply in Nigeria using VAR models. They find that oil price shocks do not have any substantial effect on output and inflation.

When limited numbers of articles that elaborate the impact of oil price changes on inflation in Turkey are examined, it is seen that nonlinearity has been neglected. Kibritcioglu and Kibritcioglu (1999) analyze the effect of oil price shocks on the general price level. They suggest that a 20 % increase in the price of crude oil has an insignificant effect on the general price level. Berument and Tasci (2002) use an input–output table and conclude that general price level increases for a given increase in the price of oil depend on the behavior of the wages, profits, interest, and rents. Aktas et al. (2010) carry out a VAR model and observe that a positive relationship between oil price and inflation exists. They assert that a response of macroeconomic variables against oil price shocks becomes stationary only after 1 year. Aydin and Acar (2011) analyze the economic effects of oil price shocks by developing a dynamic multi-sectoral general equilibrium model. Their results show that the price of oil has significant effects on consumer price inflation. Nazlioglu and Soytas (2011) examine the interdependence between world oil prices and individual agricultural commodity prices using the Toda–Yamamoto causality approach and generalized impulse-response analysis. Their results reveal the neutrality of agricultural commodity markets to the effects of oil price changes. Oksuzler and Ipek (2011) examine whether negative oil supply shocks can increase inflation. According to the results of Granger causality analysis, they find that there is no causality between oil price and inflation, but impulse-response functions showed that a positive oil price shock increases inflation. The empirical evidence obtained from a bound testing approach in the study of Peker and Mercan (2011) shows that the inflationary effect of oil products price increases is positive and statistically significant in the long term. Celik and Akgul (2011) investigate whether there is a linkage between the consumer price index and the fuel oil price index using the vector error correction model. Their results reveal that a 1 % increase in fuel oil prices can cause the consumer price index to rise by 1.26 %. Yaylali and Lebe (2012) specify the importance of crude oil prices in the general level of prices by employing Vector Autoregressive methodology. By identifying the source of change in inflation, their analysis results show that import crude oil prices are one of the important sources of inflation in Turkey. With a different approach, Catik and Onder (2011) investigate the oil price pass-through inflation for Turkey by considering nonlinearity. They find evidence for asymmetric oil pass-through in the high inflation regime by estimating Markov-switching (MS) models. In contrast to these studies, in this article, the effects of the relationship between crude oil import price and domestic gasoline prices on consumer price inflation and core inflation are examined separately using nonlinear models.

3 Data and econometric methodology

3.1 Data

The aim of this study is to empirically investigate the effects of sudden changes in the crude oil import price on inflation in Turkey. We use the first difference of logarithmic crude oil price (Brent-$/barrel) (OIL) and the first difference of logarithmic unleaded gasoline price ($/barrel) (DGAS) in the analyses. Also, inflation (INF) and core inflation (CINF) are calculated using the first difference of logarithmic consumer price index and logarithmic special comprehensive consumer price index, which excludes energy. Crude oil prices are taken from the Federal Reserve Bank of St. Louis Data Delivery page.Footnote 1 Historical domestic gasoline prices (TL/liter), which are available on the OPET company web page,Footnote 2 are added to the analysis with the values ($/barrel) obtained through the transformation. Consumer price indexes are taken from the Turkish Statistical Institute corporate web page.Footnote 3 We employ monthly data from October 2005 to December 2012. The choice of October 2005 as the starting period is based on the following: Between 2002 and 2006, implied inflation targeting was applied by the Central Bank of the Republic of Turkey; at the beginning of 2006 they adopted explicit inflation targeting, so analysis can be made starting from 2006. But to prevent any loss of data, the analysis period was initiated at October 2005.

3.2 Econometric methodology

Ever since the study by Hamilton (1989), Markov regime-switching models have been utilized by researchers for modeling many macroeconomic time series, which exhibit asymmetries and nonlinear behavior (Hansen 1992; Goodwin 1993; Gray 1996; Cologni and Manera 2009). Therefore, the use of the MS approach has become popular for determining asymmetries. Goldfeld and Quandt (1973) introduced the MS model, in which the latent state variable controls the regime shifts. Hamilton (1989) and Krolzig (1998) made important contributions by developing the MS-VAR model, which is able to characterize macroeconomic fluctuations in the presence of structural breaks or shifts. These approaches allow researchers to overcome the shortcomings of linear models in dealing with the asymmetry between expansions and contractions.

In these models, parameters of the VAR model depend on the regime variable \(\left( {S_{t} } \right)\), which makes the process regime dependent. The general idea behind this class of regime-switching models is that the parameters of a K-dimensional time series vector \(y_{t} = \left( {y_{1t} , \ldots ,y_{Kt} } \right)^\prime ,\;t = 1, \ldots ,T,\)

$$y_{t} = v + A{}_{1}y_{t - 1} + \cdots + A_{p} y_{t - p} + u_{t} ,$$
(1)

where \(u_{t} \sim {\text{IID}}\left( {0,\sum } \right)\) and \(y_{0} , \ldots ,y_{1 - p}\) are fixed. The general idea behind the MS-VAR models is that the parameters of the underlying data-generating process of the observed time series vector \(y_{t}\) depend on the unobservable regime variable \(s_{t}\), which represents the probability of being in a different state. The assumption of the MS model is that the unobservable realization of the regime \(s_{t} \in \left\{ {1, \ldots ,M} \right\}\) is governed by a discrete time, discrete state Markov stochastic process, which is defined by the transition probabilities,

$$p_{ij} = \Pr \left( {s_{t + 1} = j|s_{t} = i} \right),\sum\limits_{j = 1}^{M} {p_{ij} = 1\;\forall_{i} , \quad j \in \left\{ {1, \ldots ,M} \right\}.}$$
(2)

It is assumed that \(s_{t}\) follows an irreducible ergodic M state Markov process with the transition matrix.

$$P = \left[ {\begin{array}{*{20}c} {p_{11} } & {p_{12} } & \cdots & {p_{1M} } \\ {p_{21} } & {p_{22} } & \cdots & {p_{1M} } \\ \vdots & \vdots & \ddots & \vdots \\ {p_{11} } & {p_{12} } & \cdots & {p_{1M} } \\ \end{array} } \right],$$
(3)

where \(p_{iM} = 1 - p_{i1} - \cdots - p_{i,M - 1} \;{\text{for}}\;i = 1, \ldots ,M.\) We can write the MS-VAR model of order \(p\);

$$y_{t} = v\left( {s_{t} } \right)A_{1} \left( {s_{t} } \right)y_{t - 1} + \cdots + A_{p} \left( {s_{t} } \right)y_{t - p} + u_{t} ,$$
(4)

where \(u_{t} \sim {\text{NID}}\left( {0,\sum {\left( {s_{t} } \right)} } \right).\) The parameter shift functions and \(v\left( {s_{t} } \right),A_{1} \left( {s_{t} } \right), \ldots ,A_{p} \left( {s_{t} } \right),\) and \(\sum {\left( {s_{t} } \right)}\) describe the dependence of the parameters on the realized regime \(s_{t}\),

$$v\left( {s_{t} } \right) = \left\{ {\begin{array}{*{20}c} {v_{1} } & {{\text{if}}\;s_{t} = 1,} \\ \vdots & {} \\ {\upsilon_{M} } & {{\text{if}}\;s_{t} = M} \\ \end{array} } \right..$$
(5)

The MS-VAR model allows for a variety of specifications. Krolzig (1997) made a representation with the general MS models with regime-dependent parameters in order to establish a common notation for each model, such as MSM-VAR, MSH-VAR, and MSIH-VAR.

Recently, there have been some developments in impulse-response relations in nonlinear models. Koop et al. (1996) offer a general analysis of impulse responses in nonlinear models and introduce the concept of generalized impulse response, which can measure the responses of the system to shocks to the variables in \(h\) period as,

$${\text{IR}}_{\nabla u} \left( h \right) = E\left[ {y_{t + h} |\xi_{t} ,u_{t} + \nabla_{u} ;Y_{t - 1} } \right] - E\left[ {y_{t + h} |\xi_{t} ,u_{t} ;Y_{t - 1} } \right],$$
(6)

where \(\nabla_{u}\) is the shock at time t and the responses to shocks to the variables as in the case of the linear VAR process,

$${\text{IR}}_{uk} \left( h \right) = \frac{{\partial E\left[ {y_{t + h} |\xi_{t} ,u_{t} ;Y_{t - 1} } \right]}}{{\partial u_{kt} }}.$$
(7)

And the responses to shifts in regime are defined in the spirit of the generalized impulse-response concept:

$${\text{IR}}_{\nabla u} \left( h \right) = E\left[ {y_{t + h} |\xi_{t} + \nabla \xi ,u;Y_{t - 1} } \right] - E\left[ {y_{t + h} |\xi_{t} ,u_{t} ;Y_{t - 1} } \right],$$
(8)

where \(\nabla \xi\) is the shift in regime at time \(t\).

Estimating MS-VAR models that are based on Hamilton’s (1989) algorithm consists of two steps. In the first step, population parameters, including the joint probability density of unobserved states, are estimated, and in the second step probabilistic inferences about the unobserved states are made using a nonlinear filter and smoother. Filtered probabilities are inferences about \(s_{t}\)’s conditional on information up to time \(t\), and smoothed probabilities are inferences about \(s_{t}\) using all information available in the sample. However, this method becomes more disadvantageous as the number of parameters to be estimated increases. Accordingly, the expectation maximization algorithm, originally described by Dempster et al. (1977) is used. This technique starts with the initial estimates of the hidden data and iteratively produces a new joint distribution that increases the probability of observed data.

3.3 Empirical analysis

The analysis was initiated by calculating the certain statistics of the series used in the study, and the results are given in Table 1.

Table 1 Descriptive statistics of series

According to the Jarque–Bera test statistics in Table 1, INF and CINF series are normally distributed but OIL and DGAS series are not. Also the series are found to be stationary at the 5 % level of significance using Dickey and Fuller (1979) \(\tau\) -test statistics. However, it is known that DF-type unit root tests are not strong in case of a regime change in the series. Therefore, the MS-ADF test, which is a unit root test appropriate for MS models, is also applied (Hall et al. 1999) and it is confirmed that the series are stationary. In order to reveal the nonlinear structure in the series, the approach suggested by Tsay (1989) is used, and the linearity test results for different delay lengths are presented in Table 2.

Table 2 Results of linearity test

The probability values reported in Table 2 calculated for 10 delay show that linearity is rejected more strongly in the second delay for INF and OIL, in the third delay for DGAS, and in the fourth delay for CINF. Afterward, an LR test is made in order to determine the number of regimes of the models, which is the first stage of model selection. Subsequently, the linear VAR model is tested against the 2-regime MS-VAR model. And later the 2-regime MS-VAR model is tested against the 3-regime MS-VAR model.

According to the results shown in Table 3, it is determined that the 2-regime MS-VAR models are appropriate for the analyses. Using the Schwarz Information Criterion, the delay lengths are selected and it is decided that for INF-OIL, MSI(2)-VAR(8); for INF-DGAS, MSI(2)-VARX(2); for CINF-OIL, MSIAH(2)-VAR(5) and for CINF-DGAS, MSIA(2)-VARX(8) models are appropriate. The MSI(2)-VAR(8) model is estimated for INF-OIL and given in Table 4.

Table 3 LR test results
Table 4 MSI(2)-VAR(8) model for INF-OIL

Regime 1 represents low inflation; regime 2 represents high inflation periods in the model. As seen in Table 4, the effect of oil price change on inflation is significant and positive in time \(t - 2\) and \(t - 3\). Transition probabilities and regime durations are given in Table 5.

Table 5 Transition probabilities and regime durations for MSI(2)-VAR(8)

According to the regime probabilities shown in Table 5, it is seen that the probability of staying in the low inflation is 0.68 and staying in the high inflation regime is 0.67. Also, the first regime tends to last 3.08 months on average, while the second regime is less persistent with 3.00 months. The average period of 3 months reveals that the number of stages is high and the transitions are rapid. Also, it is seen that the low inflation and high inflation probabilities and transition probability from one regime to another are almost the same. Observation numbers of regime 1 and regime 2 and duration of remaining at one regime are approximately the same, as well. These results show that the stages of both regimes would be the same. The results obtained for INF-DGAS are reported in Table 6.

Table 6 MSI(2)-VARX(2) model for INF-DGAS

It is seen in Table 6, the effect of gasoline price change on inflation is significant and positive in time \(t - 1\) and \(t - 2\). Transition probabilities and regime durations for MSI(2)-VARX(2) are given in Table 7.

Table 7 Transition probabilities, regime durations for MSI(2)-VARX(2)

According to the regime probabilities, it is seen that the probability of staying in the low inflation is 0.40 and staying in the high inflation regime is 0.64. Also durations show that the first regime tends to last 2.48 months on average, while the second regime is more persistent, lasting 3.78 months. Transition probabilities show that there is a high probability of transition from low inflation to high inflation. This finding reveals that a sudden increase in domestic gasoline oil prices has the effect of a crisis, and this should be taken into consideration in adjusting gasoline prices to achieve the inflation target. The model selected for CINF-OIL is a MSIAH(2)-VAR(5) model and the results are given in Table 8.

Table 8 MSIAH(2)-VAR (5) model for CINF-OIL

The coefficient in Table 8 reveals that the effects of oil price change on core inflation is significant and positive in time \(t - 1\) but negative in \(t - 3\). Transition probabilities and regime durations are given in Table 9.

Table 9 Transition probabilities, regime durations for MSIAH(2)-VAR (5)

The regime probabilities show that, staying in the low inflation is 0.47 and staying in the high inflation regime is 0.64. Therefore, there is a high probability of transition from low inflation to high inflation, and a sudden increase in oil prices has a crisis period effect on core inflation. Also first regime tends to last 2.11 months on average, while the second regime is more persistent, lasting 2.80 months. The results obtained for CINF-DGAS are reported in Table 10.

Table 10 MSIAH(2)-VARX (8) model for CINF-DGAS

According to Table 10, the effect of gasoline price change on core inflation is significant and positive in time \(t - 4\). This finding reveals that gasoline price shocks have a delayed effect on core inflation. Transition probabilities and regime durations are shown in Table 11.

Table 11 Transition probabilities, regime durations for MSIAH(2)-VARX (8)

MSIAH(2)-VARX (8) is selected and the transition probabilities suggest that the persistence of the high inflation regime is higher than that of the low inflation regime. Regime 1 is determined to last, on average, 2.37 months, and the average duration of the high inflation phase is 3.27 months. Also, it is found that the sudden increase in gasoline prices has a pass-through effect to core inflation.

Afterward, the filtered and smoothed probabilities are estimated and the graphics are given in Fig. 1.

Fig. 1
figure 1

Regime probabilities graphics

The regime graphics show that the number of phases is high, there are rapid transitions, and the time remaining in one regime is short. In addition, graphics indicate that all models stay at high inflation longer than at low inflation. Impulse-response analyses were made after regime transition probabilities were reviewed, and the graphics are given in Fig. 2.

Fig. 2
figure 2

Impulse-response graphics

When the impulse-response graphics in Fig. 2 are examined, it is seen that, in case of a shock in the price of oil, inflation shows a small and positive response in the second and eighth months, then turns back to its former equilibrium level and becomes stable after the eighth month. This shows that the inflation target level does not deviate because of the increase in crude oil prices. When there is a shock in gasoline prices, it is seen that inflation responds by increasing from the first to the fifth month, with the response disappearing from the sixth month onward. This reveals that increases in gasoline prices cause an inflationary response, and when there is deviation from monthly inflation targets, a significant part of this can be due to the increases in domestic gasoline prices. Core inflation shows response to a shock in crude oil prices with a small decrease in the first period, an increase in the second period, and a high increase between the fourth and seventh periods. After the eighth period, it can be said that the response ends. When there is a sudden increase in domestic gasoline prices, core inflation responds with an increase in the seventh and eleventh months and then loses the impact later on. These findings reveal that the response of core inflation would last for 1 year with shocks in domestic gasoline prices, and therefore there is a long-term pass-through effect.

In this context, the finding of the present study suggests that the effect of crude oil and domestic gasoline price changes on consumer prices and core inflation differs according to regimes, and this indicates that increases in crude oil prices have no inflationary effects, while increases in gasoline prices do. This result is consistent with the finding of Kibritcioglu and Kibritcioglu (1999), where the authors conclude that a 20 % increase in crude oil price has an insignificant effect on general price levels, as well as the finding of Oksuzler and Ipek (2011), who find that there is no causality between oil prices and inflation. However, it is noteworthy to mention that in these studies neither the nonlinear relationship between the variables nor the effect of gasoline prices (which is the main source of inflation) was analyzed.

4 Conclusion

Inflation and the price of oil are seen by academicians and politicians as being connected. The reason for this opinion is that oil is a major factor in the economy. Especially in the non-oil-producing countries, oil price fluctuations can have a great impact on economic variables such as consumer prices and core inflation. Also, oil price and inflation series may exhibit nonlinear behavior due to factors such as policy changes and energy crises.

In this context, the effects of crude oil and domestic gasoline price changes on consumer price inflation and core inflation have been investigated with MS-VAR models in Turkey for the period October 2005–December 2012. Two regimes have been determined for all variables, and the existence of different regimes has revealed that the series show different behaviors in each regime. This result indicates that the political targets should be changed depending on the change of the inflation rate. Additionally, the findings of the study show that Turkish policy makers should not ignore the pass-through of oil and domestic gasoline prices to macroeconomic variables such as consumer price inflation and core inflation. Also, we find that, unlike the previous studies carried out for Turkey, the impact of sudden increases in gasoline prices on consumer inflation and core inflation is more significant than shocks in crude oil prices. The probabilities of being in low and high inflation regimes and transition from one to another are very close in the inflation/crude oil price relationship. In the inflation/domestic gasoline price relationship, the probability is higher for remaining in high inflation and for transition from low to high inflation. This indicates that increases in domestic gasoline prices affect the inflation rate and make a crisis impact.