key: cord-0118274-5y1gj4v3 authors: Mastroeni, Loretta; Mazzoccoli, Alessandro; Quaresima, Greta; Vellucci, Pierluigi title: Wavelet analysis and energy-based measures for oil-food price relationship as a footprint of financialisation effect date: 2021-04-24 journal: nan DOI: nan sha: 0e334cc73af01853349aaa29f5057556ae3a9143 doc_id: 118274 cord_uid: 5y1gj4v3 In this paper we exploit the wavelet analysis approach to investigate oil-food price correlation and its determinants in the domains of time and frequency. Wavelet analysis is able to differentiate high frequency from low frequency movements which correspond, respectively, to short and long run dynamics. We show that the significant local correlation between food and oil is only apparent and this is mainly due both to the activity of commodity index investments and, to a lesser extent, to a growing demand from emerging economies. Moreover, the activity of commodity index investments gives evidence of the overall financialisation process. In addition, we employ wavelet entropy to assess the predictability of the time series under consideration at different frequencies. We find that some variables share a similar predictability structure with food and oil. These variables are the ones that move the most along with oil and food. We also introduce a novel measure, the Cross Wavelet Energy Entropy Measure (CWEEM), based on wavelet transformation and information entropy, with the aim of quantifying the intrinsic predictability of food and oil given demand from emerging economies, commodity index investments, financial stress, and global economic activity. The results show that these dynamics are best predicted by global economic activity at all frequencies and by demand from emerging economies and commodity index investments at high frequencies only. Crude oil is one of the most important energy commodities for its role in the global economy [1, 2] . Several developing countries depend on both crude oil and food imports, so co-movements between oil and food prices are a matter of great interest. In the recent years, several explanations have been attributed to the relationship between oil and food prices. As far as agricultural commodities are concerned, one explanation is that the oil and agriculture sectors are closely linked, since suggest that the geopolitical risk has influenced the dependency between oil and agricultural commodities and, since geopolitical risk has negatively affected the oil market, agricultural commodities can hedge oil market risks. Most recent works on the oil-food price relationship take into consideration the role of the COVID-19 pandemic. In this strand of research, [21] analysed the relationship between oil and commodity markets using wavelet coherence and the spillover index approach. They used daily data of WTI crude oil price and six agricultural grain commodities collected in the pre-COVID 19 period (from February 2018 to January 2020) and in the post-COVID-19 period (from January 2020 to May 2020). Their findings show that the intensity of spillovers from the crude oil market to the agricultural market is greater during the COVID-19 outbreak, shedding light on the evidence of increased spillovers during periods of turmoil. Their results also suggested that the co-movement between these two markets is lower in the post-COVID-19 outbreak than before pandemic spread. Also the work of [22] analysed the impact of COVID-19 on the volatility of commodity prices by using wavelet analysis. They used the Coronavirus worldwide pandemic index (PI) and commodity prices during the first seven months of 2020. Their results are important for hedging purposes, as the different degrees of coherence suggest a different degree of correlation in the time and frequency domain between the Covid-19 pandemic and commodity market volatility. In Table 1 we outline the methodological approach used both in the most recent documents and in those more related to our work. In our paper, unlike most of the literature, we analyze the main causes of co-movement between oil and food prices using wavelet analysis tools. More in details, we try to answer to the following research questions: 1. Is the oil-food price co-movement caused by the process of financialisation of the commodity markets? 2. May the periods of increasing financial distress have played a role in the oil-food price co-movement? 3. Is the oil-food price co-movement due to the increasing demand from emerging economies? To answer to these three research questions, we employ four tools from wavelet analysis: the wavelet coherence, the wavelet phase difference, the partial wavelet coherence and the partial phase difference. From a methodological point of view, wavelet analysis has been extensively used ever since the pioneering works of [23, 24, 25, 26, 27] introduced, and then rigorously defined, the concept of wavelet. Examples of wavelet approach can be found in some field of engineering and applied mathematics, such as image processing problems, data engineering and denoising of various kind of signals [28, 29, 30, 31] , just to mention the most recent ones, but also in financial time series analysis [32, 33, 34, 35, 36, 37] . More in details, wavelet transforms are able to provide a time-scale representation of a time series. The scale allows to retrieve the information on frequency. Therefore, wavelet transforms are able to identify high frequency movements and low frequency movements in a time series. Low frequency movements capture the global information present in a time series, whereas high frequency movements capture transient information. Wavelet analysis is important since it considers also the frequency domain. In fact, time domain analysis alone is not adequate to understand all data structures, especially for time series that include high-frequency or low-frequency movements. [38] . In this case, wavelet coherence is useful to have an inspection of the local correlation in time and scale between two time series where the scale is linked to the frequency. Moreover, wavelet phase difference is useful to analyse the sign of the local correlation. Partial wavelet coherence, on the other hand, is used to see if the correlation between two time series is due to the effect of another series. This is obtained by controlling the wavelet coherence between two series with respect to a third one. To answer the first research question, as a first step we employ the wavelet coherence between the food price index and the oil price index. After that, we employ the partial wavelet coherence between the same time series and control for the effect of the S&P GSCI commodity index. If most of the local correlation disappears once we check this series, then we have evidence that most of the correlation is due to the S&P GSCI commodity index. Therefore, the oil-food price correlation is simply due to commodity index investments, thus providing evidence of the impact of financialisation on the oil-food price relationship. With respect to the second research question, we employ the wavelet coherence between the food price index and the oil price index and then we employ the partial wavelet coherence controlling for TED spread. The TED spread is used to assess the contribution of systemic financial distress on the oil-food price relationship. Therefore, if most of the local correlation between food-oil disappears when we control for the TED spread, we have evidence that the oil-food price correlation is simply due to the systemic financial distress. For the third research question, we employ the wavelet coherence between the food price index and the oil price index and then we employ the partial wavelet coherence between the same series by checking the effect of the MSCI Emerging Markets Index (MSCI). This is commonly used as a proxy for the growth of emerging economies [6] . Therefore, if most of the local correlation between food and oil disappears when we check the growth of emerging economies, then we have evidence that MSCI is the factor that mostly contributes to the oil-food price relationship. Besides, we used the Kilian economic index to assess if oil-food price correlation can be explained by global economic activity rather than just by demand from emerging economies. For this purpose, we adopted the same methods described above. Moreover, we investigate how predictable the time series under analysis are and whether this predictability structure is present for variables that mostly co-move with both food and oil. To this end, the concept of entropy is combined with that of wavelets that leads to the definition of the wavelet entropy. We recall that lower (higher) entropy values are associated to predictable (unpredictable) time series. Since one of the advantages of wavelet transform is a time-scale representation of the original time series, wavelet entropy gives us a measure of the predictability as the scale changes. Wavelet entropy is fundamental to define the concept of Wavelet Entropy Energy Measure (WEEM), which is used to assess the intrinsic predictability of time series at different scales. We adopted a slightly different approach to the definition of WEEM than that of [39] . [39] need a time series representing white noise, while in our paper we need only its entropy (which is maximal if all the outcomes are equally likely). Moreover, in our paper, given two time series, we take the methodological approach a step further, with the goal of quantifying the inherent predictability of one given the other and vice versa. To this aim we introduce here the Cross Wavelet Energy Entropy Measure (CWEEM) generalizing the WEEM proposed by [39] . The results of our analysis show that the activity of commodity index investments is primarily responsible for the apparent co-movement between food and oil. However, demand from emerging economies also plays an important role, but to a lower extent. Furthermore, commodity index investments and demand from emerging economies are positively correlated both with food and oil. More in details, the positive correlation is long-term, so it refers to global information on the dynamics of time series. Conversely, the co-movement among TED spread, oil and food is short term, thus it is associated to a transient information on the dynamics of time series. TED spread is only responsible for co-movement of oil and food prices during the financial crisis, so its effect cannot be considered as one of the leading causes. Besides,the results of WEEM shows that both oil and food share a similar predictability structure with GSCI and MSCI. Actually, GSCI and MSCI are the variables that mostly co-move with oil and food. Conversely, the results of CWEEM show that MSCI e GSCI helps to predict high frequency movements in food and oil price series, whereas global economic activity predicts both high frequency and low frequency movements. Our contribution to the literature is outlined in the following points: • Differently from the work by [3] , we found that the oil-food price co-movement is only apparent. Indeed, most of the co-movements are due to the activity of commodity index investments; • We have shown the impact of demand from emerging economies on the oil-food price co-movement. It should be noted that demand from emerging economies has contributed less to the co-movement of oil and food prices than investment activity in commodity indices; • We found that the TED spread is not the main responsible for the oil-food price co-movement; • Compared to the work of [7] , we study the impact of global economic activity not only on oil but also on food; We also provide some policy implications on the basis of our results. The remainder of this article is structured as follows. Section 2 describes the data used in the current study and discuss the corresponding summary statistics. Section 3 is devoted to the description of the tools we employ in our analysis, while Section 4 discusses the results. In addition, Section 5 provides conclusions and some policy implications on the basis of our results. Finally, in the appendix we give a deeper description of the algorithms employed for the WEEM and CWEEM computation. In this section, we describe the data used in the current study and discuss the corresponding summary statistics. We choose a monthly dataset that spans from June 2000 to February 2020 for a total of 237 observations. The decision to start the dataset from 2000 is due to the current availability of some data from this date on-wards. We used monthly observations of the oil price index and the food price index. The oil price index can be thought as the simple average of the spot prices of Brent, WTI and Dubai [15] . On the other hand, the food price index includes the mean of the price indices of diary, cereals, vegetable oil, meat and sugar [3] . The data on the oil price index and the food price index are obtained from the Federal Reserve Bank of Saint Louis 2 . We used also monthly observations of the the Goldman Sachs Commodity (GSCI) total return index. The GSCI index reports futures prices for a basket of commodities belonging to energy, agricultural and metal sector [40] . The GSCI index is one of the largest indices by market share and to each commodity in the index is assigned a weight. In addition, the logic of weight assignment in the GSCI index is based on the worldwide production of each commodity [6] . To the energy sector, and oil in particular, is given the highest weight. We used also monthly observations of the MSCI Emerging Market Index to approximate the growth of emerging economies. The data on the GSCI total return index and MSCI Emerging Market Index are downloaded from Thomson Reuters Datastream. Furthermore, we employed monthly observations of the TED spread. The data on the TED spread are obtained from the Federal Reserve Bank of Saint Louis. The TED spread is given by the difference between the 3-Month London Interbank Offered Rate (LIBOR) and the 3-Month Treasury Bill secondary market rate and is commonly used as a measure of systemic financial distress [18] . We also used the Kilian economic index which acts as a proxy for global economic activity. This index is based on representative dry cargo single-voyage ocean freight rates and there are different dry cargoes that include grain, oil seeds, coal, iron ore, fertilizer and scrap metal [7] . The Kilian economic index is downloaded from the following website 3 . Table 2 shows the descriptive statistics of our data. The time series are all positive skewed except for MSCI index and food price index. Furthermore, the series are all platykurtic except for the Ted spread. The Jarque-Bera statistic rejects the null hypothesis that the data are normally distributed. The Augmented Dickey Fuller (ADF) test does not provide sufficient evidences to reject the null hypothesis of a unit root in the series. Besides, the Ljung-box statistic shows that there is temporal dependence in our series up to lag 1. Fourier analysis is one of the commonly used methods to analyse periodicity in the frequency domain. In particular, Fourier transform (FT) uses sine and cosine functions to reconstruct a signal or a time series and gives information about their global frequency distribution. Since time information is not considered, FT is most suitable for time series that are generated by time-invariant systems ( [41] ). The loss of time information makes it difficult to identify both transient relations and structural changes and discontinuities in the series under study [42, 43, 41] . This drawback is overcome by wavelet analysis, since, as we will see later in this section, the continuous wavelet transform (CWT) preserves both time and frequency information by decomposing the original time series into a wavelet function parameterised in terms of time location and scale [43, 42] . Then, it is usual to refer to this as a time-frequency analysis. A wavelet transform is then a linear transformation in which the basis functions are scaled and shifted versions of one function, called the mother wavelet. The scale allows to retrieve frequency information through a relationship that depends on the type of mother wavelet used. The scale is used to control the length of the CWT and it is varied endogenously: it is stretched (compressed) to capture low (high) frequency movements in the time series [42] . Low frequency movements provide information on the global frequency of the time series, whereas high frequency movements reflect transient information. Since global information is given by the frequency that contributed most to the dynamics of the time series, it can be interpreted as a long-run component, whereas high-frequency movements are short-lived and can be associated with short-run dynamics. Despite Fourier analysis assumes that the underlying process evolves as a stationary process over time, wavelet transform can work on both non-stationary and locally stationary series [44, 45, 46] ). In particular, wavelet has the peculiarity and power to localise stationary and non-stationary signals of a time series in both time and frequency domains at the same time. In fact, following high or low frequency movements, it can grasp all possible co-movements between the variables of a series at different times, considering possible different frequencies and different periods ( [47] , [16] ). Furthermore, wavelet analysis differs from panel data models and VAR models for two main reasons: wavelet analysis is a non-parametric method and works in both the time and frequency domains, whereas panel data models are used for data which involve the observations of a number of different variables, each over a range of time periods and VAR models work only in the time domain. Moreover wavelets are often used for time series data but there are some studies as the works by [48] and [49] that use wavelets for panel data as well. In their works, they analyse the relationship between gross domestic product (GDP) and energy consumption, using wavelet transformation to analyse data co-movements and causality, employing data panel, since they provide greater accuracy in statistical inference, and considering cross-sectional dependence of the data. Intuitively, we could think of the wavelet transform as a tool that allows us to decompose the time series we want to analyze into several temporal segments and to carry out the frequency analysis of that section of the series. Besides, wavelet transform can work also on non stationary series, since it breaks up the time series in segments where frequencies are approximately constant and carries out independent analysis on that portion. However, time-frequency analysis is affected by the Heisenberg uncertainty principle and this applies particularly for the wavelet transform: as resolution increases over time, frequency resolution is lost. Actually, time and frequency accuracy are hyperparameters of the wavelet tool chosen according to the time-frequency dynamics of the analyzed time series. Some additional tools can be derived from wavelet transforms in order to work on more than one time series. These tools are the cross wavelet transforms, the wavelet coherence and the wavelet phase difference, which are used to quantify the local covariance, the local correlation and the lead/lag relationship among two time series, respectively. Wavelets can also be combined with entropy to quantify the determinism component present in a time series and which determines its predictability. To this purpose, discrete wavelet transforms (DWT) are used. It can be shown that DWT can be obtained from the continuous wavelet transform when we restrict the scale s to some discrete values 2 j . An important advantage of wavelet analysis over traditional time series approaches concerns the fact that it is able to consider relationship among variables in both time and frequency domain. In addition, traditional time series approaches, working only on time domain, divide time scale into short and long run (e.g. cointegration analysis, vector autoregressive and vector error correction model), whereas wavelet analysis is able to discover multiscale relationship between variables [7] . Let us consider a time series x(t) and a wavelet function ψ(t). The continuous wavelet transform (CWT) W (τ, s) at scale s > 0 and translation parameter τ ∈ R maps the original time series into a dilated and translated version of the mother wavelet. In particular, it is defined as follows: where ψ(t), called the mother wavelet, is a continuous function both in time and frequency domain and where the symbol overline represents the operation of complex conjugate used in the case of complex wavelet. As for the properties that the mother wavelet must satisfy see e.g. [50, 51, 41, 46, 7, 52] . We can derive from Eq. (1) a measure of the localized variance of the time series, that is the so called wavelet power spectrum (WPS) which is defined as follows: There are several wavelet functions available to play the role of the mother wavelet. In particular, in this paper, we make use of the Morlet wavelet, that is defined as follows: where w 0 is a dimensionless frequency and t is a dimensionless time. The Morlet wavelet is interesting for three main reasons: it is a complex function, it provides a simple conversion of scales into frequency and it has an optimal joint time-frequency localization. The fact that the wavelet is a complex function allows us to recover information on amplitude and phase, both of which are fundamental to study time delay between the oscillations of two time series [52] . The simple conversion of scale into frequency occurs when w 0 =6. This value ensures that the scale s is inversely related to frequency f (f ≈ 1/s) [52, 42] . The application of the Heisenberg uncertainty principle in the context of the wavelet analysis results in the fact that it is not possible to achieve high accuracy of time and frequency information at the same time. As a consequence, there is always a trade-off, and, since the Morlet wavelet has an optimal trade-off between accuracy of frequency and time information, it is often preferred with respect to other wavelet functions [45, 42] . Let us consider two input time series {X t : t = 0, . . . , N − 1} and {Y t : t = 0, . . . , N − 1}, with continuous wavelet transforms W x (τ, s) and W y (τ, s). The cross-wavelet transform of the two series {X t } and {Y t } is defined as follows: Starting from this equation, we can define the cross-wavelet power spectrum (CWS): CWS can be seen as a measure of the localized covariance between two time series [53] . Let us remark that areas with high common power, as well as relative phase in time frequency space, are revealed by Eq. (5). However, the cross wavelet power spectrum can show high common power even if the series are realisations of independent processes and may lead to spurious significance tests. Therefore, another measure as the wavelet coherence is often preferred. According to [42] , wavelet coherence of two time series is defined as follows Eq. (6) is obtained from the cross-wavelet power spectrum normalized by the wavelet-power spectrum of the two series and S represents a smoothing operator in both time and scale. [54] and [45] defined the smoothing operator as described in the following: c 1 and c 2 are normalisation constants and Π is the rectangular function. Moreover, in Eq. (8a) and in Eq. (8b), the symbol * denotes the convolution operator [45, 55] . The time smoothing used in Eq. (8a) employs a filter identified by the absolute value of the wavelet function at each scale and normalized to have a total weight of unity [56] . For the Morlet wavelet, this is represented by a Gaussian function. The scale smoothing in Eq. (8b) is employed using a Boxcar function of width 0.6. The width corresponds to the decorrelation scale of the Morlet wavelet [56] . As suggested by [54] , we apply the smoothing in both time and scale. The value of the wavelet coherence falls in the interval [0, 1] and is a measure of the local correlation between two time series at location τ and scale s. A strong linear relationship is found when the wavelet coherence is close to one and indicates a strong co-movement, whereas non-linear relationship is present when the value of the wavelet coherence is zero [57] . It is important to note that wavelet coherence does not distinguish between positive or negative co-movements, therefore the relative phase (or phase difference) is needed since it provides information about the delay between two time series at location τ and scale s [7, 58] . Partial coherence and partial phase difference are useful to investigate the localized correlation along with the lead-lag relationship among two series {X t } and {Y t } by controlling for the effect of another series {Z t } [7] . In particular, the partial wavelet coherence (PWC) R x,y|z (τ, s) is defined as follows where R i,j (τ, s) is defined according to Eq. (6) . Instead, the partial phase difference is defined as follows where C x,y|z is the complex number whose absolute value is equal to R x,y|z [7, 42] . In order to detect the sign of co-movements we need to introduce the wavelet phase difference. The latter is derived using the real and the imaginary part of cross wavelet transform defined by Eq. (4) in the Appendix [43] . More in details, the wavelet phase difference is defined as follows where θ x,y ∈ [−π, π], and with R[z] and I[z] we refer to the real and the imaginary part of z ∈ C. According to the value of θ x,y , it is possible to establish if the series co-move positively (negatively) and which series is leading (lagging) the other one. More specifically, several cases can be distinguished: • if θ x,y = 0, the two series are in-phase (positive co-movement) and no lead/lag relationship is present. The arrow will be pointing to the right (−→); • if θ x,y ∈ (0, π 2 ), the two series are in-phase (positive co-movement) with {X t } leading {Y t }. The arrow will be pointing up and right ( ); • if θ x,y ∈ ( π 2 , π), the two series are out of phase (negative co-movement) with {Y t } leading {X t }. The arrow will be pointing up and left ( ); • if θ x,y ∈ (− π 2 , 0), the two series are in-phase (positive co-movement) with with {Y t } leading {X t }. The arrow will be pointing down and right ( ); • if θ x,y ∈ (−π, − π 2 ), the two series are out of phase (negative co-movement) with {X t } leading {Y t }. The arrow will be pointing down and left ( ). When we restrict the scale s to some discrete values 2 j we get the discrete wavelet transform (DWT). Let X 0 , X 1 , . . . , X N −1 represent a time series of N real-valued variables (henceforth we will denote such a series as either clear what values the dummy index t can assume). We also let X represent the column vector of length N whose nth element is X n . The DWT of {X t } is an orthonormal transform. By {W n : n = 0, . . . , N − 1} and W we denote, respectively, the DWT coefficients and the column vector of length N = 2 J whose nth element is the nth DWT coefficient W n . Hence, J is the largest DWT level for sample size N = 2 J . We can write where W is an N × N real-valued matrix, also called discrete wavelet transform matrix, and satisfying W T W = I N (I N is the N × N identity matrix). Similar to the orthonormal discrete Fourier transform, orthonormality implies that X = W T W and W 2 = X 2 . Therefore, W 2 n represents the contribution to the energy attributable to the DWT coefficient with index n, as described by [59] . As we will see in the following, this result will allow us to define the concept of wavelet entropy. A precise definition of DWT is formulated as an algorithm that allows W to be factored in terms of very sparse matrices. This algorithm is known as the pyramid algorithm and was introduced in the context of wavelets by [26] . It is based on the wavelet synthesis of X indicated by the following equation: where we define the W j and V J matrices by partitioning the rows of W commensurate with the partitioning of W into W 1 , . . . , W J and V J . Thus the N 2 j × N matrix W j is formed from the n = j−1 2 j−1 N up to n = 2j−1 2 j N − 1 rows of W for j = 1, . . . , J − 1. The 1 × N matrices W J and V J are the last two rows of W. We thus have The first N/2 rows of this matrix are obtained through a DWT wavelet filter, which is built upon an infinite sequence {h l } with at most L nonzero values. A wavelet filter must satisfy the following three basic properties: Let then {h l : l = 0, . . . , L − 1} be a wavelet filter of even width L. Through the wavelet filter, we construct the first N/2 rows of W, i.e. the matrix W 1 in the decomposition of W shown in Eq. (14) . In preparation for forming the last N/2 rows of W via the pyramid algorithm, we now define a second filter. The required second filter is the quadrature mirror filter (QMF as described by [59] ) {g l } that corresponds to {h l }: The filter {g l } is known as the scaling filter. It can be shown that the scales associated with the outputs of the wavelet and scaling filters differ by a factor of two. Therefore we use λ j = 2 j to denote the scale of the output from the scaling filter, whereas we use τ j = 2 j−1 to denote the scale associated with the output from the wavelet filter [59] . Thanks to wavelet and scaling filters, it is possible to define the jth stage of the pyramid algorithm. Let V 0,t = X t , the jth stage input is {V j−1,t : t = 0, . . . , N j−1 − 1}, where N j = N/2 j . This input is the scaling coefficients associated with averages over scale λ j−1 = 2 j−1 . The jth stage outputs are the jth level wavelet and scaling coefficients: for t = 0, . . . , N j − 1. The wavelet coefficients for scale τ j = 2 j−1 are given by In this paper we employ wavelet entropy to assess the predictability of the time series under consideration. Wavelet entropy is fundamental to define the concept of Wavelet Entropy Energy Measure (WEEM), which is used to assess the intrinsic predictability of the time series at different scales. In order to introduce WEEM, we have to start from the concept of energy for orthonormal basis. The concept of energy for an orthonormal basis is linked with well-established notions derived from the Fourier theory. In particular, an orthonormal wavelet basis converges in norm, and the energy of a function (signal) is defined as the integral of its absolute value [60] . Then, we can define the relative energy of the wavelet coefficients at each scale j as follows (see [61] ), which defines by scales the probability distribution of the energy. Clearly J j=1 E j = 1 and the distribution {E j } can be considered as a time-scale density. This tool has been employed for detecting and characterizing specific phenomena in time and frequency domains, as shown in [61, 62, 63, 64] . Starting from the previous definition, we can introduce the Wavelet Entropy (WE) as The Wavelet Entropy is based on the concept of Shannon Entropy introduced by [65] -"the father of information theory" -and widely used in sciences including energy finance/economics [66, 67, 68] . It provides useful information about the underlying dynamical process of the time series, and, in particular, it is a measure of the degree of order/disorder of the time series. In fact, periodic mono-frequency time series, with a narrow band spectrum, are also the most ordered and regular and a wavelet representation of these kind of time series is characterized by one unique wavelet resolution level which includes the representative frequency. For this special level the relative wavelet energy will be almost one, whereas all the other relative wavelet energies will be almost zero. Consequently, the total WE will be close to zero or very low. A totally random process, instead, generates a time series whose wavelet representation has significant contributions from all frequency bands. Moreover, one could expect all contributions to be of the same order and the WE to reach their maximum values [62] . Recently, [39] have introduced a novel measure, the Wavelet Entropy Energy Measure (WEEM), based on wavelet transformation and information entropy for the quantification of intrinsic predictability of time series. According to [69] predictability can be classified into two different types: • realized predictability, which is the achieved predictability of a system from a given forecasting model (in other words, it indicates forecast performance of models); • intrinsic predictability, which is the maximum achievable predictability of a system, see also [70] . To quantify the intrinsic predictability, [39] consider the white noise process as a reference process, because it has maximum entropy with no predictive information and it is also characterized by a scattered energy distribution across all scales. Generally, the larger the entropy, the more random and complex a system, and vice versa. Therefore, the white noise process, that is completely random and unpredictable, assumes the highest entropy. In [71, 39] , the white noise time series is supposed to be a time series with the same length of the original time series, X, having its same mean and standard deviation one. Let W E x be the Wavelet Entropy of time series X and let W E wn be the Wavelet Entropy of white noise. Then [39] proposed the Wavelet Energy Entropy Measure (WEEM) as follows: We observe that: • The value of WEEM ranges from 0 to 1. • If WEEM is close to one, the entire energy of X is concentrated around few scales and then the time series has high intrinsic predictability (because W E wn W E x ). • If WEEM is close to zero, the entire energy of X is scattered across all scales (similar to that of a white noise process) and then X has a very low intrinsic predictability (because W E wn ≈ W E x ). The pseudo-code of WEEM is described by Algorithm 2 in the Appendix, where we adopted a slightly different approach to the definition of WEEM than that of [39] . [39] need a time series representing white noise, in our paper instead we need only its entropy. Moreover, since the entropy is maximum if all outcomes are equally probable (scattered on all scales, i.e. uncertainty is maximum when all possible events are equiprobable), this means that WE in Eq. (19) is always less than or equal to ln J. Hence, for our purposes it is sufficient to set W E wn = ln J. Moreover, given two time series X and Y , we move one step forward with the aim of quantifying the intrinsic predictability of X given Y and viceversa. Let us now suppose that we have two different probability distributions {E In this case, they represent by scales the probability distribution of the wavelet energy for the two different time series X and Y . We use the Kullback-Leibler entropy, as defined by [72] , as: where W E y|x is a wavelet entropy which gives a measure of the degree of similarity of the distribution {E Then, generalizing the WEEM proposed bx [39] , we introduce the Cross Wavelet Energy Entropy Measure (CWEEM) as follows: We observe that: • The value of CWEEM still ranges from 0 to 1. • It tells us whether the knowledge of X reduces uncertainty about Y . In the strongest form of this argument, given two sources (series), if Y is a deterministic function of X, then knowing X lets one know the value of Y . Then Y will have a high intrinsic predictability given X, W E wn W E y|x and CWEEM will be near to one. • If, given X, we can't predict Y , then this will have a very low intrinsic predictability. In other words, if Y is independent from X, then the knowledge of the latter does not give any information about the former. Hence W E wn ≈ W E y|x and CWEEM is near to 0. The pseudo-code of CWEEM is described by Algorithm 3. In this section, we show the results obtained by employing the wavelet based methods introduced so far. As a first step, the oil-food price relationship will be assessed first with wavelet coherence. As a second step, the wavelet coherence will be made for food and each of the variables discussed in Sec. 2, such as the demand from emerging economies, the presence of commodity indexes, the financial stress and the global economic activity. Moreover, we will apply the methods to the case of oil. Consequently, it will be observed how these variables are locally correlated to food and oil. As a final step, the partial wavelet coherence will be applied to see if the relationship between food and oil can be attributed to the above mentioned variables. In the wavelet coherence graphs, the white curve denotes the cone of influence (CoI). Indeed, the CWT has border distortions when applied to finite length time series as s increases, thus the CoI is introduced because errors occur at the beginning and at the end of the wavelet power spectrum [53, 52] . The CoI is a region in which the edge effects can not be ignored and thus the interpretation of the results has to be done carefully [45, 52] . In all the Figures, the tick black contours represent significance at the level of 5% and the significance values are determined using Monte Carlo Simulation. The color bar in the wavelet coherence graphs represents the strength of co-movements between two time series at each scale across time. The red color denotes that a strong linear relationship is found, whereas the blue color denotes a weak linear relationship. The interpretation of the results have to be done recalling that short wavelet scales correspond to co-movements which are strong at high frequencies (i.e. in the short run), whereas long wavelet scales correspond to co-movements which are strong at low frequency (i.e. in the long run). Furthermore, the series co-move positively (negatively) when they are in-phase (out of phase), as described in Sec. 3.5. We must recall that low frequency movements (high frequency movements) correspond to global information (transient information) on the time series dynamics. Fig. 1 shows results of the wavelet coherence and partial wavelet coherence for the oil price, the food price index and the GSCI total return index. The wavelet coherence between the food price index and the GSCI total return index in Fig. 1 (a) indicates a strong in-phase relationship across different scales. More in details, the two series co-move positively at long scales (16-64 periods) with no clear lead/lag relationship during the period 2003-2015. At short scales, the local correlation between the two series almost disappears. In Fig. 1 (b) , similar results are found for the wavelet coherence between the oil price index and the GSCI total return index. Figure 1 : Wavelet coherence between oil price index and food price index and partial wavelet coherence between oil price index and food price index by partialling out the effect of GSCI total return index. The vertical axis refers to the scales In Fig. 1 (d) , we employ the partial wavelet coherence between the oil price index and the food price index controlling for the effect of the GSCI total return index. In this case, it is observed that co-movements between the oil price index and the food price index significantly decrease. Thus, we have found evidence that the presence of commodity index is one of the responsible for the significant co-movement between oil and food. Fig. 2 (a) shows the wavelet coherence between the oil price index and the TED spread. These two series are out of phase at short wavelet scales (8) (9) (10) (11) (12) (13) (14) (15) (16) with the TED spread leading the oil price index during the period 2006-2008. This result is consistent with the fact that oil prices steadily declined in the second half of 2008 because of the financial crisis, therefore when the TED spread was increasing [73] . This result explains that financial distress was able to lead crude oil prices in the short run, therefore it has a short-term impact. At long scales , the two series are in-phase (positive co-movement) with the oil price index leading the TED spread. In Fig. 2 (b) , similar results are found for the wavelet coherence between the food price index and the TED spread. However, the food price index and the TED spread are out of phase (negative co-movement) at short wavelet scales (8) (9) (10) (11) (12) (13) (14) (15) (16) with no lead/lag relationship during the period 2006-2008. At long wavelet scales , the two series are in-phase (positive co-movement) with the food price index leading the TED spread. Fig. 2 (c) shows the partial wavelet coherence between the oil price index and the food price index that control the effect of the TED spread. In this case, co-movement between food and oil decreases, but less than when we control for the effect of GSCI total return index, as shown in Fig. 1 (d) . As a result, the systemic financial distress represented by the TED spread explained a small portion of the co-movement between food and oil that is mainly related to the period of financial turmoil. Fig. 3 (c) represents the partial wavelet coherence between the oil price index and the food price index controlling for the effect of MSCI index. In this case, we notice that co-movement decreases. This result suggests that the demand from emerging economies may have induced joint price movement between food and oil. However, compared to 1 (d), it is observed that co-movement decreases less than when we control for the effect of GSCI total return index. Consequently, this suggests that GSCI explains more about the oil-food price relationship than the demand from emerging economies. In Fig. 4 , the results of the wavelet coherence for food and oil using the Kilian economic index are shown. Fig. 4 (a) and (b) show that co-movement is greater for the oil price index and the Kilian economic index, rather than when considering the food price index. More in details, Fig. 4 (a) and (b) show in-phase relationship (positive co-movement) at short (8) (9) (10) (11) (12) (13) (14) (15) (16) and long wavelet scales (16) (17) (18) (19) (20) (21) (22) (23) (24) (25) (26) (27) (28) (29) (30) (31) (32) with no clear lead/lag relationship during the period 2006-2009. Fig. 4 shows the partial wavelet coherence between oil and food controlling for the effect of Kilian economic index. This result shows that co-movement is still present. In conclusion, the analysis performed so far supports the argument that the demand from emerging markets and the GSCI total return index are leading causes of the oil-food price co-movement. In this section, we discuss the results for the WEEM estimates. Our aim is to estimate the predictability of the time series at different scales. We wonder if the variables that mostly co-move with both food and oil may have a similar intrinsic predictability structure to that of oil and food. More in details, the results show how the WEEM varies as the scale J varies. The scale J takes integer values from 2 to 7. J is an integer that specifies the level of the decomposition. It is such that the length of time series is at least as great as the length of the level J wavelet filter, but less than the length of the level J + 1 wavelet filter. Thus, J ≤ log N −1 L−1 + 1 , where N is the time series length and L is an integer representing the length of the wavelet and scaling filters [59] . As described in Sec. 3.7, if WEEM is close to one, the entire energy of X is concentrated around few scales and then the time series has high intrinsic predictability. On the other hand, if WEEM is close to zero, the entire energy of X is scattered across all scales (similar to that of a white noise process) and then X has a very low intrinsic predictability. We can observe from the graphs below that predictability increases as the scale increases. More in details, it increases for long wavelet scales (i.e. in the long run) and decreases for short wavelet scales (i.e. in the short run). Furthermore, we can note that the behaviour of the WEEM of MSCI and GSCI is very similar to that of the WEEM of the oil price index and the food price index as it is shown in Figs. 5 (b), 5 (c), 6 (d) and 7. This evidence shows that the variables, that mostly co-move with both the food price index and the oil price index, as shown in Sec. 4, share also their same predictability structure. The relation between short and long run are important from a forecasting point of view. Indeed, since the predictability increases as the scale increases, these series are more predictable in the long-run. Therefore, global information is more predictable than transient one. As a consequence, forecasting models should consider only global information of a time series for prediction. With respect to the CWEEM graphs, we observe in Fig. 8(a) that GSCI helps to predict the food price index at short scales, thus for high frequency movements. Furthermore, we note in Fig. 8 (b) that the Kilian economic index helps to predict the dynamics of the food price index, thus global economic activity helps to predict the dynamics of the food price index for long and short scales. Fig. 8 (c) shows that MSCI helps to predict the food price index for short scales, thus for high frequency movements. In Fig. 8 (d) , it is not clear whether food can predict oil and vice-versa since the values of the CWEEM are very similar at all scales. With respect to Fig. 8 (e) , we must point out that the TED has a 22), where, in this case, we have that x is the food price index and y is the TED spread in W E x|y . Therefore, it appears that W E x|y is more unpredictable than a white noise conditioned to the TED spread. In this case, it means that knowing the TED spread even increase the uncertainty about the food price index. Figs 9 (a) and (c) show the same results as Figs. 8 (a) and (c), thus that GSCI and MSCI help to predict the oil price index at short scales. Furthermore, Fig. 9 (b) shows again that global economic activity helps to predict the dynamics of the oil price index at all scales. The problem of the low intrinsic predictability of the TED spread is also present in Fig. 9 (d). This paper, using wavelet analysis, re-visits the oil-food price relationship. It assesses that the activity of commodity index investments is the main responsible for the apparent co-movement between food and oil. However, also the demand from emerging economies plays a role, but to a lower extent. Furthermore, the TED spread is only responsible for the oil-food price co-movement during the financial crisis, thus its effect cannot be considered as one of the leading causes of the oil-food price relationship. In addition, we find the presence for all the variables of a lead/lag relationship only at high frequency (in the short run) whereas at low frequency (in the long run) there is no clear lead/lag relationship. As a consequence, if there is no lead/lag relationship in the long-run, it is necessary to pay attention on transient relations: transient relations among variables, their phase-relationship along with their lead/lag relationship could be useful for investors for diversification purposes. The results of the WEEM show that both oil price index and food price index share the same predictability structure with the S & P GSCI and MSCI index. Furthermore, all the series are more predictable as the scale increases. Therefore, global information is more predictable than transient one, suggesting the use of forecasting models only for global dynamics of time series. On the other hand, the results of the CWEEM show that global economic activity is fundamental to predict the dynamics of the oil price index and the food price index, while commodity index investments and demand from emerging economies predict the oil and food price index only in the short run. As far as policy implications are concerned, some of them may be derived from our results. The first one concerns the joint movement of prices between food and oil. The oil price index and the food price co-move positively, thus an increase (decrease) in the price of oil is followed by an increase (decrease) in the price of food. As a result, this can have a negative impact on the trade balance of those countries who rely on both oil and food imports. As suggested by [74] , the dynamics of oil and food should prompt governments to allocate subsidy packages in energy and agricultural sector. Compared to [74] , we suggest that governments should provide subsidy packages for the commodity traded in the commodity indices to protect producers and consumers against price movements due to financial activity rather than supply or demand shortage. Our suggestion relies on the fact that the in-phase relationship between the oil price index Figure 5 : Comparison of the Wavelet Energy Entropy Measure of oil price index, food price index, GSCI total return index and TED spread and the food price is mainly due to the activity of commodity index investments. This could help to avoid sharp rise or fall in these commodity prices that can, in turn, affect both the demand and supply side even if the shocks do not come from the real sector. In a nutshell, as commodity markets has undergone a process of financialization, the government should work to limit the impact of financial activity on the commodity sector. In fact, the activity of commodity investments, that can create joint price movements even between unrelated commodities, can increase food insecurity in the case where prices of commodities traded in such indices may undergo sharp increase or decline. The second policy implication is about the role of commodity indices. As showed in the results and discussion section, these indices are the main responsible for the correlation between oil and food and the other variables played a less important role. However, we must consider that all the results found are of particular interest in the short term, as the co-movement and phase relationship are clearly identifiable at short wavelet scales. This suggests that these results may be of particular relevance for policy making only when a short time horizon is considered. In fact, if we also consider the results of the CWEEM, it seems that only global economic activity can predict the dynamics of oil and food in both the short and long run, whereas GSCI is only relevant in the short run. Despite the aforementioned contributions of this study to the current literature, this paper has some limitations. First of all, to address the first research question, we explored relationships among S&P GSCI commodity index, the oil price index and the food price index. Nevertheless, S&P GSCI index is a broad index that includes energy, metal and agriculture commodities. Fundamentals affecting those sub-indices are different. As future works, it could be interesting to explore the relationship of such sub-indices (like e.g., SP GSCI Softs coffee, sugar, cocoa and cotton or SP GSCI precious metal gold and silver) with oil and food price index. On the second research question, we used TED spread as an indicator of financial distress. For the future works, the outcome of this paper could be compared with other series like, e.g., major stock indices, inflation and interest rate and economic policy uncertainty index. In addition, for future research work it would be interesting to analyse how the COVID-19 pandemic has changed the relationship between oil and agricultural commodities and how it has affected the process of financialisation of commodity markets. In addition, the very recent and unexpected scenario of the Russia-Ukraine conflict may have changed the relationship between these two markets and this will be very interesting to analyse once sufficiently long series of data will be available. A.1 Algorithms Input :Vector V j−1 of even length M = N/2 j−1 Output :Vectors W j and V j for t ← 0 to M/2 − 1 do u ← 2t + 1; W j,t ← h 0 V j−1,u ; V j,t ← g 0 V j−1,u ; for n ← 1 to L − 1 do u ← u − 1; if u < 0 then u ← M − 1; end W j,t ← W j,t + h n V j−1,u ; V j,t ← V j,t + g n V j−1,u ; end end Algorithm 1: DWT computation according to pyramid algorithm, see [59] Authors Data Methods Main findings [11] Monthly spot price of Brent and food price index ranging from 1990 to 2016 DCCA Strong interdependence between Brent and food price index [12] Monthly spot prices of Brent, wheat, corn and soybean Copula functions Weak dependence between crude oil and food prices [3] Monthly spot price of Brent and food price index over the period 1990-2016 Wavelet analysis Brent crude oil spot price leads the food price index in the period 2006-2008 [18] Agricultural commodity prices,S&P 500 index, Kilian index, TED spread Time varying correlations and Granger causality test Combination of financialisation and finacial turmoil increase the correlation between commodity and stock prices [10] Daily data for S&P 500 index, MCSI world index, GSCI excess return values for corn, wheat, crude oil, livestock, heating oil, alluminium, copper, gold over the period 1995 -2013 Change point correlation and SDSVar Investment styles are responsible for the correlation between commodity and stock market prices [15] Oil price index and food price index over the period 1990-2007 TVAR,TVECM Evidence of oil-food comovement [7] Monthly spot price of WTI and Brent and the Kilian index over the period 1985-2018 Wavelet analysis Relationship between oil prices and Kilian index is stronger at higher frequencies Table 2 : Descriptive statistics. In Table 2 ***, ** and * denote rejections of null hypothesis at 1 %,5% and 10 % significance levels , respectively. Decoupling and recoupling in the crude oil price benchmarks: An investigation of similarity patterns Intra-day co-movements of crude oil futures: China and the international benchmarks Time-frequency contained co-movement of crude oil and world food prices: A wavelet-based analysis Biofuel from jatropha curcas: Environmental sustainability and option value Oil price shocks and agricultural commodity prices Index investment and the financialization of commodities Revisiting global economic activity and crude oil prices: A wavelet analysis Have commodities become a financial asset? evidence from ten years of financialization Facts and fantasies about commodity futures Financialization in commodity markets: A passing trend or the new normal Interdependence between crude oil and world food prices: A detrended cross correlation analysis Do food and oil prices co-move? Energy Policy Assessing the effect of oil price on world food prices: Application of principal component analysis World oil prices and agricultural commodity prices: Evidence from an emerging market On the relation between global food and crude oil prices: An empirical investigation in a nonlinear framework Estimation of the co-movements between biofuel production and food prices: a wavelet-based analysis The interplay between oil and food commodity prices: Has it changed over time Financialization of food. modelling the time-varying relation between agricultural prices and stock market dynamics Asymmetric causality in quantiles analysis of the oil-food nexus since the 1960s Structure dependence between oil and agricultural commodities returns: The role of geopolitical risks Oil prices and agricultural commodity markets: Evidence from pre and during covid-19 outbreak The impact of covid-19 on commodity markets volatility: Analyzing time-frequency relations between commodity prices and coronavirus panic levels Zur theorie der orthogonalen funktionensysteme Wave propagation and sampling theory-part i: Complex signal and scattering in multilayered media Wave propagation and sampling theory-part ii: Sampling theory and complex waves A theory for multiresolution signal decomposition: the wavelet representation A Wavelet Tour of Signal Processing A family of level-dependent biorthogonal wavelet filters for image compression Wavelet denoising for the vibration signals of wind turbines based on variational mode decomposition and multiscale permutation entropy An automatic and parameter-free information-based method for sparse representation in wavelet bases A wavelet approach for causal relationship between bitcoin and conventional asset classes Is gold favourable than bitcoin during the covid-19 outbreak? comparative analysis through wavelet approach Lithium industry and the u.s. crude oil prices. a fractional cointegration var and a continuous wavelet transform analysis A wavelet analysis of the relationship between oil and natural gas prices Does oil prices impede islamic stock indices? fresh insights from wavelet-based quantile-on-quantile approach Gold, gold mining stocks and equities-partial wavelet coherence evidence from developed countries Analysis of Financial Time Series Using Wavelet Methods Wavelet entropy-based evaluation of intrinsic predictability of time series Financialization of commodity markets Wavelet theory and applications: a literature study The continuous wavelet transform: Moving beyond uni-and bivariate analysis Wavelet phase coherence analysis: Application to a quiet-sun magnetic element Locally stationary long memory estimation Application of the cross wavelet transform and wavelet coherence to geophysical time series Climate Signal Detection Using Wavelet Transform: How to Make a Time Series Sing A revisited renewable consumption-growth nexus: A continuous wavelet approach through disaggregated data Energy consumption and gdp revisited: A new panel data approach with wavelet decomposition Dynamic co-movements between energy consumption and economic growth. a panel data and wavelet perspective Wavelet analysis: theory and applications Co-movement of energy commodities revisited: Evidence from wavelet coherence analysis Oil and the macroeconomy: using wavelets to analyze old issues A practical guide to wavelet analysis Interdecadal Changes in the ENSO-Monsoon System Exploring relationship between developed and developing financial markets by wavelets. The 11th International Days of Statistics and Economics Aslak Grinsted, and Viliam Simko. R package biwavelet: Conduct Univariate and Bivariate Wavelet Analyses Oil market volatility and stock market volatility Cross wavelet analysis: significance testing and pitfalls Wavelet methods for time series analysis Mathematical Model for the Output Signal's Energy of an Ideal DAC in the Presence of Clock Jitter Application of wavelet entropy to predict atrial fibrillation progression from the surface ecg. Computational and mathematical methods in medicine Wavelet entropy: a new tool for analysis of short duration brain electrical signals Time-scale energy based analysis of contours of real-world shapes An iterative approach for spectrogram reassignment of frequency modulated multicomponent signals A mathematical theory of communication Analyzing volatility transmission using group transfer entropy Modeling the flow of information between financial time-series by an entropy-based approach On the predictability of energy commodity markets by an entropy-based computational method The intrinsic predictability of ecological time series and its potential to guide forecasting The limits to prediction in ecological systems Gradation of complexity and predictability of hydrological processes On information and sufficiency Energy Information Administration. Performance profiles of major energy producers Gazi Salah Uddin, and Sang Hoon Kang. Can agricultural and precious metal commodities diversify and hedge extreme downside and upside oil market risk? an extreme quantile approach