Document Type : Original Article
Authors
^{1} Assistant Prof., Department of Finance, Faculty of Management, University of Tehran, Tehran, Iran. Iran Finance Association, Tehran, Iran.
^{2} Associate Prof., Department of Business Management, Faculty of Management, University of Tehran, Tehran, Iran.
^{3} MSc. of MBA, Faculty of Management, University of Tehran, Tehran, Iran.
Abstract
Keywords
Public finance is related to the role of government in the economy (Gruber, 2005). This field of study is mainly concerned with the adjustment of government revenues and expenditures in a manner to achieve desired outcomes and this is an important issue for both policymakers and citizens (Jain, 1974).
What are the sources of financing? What is the optimal source of financing? – Tax, domestic debt, external debt, or a combination of different sources – are just some of the questions regarding financing sovereign expenditures that are answered in different researches.
Tax is considered the most important source of revenue for governments but there are some challenges following the increase in taxes such as reductions in the output of the economy (Casalin, Dia and Hallett, 2020).
Debt provides governments with tax smoothing benefits as noted in (Barro, 1979, 1991, 2008) (Bohn, 1990) and allows them to raise revenues quickly in case of catastrophic events (Casalin, Dia and Hallett, 2020).
Another factor that should be considered is the income from natural resources in different countries such as Iran (Chiodo and Owyang, 2002; Emami and Adibpour, 2012; Mohaddes and Pesaran, 2012) which makes these countries much prone to income shocks.
In a historical view, sovereign debts' beginnings traced back to monarchies to finance their war efforts (Frederiksen, 1966). But over time, with the progress of societies and the emergence of new needs such as maintaining social security, sovereign borrowing has found new purposes (Eichengreen, 1998; Stasvage, 2011). Consolidation of smaller citystates led to the emergence of larger governments with more revenues. This increase in revenues along with restrictions on rulers’ power led to more government accountability (Eichengreen, 2019).
Generally, sovereign debt can be categorized as domestic and external. External debts are issued under legal jurisdictions of foreign governments, mostly denominated in foreign currencies and held by foreign citizens. On the contrary, domestic debt legal disputes are ruled by home sovereign legal jurisdictions, mostly denominated in home sovereign currency and mainly held by residents (Reinhart, Rogoff, 2011). Sovereign debts are considered as riskfree assets because it is supposed that governments can make their repayments by increasing taxes or inflating the economy (Oosterlinck, 2011).
There are substantial differences between private and public debts. In case of default and other relevant disputes with the borrower, private debt creditors can protect their interests by taking legal action against the borrower but in the case of public debt, there aren’t many options for creditors to protect their interests.
Public debts in developed and developing countries have soared to unprecedented levels since the World Wars. In 2010, the average public debt to GDP ratio of developed economies surpassed World War peaks (Reinhart and Rogoff, 2011).
This accumulation of debt has grown concerns about sovereigns’ capability to repay debts. Imprudent debt accumulation comes with several risks ranging from downgrading sovereign debt rating and decreasing the economic growth and leads to financial crises. We can mention the Russian debt crisis in 1998 and the Argentina debt crisis in 2001 as examples (Paddock, 2002).
Government failures in debt repayments result in other drastic consequences such as cut off from international capital markets (Obstfeld and Rogoff, 1996), extreme inflations in developing countries (Reinhart, Rogoff2010), shrinking the economic growth in both developing and developed countries which are more severe in developing countries (Reinhart and Rogoff, 2010; Kumar and Woo, 2010), the interest rate jumps ahead of sovereign debt crises (Chang and Velasco, 2001).
External debt as a considerable portion of public debt composition is studied extensively. Trade, inflation, and economic growth are exogenous or endogenous external debt determinants as noted in (Bittencourt, 2015; Awan, Anjum, and Rahim, 2014; Hilscher and Nosbusch, 2010). Having said that, the accurate analysis of external debt and its relation with macroeconomic variables is a controversial issue.
Few works have considered the theoretical complexity of the economic variables and their structures (Arthur, 1999; Namaki et al, 2011; Hosseiny et al, 2016; Shirazi et al, 2017; Raei, Namaki and Vahabi, 2019; Namaki et al, 2019; Pearce, 1994; Helbing and Kirman, 2013; Hosseiny et al, 2019; Bahrami et al, 2020; Varela et al, 2015). The gap between the applying complexity notions on the analysis of external debt leads us to use new methods.
As the economy is the result of interaction between a huge number of agents that simultaneously have interactions with each other and their environment (Schweitzer, Fagiolo, and Sornette, 2009; Lai et al, 2020) and these agents pursue many objectives on different scales and frequencies (Marco Gallegati et al, 2011), it is important to gain indepth insight on these frequency variations.
For years, it was common to analyze these variations in frequency employing Fourier analysis (Conraria, Azevedo and Soares, 2008). It is not possible to discover transitions and structural changes, and methods such as Fourier transform are suitable for time series with stable statistical properties (Conraria and Soares, 2013). Wavelet transform is one of the alternatives to Fourier transform that has been used extensively in engineering (Grinsted, Moore and Jevrejeva, 2004).
Wavelet analysis, as a suitable substitute for Fourier analysis, can provide more insights into complexity economic by considering relationships between variables in different frequencies and time scales (Conraria, Azevedo and Soares, 2008). Traditionally, Fourier analysis is employed in economics and finance to discover dynamic and timevarying relationships between variables (Gallegati and Semmler, 2014). Limitations of Fourier analysis such as failure in discovering structural changes and limitations on processing nonstationary time series which are quite common in finance and economics resulted in the increasing utilization of wavelet analysis in economics and finance as a substitute for Fourier analysis (Gallegati and Semmler, 2014).
Very few research studies have analyzed the relationship between macroeconomic variables in different frequencies especially considering external sovereign debt (Swastika, Dewandaru and Masih, 2013; Aloui et al, 2018); hence leading us to questions of this paper. In this paper, by applying the cross wavelet approach on macroeconomic variables from 1352 (1973) to 1398 (2019), we aim to analyze relations between sovereign external debt vs economic growth, oil revenues, and inflation in Iran and applying cross wavelet transform in different frequencies to gain better insights into relations between these variables in different timescales. By utilizing wavelet transform, we can overcome the limitations of Fourier transform and discover valuable knowledge about the relationship between these variables.
Our paper is organized as follows. In section 2 the methods are presented and, in section 3 we show the ﬁndings. Then, in section 4 we conclude.
Fourier analysis is used to analyze frequency properties of time series but as it was mentioned in the previous section and papers such as (Aguiar and Conraria, 2008; Gabor, 1946; Raihan, Wen and Zeng, 2005), Fourier transform faces several drawbacks when it comes to analyzing time series with unstable statistical properties which is the case for most of the economic series (Aguiar and Conraria, 2008). Many scholars have used wavelet transform for economic applications.
In (Cascio, 2015), USA debt sustainability was analyzed in different timescales utilizing wavelet transform to depict a longitudinal picture of different macroeconomic variables and behavior of different administrations in the USA towards sovereign debts.
Continuous wavelet transform is described as follows:

(1) 
Discrete wavelet transform is defined as follows:

(2) 
Where ∗ denotes complex conjugation. The parameter s and τ are scaling factor and location parameter. Scaling a wavelet means stretching for (s > 1) and compressing for (s < 1). The complexity of the wavelet function ψ (t) leads to the complexity of the wavelet transforms W_{x}. The transform can be bisected into the real part (R {W_{x}}) and imaginary part (I {W_{x}}), or amplitude, W_{x}. The phase of timeseries x (t) can get values from −π to π. To divide the phase and magnitude of a timeseries, the complex wavelets can be used.
To find local covariance between variables, the cross wavelet power spectrum W_{xy} (u,s) can be used, where: (Torrence and Compo, 1998)

(3) 
The intensity of covariance is found by:

(4) 
Lead lag relation between variables is given by:

(5) 
Different values indicate different leadlag relation between variables. When in a specified timefrequency is zero, time series move together. If or , series are positively correlated, and x leads y and y leads x, respectively. In the same manner, if or series are negatively correlated, and x leads y in the latter and y leads x, respectively (Cascio, 2015).
There are requirements for a wavelet function to be acceptable, that it should fulfill the following equation: (Daubechies, 1992)

(6) 
Our data in this paper consists of the period, 1352 (1973) – 1398 (2019), in which the largest consistent data of required macroeconomic variables were available. Macroeconomic variables include GDP growth as a proxy of economic growth, annual inflation rate, external debt, and oil revenues which were extracted from CBI, the central bank of Iran, and the World Bank.
After normalizing time series, cross wavelet transform is implemented with external debt as y – dependent variable  and each time one of the variables annual inflation, GDP growth, and oil revenues are taken as x – independent variable . To illustrate the results of the cross wavelet transform, we use a heat map chart so we can exhibit components of the cross wavelet transform output matrix.
Many functions fulfill equation (6) but the most used and studied functions are Morlet, Haar, Daubechies, Complex Gaussian, and Mexican Hat. As one of our requirements in the paper is to analyze leadlag relations between variables, a complex wavelet is favorable (Cascio, 2015) which we used a Complex Gaussian mother wavelet. The general form of Complex Gaussian wavelet is as follows in equation 7:

(7) 
Using higher orders of Complex Gaussian wavelet can improve the resolution of results but it has a high computational cost (Wang et al, 2011; Yang et al, 2011). In this paper, we used a fourthorder complex Gaussian mother wavelet because orders higher than fourth made no noticeable improvement. Figure 1 depicts a fourthorder complex Gaussian wavelet by real and imaginary parts.
Figure 1  Two parts of Complex Gaussian wavelet
In Figure 2, a cross wavelet transforms output chart for GDP growth and external debt from 1352 (1973) to 1398 (2019) is exhibited. Because of the small size of our dataset, results in larger scales are less reliable. So we focus on smaller scales in all of the analyses. From 1352 (1973) to 1360 (1981), we can see a negative correlation between GDP growth and external debt that means an increase in GDP growth results in decreasing the external debt. Over time, from 1360(1981) to 1364(1985) this correlation changes to positive relation with GDP growth leading to external debt. So we can infer a change in sovereign borrowing behavior.
After 1367 (1988), sovereign borrowing behavior reaches a relatively stable situation, and an increase (decrease) in GDP growth results in a buildup (decrease) of external debt until 1394 (2015). After 1394 (2015), one can observe external debt adversely affects GDP growth.
Figure 2 Cross wavelet transform output chart for GDP growth and external debt from 1352 (1973) to 1398 (2019)
In Figure 3, a cross wavelet transforms output chart for external debt and annual inflation from 1352 (1973) to 1398 (2019) is exhibited. From 1352 (1973) to 1372 (1993) – a positive correlation is observed and annual inflation leads to increasing the external debt. From 1372 (1993) to 1374 (1995) again one can observe a positive correlation but this time external debt affects the inflation rate. From 1374 (1995) to 1385 (2006) gradually twotime series begin to move together. From 1385 (2006) to 1398 (2019) annual inflation rate causes external debt changes. From 1352 (1973) to 1398 (2019) except period 1372 (1993) to 1374 (1995), there is a positive relation between external debt and annual inflation which leads the external debt. In an accurate analysis, one of the main causes of such a pattern is longlasting periods of high inflation which affects directly external debt. On the other side, from 1372 (1993) to 1374 (1995) unlike other periods, external debt leads the inflation. So one can observe a dramatic change in sovereign borrowing. The missing link to clarify causes of this change is disproportionate to sovereign borrowing which results in a sovereign debt default. So, just like other episodes of sovereign debt default or restructuring, governments are compelled to devalue national currency.
Figure 3 Cross wavelet transform output chart for external debt and annual inflation from 1352 (1973) to 1398 (2019)
In Figure 4, we can see that from 1352 (1972) until 1362 (1983), variables move together concurrently. Until 1375 (1996), the relation between oil revenue and external debt changes, and during this time external debt affects oil revenues. From 1375 (1996) to 1383 (2004), we cannot see a uniform pattern but gradually, variables’ correlation becomes positive and oil revenues lead the external debt. This behavior continues until 1398 (2019). An increase in oil prices and also in Iran oilproducing capacity can be considered as the main causes.
Figure 4 Cross wavelet transform output chart for external debt and oil revenues from 1352 (1973) to 1398 (2019)
In this paper, the behavior of Iran’s external debt variations concerning major macroeconomic variables has been analyzed by cross wavelet transform. The results show different behavior between external debt and macroeconomic variables. Although different dynamics are governing endogenously variables such as annual inflation rate and GDP growth and exogenous macroeconomic variables such as oil price, through careful analysis of cross wavelet transform heat maps, which are the representation of cross wavelet transform vectors, we can reach several results. There are different behaviors in the shortrun and longrun. It must be considered that the aforementioned endogenous variables are affected by environmental factors. IranIraq war, the dramatic decline of oil price in the 1980s, and USA cruel sanctions are among the key points in understanding Iran's external debt variations.
In the 1360s (1980s), with the eruption of the IranIraq war, there was a surge in external debt stockpiles that coincided with low oil prices which resulted in decreasing the government revenues and inevitably led to inflation. But in the 1370s (1990s), with the increase in government revenues, Iran's external debt began to decrease but again with the imposing of cruel sanctions, one can see a decrease in oil revenues and an increase in sovereign external debt. For years, domestic sovereign debts have been considered an important part of sovereign debts but unlike external sovereign debts, domestic sovereign debts have not received enough attention so we encourage further investigations on domestic sovereign debts issues.
In this paper, independent variables were confined to GDP growth, oil revenues, and annual inflation but to gain more insights into governing mechanisms, future researchers can include other relevant macroeconomic variables.
Funding: This research received no external funding