 Research
 Open Access
 Published:
Modeling and forecasting time series of precious metals: a new approach to multifractal data
Financial Innovation volume 5, Article number: 22 (2019)
Abstract
We introduce a novel approach to multifractal data in order to achieve transcended modeling and forecasting performances by extracting time series out of local Hurst exponent calculations at a specified scale. First, the long range and comovement dependencies of the time series are scrutinized on timefrequency space using multiple wavelet coherence analysis. Then, the multifractal behaviors of the series are verified by multifractal detrended fluctuation analysis and its local Hurst exponents are calculated. Additionally, root mean squares of residuals at the specified scale are procured from an intermediate step during local Hurst exponent calculations. These internally calculated series have been used to estimate the process with vector autoregressive fractionally integrated moving average (VARFIMA) model and forecasted accordingly. In our study, the daily prices of gold, silver and platinum are used for assessment. The results have shown that all metals do behave in phase movement on long term periods and possess multifractal features. Furthermore, the intermediate time series obtained during local Hurst exponent calculations still appertain the comovement as well as multifractal characteristics of the raw data and may be successfully rescaled, modeled and forecasted by using VARFIMA model. Conclusively, VARFIMA model have notably surpassed its univariate counterpart (ARFIMA) in all efficacious trials while reemphasizing the importance of comovement procurement in modeling. Our study’s novelty lies in using a multifractal detrended fluctuation analysis, along with multiple wavelet coherence analysis, for forecasting purposes to an extent not seen before. The results will be of particular significance to finance researchers and practitioners.
Introduction
Multifractal structure analysis has become more and more popular in financial studies. It is referred as one of the strong and dynamic techniques due to its ability to detect multifractal behavior in nonstationary time series. Especially, local Hurst exponents help point out the discontinuities in the financial time series. Hence, any asymmetric or inconsistent behavior in the time series, such as the failure of any economic system, can be captured. These irregularities are the main reason for the fat tail observations. Local Hurst exponents demonstrate that these irregular behaviors may be organized to be used in various models/methods.
Mandelbrot and Ness has laid the foundations of multifractal analysis by introducing fractional Brownian motions, fractional noises and its applications (Mandelbrot & Van Ness, 1968). Later, multifractal detrended fluctuation analysis (MFDFA) has been proposed as an alternative method in analyzing financial time series by (Kantelhardt et al., 2002). Heretofore, there have been many researchers using this method in their analysis. Zhang et al. have investigated asymmetric multiscale multifractal analysis of wind speed signals (Zhang et al., 2017). Multifractal and wavelet analysis of epileptic seizures have been studied by (Dick & Mochovikova, 2011). An indepth analysis of stocks of the company GE was performed by Thomson and Wilson by contrasting the results with those obtained using multifractal detrended fluctuation analysis and using conventional time series models (Thompson & Wilson, 2014). Benbachir and Alaoui employed the MFDFA method in order to explore the multifractal properties of the Moroccan Dirham compared with the US Dollars (Benbachir & Alaoui, 2011). Zhu and Zhang studies the multifractal property of Chinese stock market in the CSI 800 index based on MFDFA approach (Zhu & Zhang, 2017) and concluded that the shape and width of multifractal spectrum are dependent on the weighing order and Hurst exponents can account for the market crash. (Sensoy, 2013) studies the timevarying efficiency of 15 Middle East and North African (MENA) stock markets by generalized Hurst exponent analysis of daily data with a rolling window technique and concludes that all MENA stock markets exhibits different long range dependence. In other study, Sensoy and Tabak proposes an alternative index to model timevarying inefficiency in stock markets using generalized Hurst exponents calculations (Sensoy & Tabak, 2015). (Tiwari et al., 2017) in 2016 challenges efficient hypothesis using the generalized Hurst exponent and MFDFA methods. In our study, we will show that obtaining coherent time series lead to more accurate forecasting results because not only the longrun effects but also the short and long term dynamics can be taken into considerations simultaneously.
The wavelet analysis is also one of the methods in scrutinizing the time series. Unlike Fourier transform, as Burrus et al. indicated, wavelet analysis does not need stationarity (Burrus et al., 1998) and is able to look deep into the frequency information of the series at different scales without losing time information (Reboredo & RiveraCastro, 2014) which helps eliminate the weaknesses in Fourier transform (Gülerce & Ünal, 2016). Gencay’s study (Gencay, 2002) has become a pioneer work for many researchers using wavelet tools to analyze financial time series in many studies such as (AguiarConraria & Soares, 2012; AguiarConraria & Soares, 2013), (Barunik et al. 2013), and (McCarthy & Orlov, 2012). Multiscale analysis is accepted as one of the main applications of wavelet methods in finance and economics (Haven, 2012).
There have been many investigations looking into the relation of precious metals using these types of tools. Kucher and McCoskey indicated that the longrun relationships between precious metal prices are strongly influenced by economic conditions using a vector error correction model (Kucher & McCoskey, 2017). A flexible modification of the dynamic conditional correlation model that accounts for asymmetry and long memory in variance is applied on precious metals by (Klein, 2017). He et al. uses wavelet analysis and autoregressive moving average model with higher accuracy to forecast prices of precious metals (He et al., 2017). Das et al. suggest intense and positive comovement in Asian gold spot markets after the Asian financial crises of 1997 at all frequencies (Das et al., 2017). To the best of our knowledge, multifractal detrended fluctuation analysis along with multiple wavelet coherence analysis of precious metals has not been studied to this extent heretofore.
In this paper, we will use a software package for wavelet coherence analysis provided by (Torrence & Compo, 1998) and (Grinsted et al., 2004) and a Matlab tool for multifractal detrended fluctuation analysis developed by (Ihlen, 2012). The former will be used to analyze inter relations, comovement dependencies, frequent and consistent signals in multiple financial time series of precious metals (gold, silver and platinum). The latter will be used to confirm their multifractal behavior, calculate local Hurst exponents and obtain the intercalculated fractal function time series at specific scale determined.
Multiple wavelet coherence will be used to determine the specific time period and scale that possesses common long range dependence out of the time series. With the help of Matlab tool, the multifractal behavior of these time series will be validated and a new series out of local Hurst exponent calculations will be obtained. These new series will be modeled using multivariate methods and forecasted accordingly. The first multivariate model has been introduced by Quenouille in 1957 (Akaike, 1974) and later improved by Akaike (Dunsmuir & Hannan, 1976), Dunsmuir and Hannan (Hannan, 1981) and Hannan (Oral & Unal, 2017a) in order. Multivariate models are a dynamic system of equations that examine the impacts of fluctuations (shocks) or correlations (interactions) between financial variables (Oral & Unal, 2017a). Multivariate modeling is because of the fact that more information out of multiple highly correlated data can be used and low meansquared errors compared to univariate models may be obtained (Oral & Unal, 2017b). Moreover, multifractal nature of our data urges us to employ vector autoregressive fractionally integrated moving average method.
Gold is treated as hedging instrument against inflation and exchange rates (Hammoudeh et al., 2010) and, in many papers, reported as an indicator of inflation (Ranson & Wainright, 2005). Likewise, Mahdavi and Zhou points that commodity prices respond to new information faster than any consumer price (Mahdavi & Zhou, 1997). Therefore, results obtained from a successful forecasting of gold with smaller error bands may help and support both finance researchers as well as many different players in financial world such as monetary policymakers, hedge fund managers, portfolio managers, centrals banks and investors while making investment decisions. As far as we know there is no general method about forecasting of data possessing multifractal nature and we believe our paper will serve well during these type of decisionmaking processes.
The rest of the paper is organized as follows: Section 2 covers the data and methodology used in this paper. The main equation of continuous wavelet transform and multiple wavelet coherence, basics of multifractal detrended fluctuations analysis and vector autoregressive fractionally integrated moving average model will be included as a summary review. In section 3, multiple wavelet coherence will be utilized to detect the highly correlated time periods and frequencies. After the multifractal characteristics of the series are verified, a new series of fractional function will be obtained out of local Hurst exponent calculations at the specified scale. Section 4 will compare and discuss the forecasting results of both multivariate and univariate models. Section 5 will be ended with the discussion of the results. In Appendix 1 will display two forecasting results of each metal couple along with the plot of the data set extracted from the local Hurst exponents’ calculations at the specified period.
Data & Methodology
Data
The daily prices of gold, silver and platinum (Fig. 1) is acquired from Yahoo Finances! starting from 1st of July, 2011 to 30th of November, 2016 which is composed of approximately 2000 daily data.
As can be seen from Table 1, silver has the highest mean and standard deviation, thus there is higher fluctuation in the prices of silver with respect to other metals. One thing that draws one’s attention is the skewness value of platinum. The negative skewness or negatively skewed means frequent small gains and a few extreme losses. This could indicate platinum a safer investment with respect to gold and silver during economic crisis. On the other hand, positive skewness or positively skewed means frequent small losses but a few extreme gains which is greater for silver due to its higher volatility that we pointed.
When we look at the traditional correlation calculation results of these metals as shown in Table 2, we realize that there is higher correlation with gold and silver with respect to platinum. Additionally, platinum seems to move with silver more than with gold. It is surprising to see 85% correlation with silver and platinum even though the volatility of silver prices is expected to be higher.
In this paper, we will look deep into comovement of metal prices in time and frequency space by using multiple wavelet coherence. Once highly correlated time interval and frequency is determined, the multifractal behavior of the real series will be validated. A new time series of fluctuation function at the specified scale will be obtained out of its local Hurst exponents calculations. Finally, we will compare and discuss the performance of modeling and forecasting using these series with the help of univariate and multivariate models.
Methodology
Continuous wavelet transform (CWT) and multiple wavelet coherence
An application of wavelet analysis in finance and economics were first presented by Gencay in 2002 (Gencay, 2002). (AguiarConraria & Soares, 2012; AguiarConraria & Soares, 2013), (Barunik et al., 2013), (Yilmaz & Unal, 2016) and Oral and Unal (Quenouille, 1957; Oral & Unal, 2017b) are some of the many researchers who have utilized these tools in their studies. There are many ways how to sort the types of the wavelet transforms. The division based on the wavelet orthogonality defines two methods, discrete wavelet transform (DWT) for orthogonal wavelets and continuous wavelet transform (CWT) for nonorthogonal wavelets. Nevertheless, CWT performs better to see the signal frequencies evolution during the duration of the signal and compare the spectrum with other signals spectra, thus is used more for feature extraction purposes (Grinsted et al., 2004) to see the results in a simpler form. CWT follows the following form in Eq. (1),
Where the transforming function, also known as the mother wavelet, is ^{"}ψ^{"}, the translation parameter is ^{"}τ^{"} and the scale parameter is “s”. The translation parameter is the time information in the transform domain and the scale parameter is the frequency of the corresponding information.
Wavelet coherence may be evaluated not only in two dimensional data sets but also in multidimensional sets of data for the same time and frequency space. Thus, multivariate models where three dimensional multiple wavelet coherence is possible as shown in the following Eq. (2),
Where C denotes complex coherence, ρ_{ij} is the correlation factor and R^{2}ij is squared multiple wavelet coherencies.
Multifractal Detrended fluctuation analysis (MFDFA)
Multifractal detrended fluctuation analysis (MFDFA) may be used to analyze financial time series demonstrating volatility clustering or many different forms of irregular behavior. It is in the nature of all financial time series data to have fractal structures and behavior. As Ihlen pointed, the deviations in fractal structure within time periods with large and small fluctuations may be identified by multifractal analysis (Ihlen, 2012). The main advantage of the method is to be able to detect multifractal behavior in nonstationary time series. That is why it is proposed as a robust and powerful technique by (Kantelhardt et al., 2002). The aim of the MFDFA is to find the spectrum of singularities both for stationary as well as nonstationary time series. It is assumed that X(t) is selfsimilar time series with Hurst exponent H ≥ 0. For any c > 0, we have
According to Eq. (3), when H is greater than 0.5, the time series data possesses persistent behavior with long range dependence. This persistency indicates practicably the same sign for the next nonoverlapping time segment in line. If H is less than 0.5, the time series data will exhibit antipersistent behavior with short range dependence. This, however, antipersistent behavior would mean that an increase (decrease) in the process is most likely to be followed by decrease (increase) in the next time segment.
Assume that X(t) is a time series of length N with mean of \( \overline{x} \). Firstly, the accumulated profile y(i) of the time series X(t) for i = 1, …, N is determined.
Firstly, a nonoverlapping segment of equal length scale s is formed. Then the profile y(i) is divided to the number N_{s} = int(N/s) rounding to the nearest integer, int(). The same procedure is repeated starting from the end of the profile in order to include a short part of the end of the profile, doubling the number of segments, 2N_{s.}
Each segment is fitted by a polynomial providing a local trend to the data and the variances are calculated by two formulas in terms of segment v. For each segment v = 1, …, N_{s}:
And for each segment from the end of the profile v = N_{s} + 1, …, 2N_{s}:
\( {p}_v^n(i) \) is the n^{th} order fitting polynomial in the segment order, v. For n > 3, any order of polynomials can be used, linear, quadratic, cubic or higher. Next, q^{th} order fluctuation functions will be obtained by averaging the variance over all segments. This calculation is shown in Eq. (7) as following, for q ≠ 0:
And if q = 0, the equation is evaluated as in Eq. (8)
Resolving the behavior of the qdependent fluctuations F_{q}(s) is the main goal of MFDFA while taking into consideration the time scale s and various values of q. The Eq. 5 thru 8 should be run in loop for various values of time scales s. Hence, the multiscaling behavior of the fluctuation functions F_{q}(s) may be analyzed. In order to do that, the slope of loglog plots of F_{q}(s) with respect to s for different values of q (such as − 3, − 2, − 1, 0, 1, 2, 3) should be estimated. The fluctuation function F_{q}(s) will demonstrate the following powerlaw scaling behavior as shown in Eq. (9) depending on the analysis of longrange powerlaw correlation as fractal proprieties,
For different values of q, h(q) is regressed on the time series F_{q}(s). The time series is called monofractal, when a constant value for h(q) for all values of q is true. Conversely, the time series is said to be multifractal, when h(q) is a steadily decreasing function of q. The Hurst exponents of h(q) represent the scaling properties of small (large) fluctuations when the values of q are negative (positive). Ihlen pointed that the size of local Hurst exponents in the periods of the multifractal time series with local fluctuation of different magnitudes determines the structure of the local fluctuations (Ihlen, 2012). Small (large) local Hurst exponents mean large (small) noise like (random walk like) structure of local fluctuations. This is identical with the generalized Hurst exponents for negative and positive values of q, respectively. Regardless, the structural changes within time series are caught instantly with the local Hurst exponents and it is the major advantage compared to generalized Hurst exponent.
Vector autoregressive fractionally integrated moving average model (VARFIMA)
The efficiency of multivariate time series analysis may be increased by understanding the importance of synchronization of multiple time series. Tsay stated that the longrun effects as well as the short and long term dynamics characterized by the AR, MA and the fractional differencing parameters may be simultaneously addressed by vector autoregressive fractionally integrated moving average (VARFIMA) model (Tsay, 2013). (Sowell, 1989), (Durr et al., 1997), (Dueker & Startz, 1998), (BoxSteiensmeier & Tomlinson, 2000), (Clarke & Lebo, 2003) have all used these models in their time series observations. Primarily, the ARFIMA (p, d, q) process can be described by the difference equation in (10)
where y(t) is the state output, e(t) is the white noise input, and L is the shift operator. a_{i}, and b_{j} are real coefficient matrices of n by n dimensions, d is real integrating parameter between − 0.5 and + 0.5. The parameter d is also called memory parameter because it regulates the long memory property of the series.
The vector ARFIMA process has transfer matrix t(L^{− 1}) where t(L) function can be defined as (11)
where I_{n} is the identity matrix with dimensions n by n. Equation (11) can now be written in summary notation as
where L is the lag operator and A(L) = (A_{0} − A_{1}L − … − A_{p}L^{p}). (A_{0} − L)^{d} and B(L) = B_{0} + B_{1}L + … + B_{q}L^{q}. Equation (12) can be written as follows:
This means a twostep of calculation for ξ(t) first and then for y(t).
From here, we see that VARFIMA model can be reduced in a straightforward way to a set of n interrelated ARFIMA models. Hence, when we rewrite Eq. (12), we get
where A(L) is the scalar valued determinant of A(L) and A^{∗}(L) is the adjoint matrix. The process becomes
where a system of ndimensional ARFIMA process is defined with the common lag operator, L and cointegration fraction, d.
It is important to underline that forecasting is an overwhelming task. Whilst a statistically sensible model may be obtained, it may still endure severe problems in forecasting. Hence in this paper, the validity of the model is determined by judging the performance of the forecasting results. A stochastic process vector ARFIMA (p, d, q) is already involved in our approach in modeling phase. Once we obtain statistically admissible model parameters (p, d, q), the standard best linear predictor of the program is used. The program automatically determines the best option by running three different methods, “Covariance” (exact covariance), “AR” (approximate with a large0order AR process) or “Kalman” (Kalman filter) method.
Wavelet coherence and local Hurst exponents
Wavelet coherence displays the time series data in two dimensional axes of frequency and time space as shown in Fig. 2. The time information is displayed on x axis and the frequency information on y axis. The frequency information is also represented as period or scale. However, they are inversely proportional where high frequency means low scale or vice versa. The column on the right indicates the correlation scale. The yellow colors in the figure means higher correlation and the blue colors mean no correlation during the specific time and frequency interval. The power of correlation is one at its highest point and zero where there is no correlation. The black lines represent the statistical significance at 5% level against red noise. Since the length of the wavelet may exceed the length of the data on the edges, the discontinuities in the wavelet function is displayed in the faded area (Yilmaz & Unal, 2016). The faded area falls onto the outside of the cone of influence (COI).
Three dimensional multiple wavelet coherence would bring out the effect of two factors together on the commodity itself. As we look at the multiple wavelet coherence of silver with gold and platinum in Fig. 3, it shows a strong relation almost at all times and frequencies. There is a weakening relationship at around 32day period from time to time. All metals are displaying very strong relation along 256day period at all times. It was also possible to point out that platinum has the lowest amount of coherence with other metals. The traditional correlation calculations have demonstrated themselves in much detail with the wavelet coherence diagrams.
It is seen that there are some of the areas colored blue considering long range dependency. The blue areas indicate low interrelation between the metals at the specific time and frequency. These areas are found more in platinum diagram (Fig. 4) but less in silver diagram (Fig. 3). This may be because of reaching equilibrium in prices at different rates during shocks or stresses. Kucher and McCoskey find in their study that the error correction mechanisms between precious metal prices seem to be asymmetric (Kucher & McCoskey, 2017). This also aligns with our observations and explains some of the weak long run (low frequency / higher periods) relationship over certain periods of time. The continuous inphase movement is well observed for platinum on 256day period as shown in Fig. 4. This is found to be true for all metals at this scale. Hence we will be focusing on 256day period for the rest of our study.
The generalized Hurst exponent considers the time series as a single time period and provides a single value that indicates the global behavior of the series. Hurst exponents define a continuum between a noise like time series (Hurst exponent between 0 and 1) and a random walk like time series (Hurst exponent above 1). The pink noise where Hurst exponent is equal to 1 separates between the noises H < 1 that have more apparent fast evolving fluctuations and random walks H > 1 that have more apparent slow evolving fluctuations (Ihlen, 2012). The validity of Hurst exponents may be established with the linear relationship for both the real data and the fluctuation function time series obtained at the specific scale as shown in Figs. 5 and 6. The loglog plots of other metals are shown in Appendix 2. A correlated (long range dependent) structure is observed when the Hurst exponent is in the interval of 0.5 and 1. An anticorrelated (short range dependent) structure is observed when the Hurst exponent is in the interval of 0 and 0.5 (Ihlen, 2012). When Hurst exponent is higher than 1, the level of longrange dependency may not be expressed in terms of magnitude but one can easily conclude that it perpetuates its longrange dependency as strong as it protracts.
It is expected in this paper that the better performance of forecasting will be obtained due to the long range dependence and the multifractal behavior of the time series obtained. In Table 3, it is shown that the real time series data of all metals have generalized Hurst exponent even greater than 1, indicating a strong long range dependence.
When we calculated the local Hurst exponents at scale 256, the fluctuation function series obtained at the specified scale are still demonstrating multifractal behavior as strong as the raw data. There is only 10% difference for gold and silver and 2.7% for platinum. The main advantage of working with local Hurst exponents with respect to generalized Hurst exponent is the ability of local Hurst exponent to identify the time instant of structural changes within the time series (Ihlen, 2012).
In Fig. 7, the real data of gold and its corresponding local Hurst exponents are displayed. The other metals may be found in Appendix 3. In Table 4, the minimum and maximum values of local Hurst exponents at scale 256 are listed. Even though gold has the lowest maximum value among all the metals, it does not have weakening long range dependence with the lowest Hurst exponent value of 1.03. Silver and platinum on the other hand have minimum Hurst exponents of 0.86 around the same time interval. This is indicating a weaker persistent behavior in terms of long range dependence. Silver and platinum are demonstrating stable long range dependence in the latest times of the series. However, as shown in Fig. 7, gold has a continuously increasing value of local Hurst exponents, suggesting stronger long range dependence with even smaller variations in price.
The local Hurst exponents are calculated by dividing the root mean square of residuals and log value of the corresponding scale for all periods in each scale one by one. It is our assumption that this intercalculated time series of root mean square of residuals during possess the features of the real data with stronger longrange dependency and may be used to estimate the shift of price change. In Fig. 8, this anew generated fluctuation function time series obtained during the calculation of local Hurst exponents at scale 256 are shown. These time series will be used to model and forecast the prices for the next 30 days. However due to the nature of the calculation, the values need to be rescaled with respect to the raw data. To do so, we calculated the ratio between the mean value of the fluctuation function and the mean value of the raw data. Then we divided the series with that ratio and obtained a new series closer to the real data in value.
Since we know that both the real data and the fluctuation function data exhibits multifractal behavior, autoregressive fractionally integrated moving average (ARFIMA) model with the real data and vector autoregressive fractionally integrated moving average (VARFIMA) model with the fluctuation function time series will be used to estimate a process and forecast for the next 30 days. Finally, we will compare the results accordingly.
Forecasting results and discussion
Multivariate models lead to more accurate results compared to scalar counter models (Tsay, 2013) because not only the historical data of each series but also other fractionally cointegrated variables in between the series are taken into consideration in VARFIMA models. The study of Das et al. in 2018 concludes that diversification benefits in pacific developed markets are limited due to higher degrees of integration (Das et al., 2018). We believe otherwise that it is important to set up highly correlated data set in order to establish efficiently estimated processes with better forecasting results. The raw data and fluctuation function time series data will be picked for the same interval for forecasting purposes. Raw data using ARFIMA process and fluctuation function data using 2D VARFIMA process will be forecasted and the results will be compared accordingly.
The reader must note that when 2D VARFIMA model are run, the forecasting results are provided with upper and lower limits of two dimensional vectors. In our results, we have eliminated the highest value of the upper boundaries and the lowest value of the lower boundaries displaying the narrowest band possible.
In Table 5, the dates of time series interval are given for each couple of metals. Once the time intervals with high coherence are determined (the yellow regions in Fig. 4), 6 time intervals with different length of time frames have randomly been chosen for forecasting purposes. Hence 12 forecasting trials have been demonstrated in total.
Forecasting for each metal has taken place for the same time interval in VARFIMA for the next 30 days. Figure 9 displays fraction function couple for gold and platinum from February 25th, 2011 to January 11th, 2012. The correlation of these series is approximately 80%. VARFIMA model uses the same time series (gold with platinum and platinum with gold) to obtain the forecasting results of each metal and they are shown in Fig. 10 for gold and in Fig. 11 for platinum. As you can see from both of the results, forecasting with VARFIMA model have performed extremely well with respect to ARFIMA model of the raw data for the same time frame chosen.
This has been the case for all metals and time intervals chosen. ARFIMA (univariate model) have been used with the raw data itself and VARFIMA (multivariate model) have been used with the fluctuation function time series provided out of local Hurst exponent calculations.
We have seen that the upper and lower error bands of all forecasting trials using VARFIMA method have contained the actual value on the 30th day. Besides its observable ratification, the difference between the real value and the 30th day forecasting value were checked out to find out how well the performance of forecasting was and how close the results were for each trial. In seven out of 12 trials, the proximity to the actual value from VARFIMA trials were 10% or less of the difference value of ARFIMA results. In Table 6, the differences between 30th day forecasting value and real value are given for all forecasting results. In all trials, VARFIMA method has given closer values to the actual value. It is shown that VARFIMA has provided better forecasting results with respect to its counterpart which is in parallel with the findings of Pena and Sanchez (Peña & Sanchez, 2007) that multivariate models perform better with respect to univariate models. Despite of the fact that some of the ARFIMA models have given smaller root mean square error values, they were abortive and have shown a decreasing trend in all of the results. On the other hand, the forecasting results with the use of VARFIMA model, the estimated function was able to follow an approximate path with the real data. It is also seen that the narrower range of prediction and lower root mean square error in the estimated models are achieved with the increased rate of correlation of the series.
Additionally, the present results may assist members of the financial world at varying degrees in their field. Vast number of the research papers report that the price of gold is an indicator of inflation (Ranson & Wainright, 2005). This is because of commodity prices can respond to new information faster than any consumer prices (Mahdavi & Zhou, 1997). Furthermore, Gold is treated as hedging instrument against inflation and exchange rates (Hammoudeh et al., 2010). Therefore, accurate forecasting (i.e. forecasts with smaller error bands) of the gold price will serve to monetary policymakers, hedge fund managers, international portfolio managers and central banks to make accurate investment decisions in the financial market. However, forecasting of gold prices is a formidable task. This is because of the multifractal nature of the gold prices. To the best of our knowledge there is no general approach for forecasting of multifractal data.
We have overcome this difficulty by determining the time scale in which gold, silver and platinum exhibit coherence for all times. This happens to be 256day period. Furthermore, we fit VARFIMA model for this scale which leads to forecasting results with extremely narrow error bands. Although Silver and Platinum serve as coherent companions of Gold. We also have perfect forecasting performances since we consider them as a component of VARFIMA model. This will allow to make healthier assessment of inflation expectations. These empirical findings may particularly serve as decision aids for policy makers, hedge fund managers, international portfolio managers and gold exporters.
Conclusion
Multiple wavelet coherence and multifractal detrended fluctuation analysis (two important tools in the analysis of financial time series) have been employed to explore the inter dependency and multifractality of precious metals, gold, silver and platinum. Firstly, it is presented that multiple wavelet coherence provides higher resolution to visualize inphase movement of different time series in time and frequency space compared to any other traditional correlation function analysis (Yilmaz & Unal, 2016). The direct observation allowed us to conclude that all three metals are highly correlated at higher periods throughout the time, especially around 256day period.
We have observed that long range dependence is weaker over certain periods of time and frequency, which might be due to asymmetric errorcorrection mechanisms between precious metal prices during shocks or stresses. This could mean that it would take time at different rates for all metal prices to find equilibrium. This is parallel with the findings of (Kucher & McCoskey, 2017) whom stated that the long run relationships between precious metals are strongly influenced by economic conditions.
Compared to univariate counterparts (ARFIMA), it is depicted that the consistency and performance of forecasting with multifractal time series is remarkably increased with multivariate models (VARFIMA) (Durr et al., 1997). This was also true in spite of the size of the data set chosen (Dueker & Startz, 1998) where we have used set of data from 300 daily prices up to 1100 daily prices.
The generalized Hurst exponents of all precious metals have revealed that daily prices of precious metals do possess long range dependence with persistent structure and demonstrate multifractal behavior in general. Furthermore, local Hurst exponents of precious metals at 256day period turned out to be multifractal as well. The local Hurst exponents are at the highest part of the scale during their latest timeframes. It indicates a strengthening trend in terms of longrange dependence with persistent structure (Ihlen, 2012), which means that the periods do not experience large variations and the prices are evolving in slower pace.
A new intercalculated fluctuation function time series is generated during the calculations of local Hurst exponents. These fluctuation function time series are used to model and forecast the data for the next 30 days. Even though both of the methods (ARFIMA and VARFIMA) are adopted to integrate time series into the model fractionally and all series demonstrate multifractal behavior, ARFIMA model have almost never produced forecasting results as successful as VARFIMA model which have outperformed its univariate match conspicuously. This has proven the fact that obtaining data couples with higher correlation helps accomplish better forecasting results.
Jiang and Zhou developed multifractal detrended moving average cross correlation analysis (Jiang & Zhou, 2011) based on detrended fluctuation analysis. For future research, it may be utilized to compare with the current methodology.
Change history
28 August 2019
An error occurred during the publication of a number of articles in Financial Innovation. Several articles were published in volume 5 with a duplicate citation number.
Abbreviations
 ARFIMA:

AutoRegressive Fractionally Integrated Moving Average
 COI:

Cone of Influence
 CWT:

Continuous Wavelet Transform
 DWT:

Discrete Wavelet Transform
 MENA:

Middle East and North African
 MFDFA:

Multifractal DeTrended Fluctuation Analysis
 MWC:

Multiple Wavelet Coherence
 VARFIMA:

Vector AutoRegressvie Fractionally Integrated Moving Average
References
AguiarConraria L, Soares MJ (2012) The continuous wavelet transform: a primer. Working paper no. 16/2011. NIPE  University of Minho, Portugal, pp 1–43
AguiarConraria L, Soares MJ (2013) The continuous wavelet transform: moving beyond uni and bivariate analysis. J Econ Surv 28(2):344–375
Akaike H (1974) Stochastic theory of minimal realization. IEEE Trans. Autom. Control 19(6):667–674
J. Barunik, E Kocenda and L Vacha, Gold, oil, and stocks, (Preprint, 2013), arXiv: 1308. 0210 [qfin.ST]
Benbachir S, Alaoui MH (2011) A multifractal detrended fluctuation analysis of the Moroccan Dirham with respect to the US dollar. Int Econ Finance J 6(2):287–300
BoxSteiensmeier JM, Tomlinson AR (2000) Fractional integration methods in political science. Elect. Stud. 19(1):63–76
Burrus CS, Gopinath RA, Guo H (1998) Introduction to wavelets and wavelet transforms  a primer. Prentice Hall, New Jersey
Clarke HD, Lebo M (2003) Fractional (co) integration and government party support in Britain. Br. J. Polit. Sci. 33(2):283–301
Das D, Bhowmik P, Jana RK (2018) A multiscale analysis of stock return comovement and spillovers: evidence from Pacific developed markets. Physica A 502:379–393
Das D, Kannadhasan M, AlYahyaee KH, Yoon S (2017) A wavelet analysis of comovements in Asian gold markets. Physica A 492:192–206
Dick OE, Mochovikova IA (2011) Multifractal and wavelet analysis of epileptic seizures. Chaos Theory:159–166
Dueker M, Startz R (1998) Maximumlikelihood estimation of fractionally cointegration with an application to U.S. and Canadian bond rates. Rev. Econ. Stat. 80(3):420–426
Dunsmuir WTM, Hannan EJ (1976) Vector linear time series models. Adv. Appl. Probab 8(2):339–364
Durr RH, Gilmour JB, Wolbrecht C (1997) Explaining congressional approval. Am. J. Polit. Sci. 41(1):175–207
Gencay R (2002) Discrete wavelet transforms, An introduction to wavelets and other filtering methods. Finance Econ 1:96–160
Grinsted J, Moore C, Jevrejeva S (2004) Application of the cross wavelet transform and wavelet coherence to geophysical time series. Nonlinear Process Geophys 11(5/6):561566
Gülerce M, Ünal G (2016) Using wavelet analysis to uncover the comovement behavior of multiple energy commodity prices. Int. J. Wavelets Multiresolution Inf. Process 14(6):1650047
Hammoudeh S, Yuan Y, McAleer M, Thompson M (2010) Precious metalsexchange rate volatility transmission and hedging strategies. Int Rev Econ Financ 19(4):698–710
Hannan EJ (1981) Estimating the dimension of a linear system. J. Multivar. Anal 11(4):459–473
Haven E (2012) Denoising option prices with the wavelet method. Eur J Oper Res 222(1):104–112
He K, Chen Y, Tso GKF (2017) Price forecasting in the precious metal market: a multivariate EMD denoising approach. Recources Policy 54:9–24
Ihlen E (2012) Introduction to multifractal detrended fluctuation analysis in Matlab. Front Physiol 3(141):1–18
Jiang Z, Zhou W (2011) Multifractal detrending movingaverage cross correlation analysis. Phys Rev E 81(1):1–11
Kantelhardt JW, Zschiegner SA, KoscielnyBunde E, Havlin S, Bunde A, Stanley HE (2002) Multifractal Detrended Fluctuation Analysis of Nonstationary Time Series. Physica A 316:87–114
Klein T (2017) Dynamic correlation of precious metals and flighttoquality in developed markets. Financ Res Lett 23:283–290
Kucher O, McCoskey S (2017) The longrun relationship between precious metal prices and the business cycle. Q. Rev. Econ. Finance 65(C):263–275
Mahdavi S, Zhou S (1997) Gold and commodity prices as leading indicators of inflation: tests of longrun relationship and predictive performance. J Econ Bus 49(5):475–489
Mandelbrot BB, Van Ness JW (1968) Fractional Brownian motion, fractional noises and its applications. SIAM Rev 10(4):254–282
McCarthy J, Orlov a G (2012) Timefrequency analysis of crude oil and S&P 500 futures contracts. Quant. Finan 12(12):1893–1908
Oral E, Unal G (2017a) Comovement of precious metals and forecasting using scale by scale wavelet transform. Int J Financial Eng 4(1):1–21 1750007
Oral E, Unal G (2017b) Dynamic correlation of eastern and western markets and forecasting: Scalebyscale waveletbased approach. Int J Financial Eng 4(3):1–22 1750040
Peña D, Sanchez I (2007) Measuring the advantages of multivariate vs univariate forecasts. J. Time Ser. Anal. 28(6):886–909
Quenouille MH (1957) The analysis of multiple time series. Grien, London
Ranson, D., Wainright, H.C., Why gold, not oil, is the superior predictor of inflation. Gold report, World Gold Council, November, 2005
Reboredo JC, RiveraCastro MA (2014) Gold and exchange rates: downside risk and hedging at different investment horizons. Int Review Econ Finance 34:267–279
Sensoy A (2013) Generalized Hurst exponent approach to efficiency in MENA markets. Physica A 392:5019–5026
Sensoy A, Tabak BM (2015) Timevarying long memory in European Union stock markets. Physica A 436:147–158
Sowell F (1989) Maximum likelihood estimation of fractionally integrated time series models working paper. CarnegieMellon University
Thompson JR, Wilson JR (2016) Multifractal detrended fluctuation analysis: practical applications to financial time series. Math Comput Simul 126(C):63–88
Tiwari AK, Albulescu CT, Yoon SM (2017) A multifractal detrended fluctuation analysis of financial market efficiency: comparison using Dow Jones sector ETF indices. Physica A 483:182–192
Torrence AC, Compo GP (1998) A practical guide to wavelet analysis. Bull. Am. Meteorol. Soc. 79(1):61–78
Tsay RS (2013) Multivariate time series analysis: with R and financial applications, Wiley Senes in probability and statistics. Wiley, New York
Yilmaz A, Unal G (2016) Comovement analysis of Asian stock markets against FTSE100 and S&P 500: wavelet based approach. Int J Financial Eng 3(4):1–19 1650033
Zhang X, Zeng M, Meng Q (2017) Asymmetric multiscale multifractal analysis of wind speed signals. Int J Modern Physics C 28(11):1750137
Zhu H, Zhang W (2017) Multifractal property of Chinese stock market in CSI 800 index based on MFDFA approach. Physica A 490:497–503
Acknowledgements
We would like to thank our anonymous referees for their constructive comments and valuable contributions.
Funding
Not Applicable.
Availability of data and materials
The datasets generated and/or analyzed during the current study are available from Yahoo Finances! or from corresponding author on reasonable request.
Authors` contributions
EO analyzed the data with multiple wavelet coherence and multifractal detrended fluctuation analyses and generated forecasting results using vector autoregressive fractionally integrated moving average model. GU was the supervisor in construing the results, conclusion as well as in writing the manuscript. All authors read and approved the final manuscript. The content of the manuscript has not been published or submitted for publication elsewhere.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1
Forecasting results
Appendix 2
Hurst exponents for real and scale 256 data
Appendix 3
Local Hurst Exponents
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Oral, E., Unal, G. Modeling and forecasting time series of precious metals: a new approach to multifractal data. Financ Innov 5, 22 (2019). https://doi.org/10.1186/s4085401901353
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4085401901353
Keywords
 Continuous wavelet transform
 Multiple wavelet coherence
 Multifractal detrended fluctuation analysis
 Vector autoregressive fractionally integrated moving average
 Forecast