1 Introduction
Since the seminal paper on long-range cross-correlation analysis [
1], cross correlation and joint multifractality have received considerable research interest. Considerable research effort has been focused on extending the traditional multifractal detection approaches into cross or joint multifractal formulism and applying those methods to diagnose cross or joint multifractality in many real systems.
Existing cross or joint multifractal analysis methods are all rooted from traditional approaches on multifractal analysis, such as partition function methods [
2-
4], structure function methods [
5,
6], detrended fluctuation analysis [
7-
9], and detrending moving-average analysis [
10-
13]. In 1990, Meneveau
et al. proposed a joint multifractal analysis method to handle the joint partition function of two multifractal measures and to study the relationship between the dissipation rates of kinetic energy and passive scalar fluctuations in fully developed turbulence [
14], which is also termed as multifractal cross-correlation analysis based on the partition function approach (MF-X-PF) [
15]. Wang
et al. independently studied multifractal statistical moment cross-correlation analysis (MFSMXA) [
16], which is a special case of the MF-X-PF. Xie
et al. theoretically derived and numerically validated the expression of the multifractal formula for binomial measures [
15]. Kristoufek proposed multifractal height cross-correlation analysis (MF-HXA) based on structure function [
17]. Zhou generalized the detrended fluctuation analysis into multifractal detrended cross-correlation analysis (MF-X-DFA) [
18], which is a multifractal version of detrended cross-correlation analysis (DCCA) [
1]. Jiang and Zhou extended the multifractal detrending moving-average analysis (MF-DMA) [
13] and detrending moving-average analysis (DMA) [
10,
12-
24] into cross multifractal formulism, namely MF-X-DMA [
25]. Other multifractal cross-correlation analysis methods include multifractal cross-correlation analysis (MFCCA) [
26,
27], and multifractal detrended partial correlation analysis (MFDPXA, including MF-PX-DFA and MF-PX-DMA) [
28].
Using these approaches, long-range cross correlations have been empirically uncovered in pairs of series from different financial markets. Wang
et al. found significant cross correlations between return series of Chinese A-share and B-share markets [
29]. The spot and future markets, like crude oil and CSI 300 index, were reported to exhibit cross multifractal features [
30,
31]. Wang and Xie found that the Chinese currency and four major currencies (USD, EUR, JPY, and KRW) are significantly cross correlated [
32]. Ma
et al. also confirmed the cross correlations between the Chinese stock markets and surrounding stock markets in Japan, South Korea, and Hong Kong [
33]. Wang
et al. reported that the returns and trading volumes of CSI 300 index exhibit a long range cross correlated behavior [
34]. Wang
et al. developed an improved method of minimum-variance hedge ratio, namely the detrended minimum-variance hedge ratio, to capture the hedge ratio at different time scales [
35]. Zhou and Chen proposed an arbitrage trading strategy based on the DCCA coefficients and found that this strategy could offer a positive and time-stable return [
36].
Wavelet transform has long been applied to the study of fractals and multifractals [
37,
38] and a partition function approach based on wavelet transform has been proposed [
39]. Jiang
et al. generalized the multifractal wavelet analysis to the bivariate case, namely MF-X-WT [
40], which is a multifractal generalization of the cross wavelet transform [
41-
43]. Recently, a new method of wavelet leaders has been proposed to characterize the multifractality [
44-
46]. In this paper, we propose a new joint multifractal analysis based on wavelet leaders, called joint multifractal analysis based on wavelet leaders (MF-X-WL). Similar to the MF-X-PF and MF-X-WT methods, we introduce two orders in the MF-X-WL method. We check the performance of this method by performing extensive numerical experiments with two mathematical models and also use this method to detect the cross multifractality in pairs of series from financial markets and online worlds.
2 Methods
2.1 Definition of wavelet leader
For completeness, we briefly review the definition of wavelet leaders [
44-
46]. Wavelet leaders are defined based on discrete wavelet coefficients, which decompose the signals
on the orthogonal bases
composed of discrete wavelets
. Integers
j∈
Z and
k∈
Z represent the scale
and location
. Wavelets
are space-shifted and scale-dilated templates of a mother wavelet
, such that
The mother wavelet should have a compact time support. Further, the quadrature mirror filters should also have finite impulse responses. In practice, the Daubechies bases are found to satisfy such conditions. In this paper, the Daubechies wavelet with order 1 is used. The discrete wavelet coefficients are defined as follows,
One defines a dyadic interval as
and denotes the union of the interval λ and its 2 adjacent neighbors as 3λ,
Following Ref. [
44], the wavelet leader
is defined as
The physical meaning of Eq. (5) is that the wavelet leader corresponds to the largest value of the absolute wavelet coefficients calculated on intervals, , with . Note that all the fine scales must be considered to compute the wavelet leaders.
2.2 Cross multifractal formalism based on wavelet leaders
Motivated from the multifractal formalism of wavelet leaders [
44-
46] and the multifractal cross correlation analysis [
1,
15-
18,
25], we propose an algorithm to detect the cross multifractality in a pair of series,
and
, based on wavelet leaders, namely, joint multifractal analysis based on wavelet leaders with two moment orders
p and
q (MF-X-WL
). First, the wavelet leaders of both series are estimated at different scales
, yielding
and
. For a given scale
, we can define the joint partition function with moment orders
p and
q based on wavelet leaders,
where nj is the number of wavelet leaders at scale . When x=y and p=q, we recover the traditional multifractal formalism based on wavelet leaders. One can also expect the following scaling behavior if the underlying processes are cross multifractal,
where is the joint scaling exponents. Obviously, we can estimate by regressing against in the scaling range for a given pair .
In analogy with the double Legendre transforms in MF-X-PF
[
15] and the multifractal formalism of wavelet leaders [
44-
46], we can obtain singularity strengths
hx and
hyand the multifractal spectrum for MF-X-WL
As pointed out by Muzy
et al. [
39], the estimation of singularity strength and multifractal spectrum based on the Legendre transform may generate various errors because of the innate disadvantages of the Legendre transform. They also proposed an alternative method to compute
h and
based on the canonical method, which is known as a direct estimation method [
47]. This inspires us to directly estimate the singularity strength,
hx and
hy, and the multifractal spectrum
through the following equations,
where . Thus, we can directly determine the singularity strength, and , and multifractal function, , from the log-log plots of the quantities in Eqs. (11)–(13).
3 Numerical experiments
Here, we first conduct two numerical experiments, including binomial measures generated from the multiplicative
p-model [
48] and bivariate fractional Brownian motions (bFBMs) [
49-
51], to test the validity and performance of the proposed MF-X-WL
approach.
3.1 Joint multifractal analysis of binomial measures
As the first example, we conduct a numerical experiment for testing the validity of our algorithm on two binomial measures
and
from the
p-model with known analytic multifractal properties [
48]. Each binomial measure is generated in an iterative manner. We start with the zeroth iteration
i=0, where the data set
consists of one value,
. In the
i-th iteration, the data set
is obtained from
for
. In particular,
is divided into two pieces, one has a fraction of
pz and the other has a fraction of
. When
,
tends to a binomial measure, whose partition function
and scaling exponent function
have an analytic form [
45], then
We use the p-model with an iterative number i=16 to generate two series and in our numerical experiments. The fraction parameter pz are set as for and for , respectively. The analytic scaling exponent functions and of x and y are expressed in Eq. (15), when we replace z with x and y. Because both series are generated in terms of the same rule, the two series x and y are strongly correlated with a coefficient of 0.82. The same construction process of and ensures cross multifractality between the two series. This also allows us to derive the theoretical expressions for the partition function and scaling exponent function,
We first consider the scenario of p=q. The results are shown in Fig. 1.
Figure 1(a) illustrates the power-law behaviors, spanning more than three orders of magnitude, between the partition functions and the scale . Figures 1(b) and (c) present the linear behaviors of the two quantities and against . By linearly regressing the data in plots (a)–(c), we can obtain the scaling exponent function , the singularity strength , and the multifractal function . In Fig. 1(d), the estimated scaling exponents and theoretical function in Eq. (18) are plotted with respect to q for comparison. One can see that the empirical and theoretical values agree with each other appropriately when q≤5; further, the estimation errors are also acceptable when , suggesting that MF-X-WL exhibits good performance in detecting the cross multifractal nature in two binomial measures. Furthermore, the nonlinear behavior between and q is a hallmark of multifractality, agreeing with our expectation. Figure 1(e) presents a comparison of the singularity strength obtained from different methods. The solid line corresponds to the theoretical values. The squares and circles are obtained from the first derivation of the scaling exponents and the estimation of the slopes in Fig. 1(b). One can find that the square and circle curve perfectly coincide with each other. However, both curves exhibit a downward shift from the theoretical line. Figure 1(f) illustrates the multifractal spectra of two binomial measures, in which a theoretical line and two estimated curves are plotted. Both empirical curves , obtained from Eq. (10) (squares) and Eq. (13) (circles), are in good agreement with each other and exhibit deviations from the theoretical line on the left side, resulting from the estimation errors in when . Our results suggest that the MF-X-WL is able to provide acceptable results in the analysis of cross mutifractality in two binomial measures.
Then, we remove the restriction of p=q. Figure 2 illustrates the corresponding results. In Fig. 2(a), we present the power-law dependence between the partition function and the scale for different q with fixed p=2. The power-law behavior spans more than three orders of magnitudes. Figures 2(b)–(d) illustrates the plots of the three quantities, , , and with respect to the scale . Again, desirable linear behaviors are observed between the three quantities and the logarithmic scale. The power-law exponents in panel (a) correspond to the scaling exponents . In Fig. 2(e), we plot the scaling exponents as a function of p and q. Obviously, we can see that is a nonlinear function of p and q, verifying the cross multifractility in the two binomial measures.
Through the double Legendre transform presented in Eqs. (8)–(10), we can numerically determine the two singularity strength functions
and
and the multifractal spectrum
from
. The corresponding
,
, and
are shown in Figs. 2(f), (g), and (h), respectively. Alternatively, Eqs. (11)–(13) provide another way to directly estimate the joint singularity strengths,
hx and
hy, and the multifractal function
, which are the slopes in panels (b), (c), and (d). Moreover, the results from the direct methods are illustrated in Figs. 2(j), (k), and (l). In Fig. 2(i), we plot the theoretical multifractal spectrum (blue dots) and two empirical multifractal spectra. One of the empirical spectra is obtained from the Legendre transform of
(black dots) and the other empirical spectrum is given by the direct determination approach (red dots). We find that the three multifractal spectra
are not a planar surface, but a surface with curvatures, suggesting a univariate function relationship between
and
hx and/or
hy. Such univariate function behavior of multifractal spectra is also uncovered by the MF-X-PF
method [
15]. The two empirical multifractal spectra do not overlap exactly with the theoretical spectrum, suggesting the existence of estimation errors when applying MF-X-WL
to test the joint multifractal nature of two binomial measures.
3.2 Joint multifractal analysis of bivariate fractional Brownian motions
A bivariate fractional Brownian motion (bFBM)
with parameters
is a self-similar Gaussian process with stationary increments, where
and
are two univariate fractional Brownian motions with Hurst indices
and
as well as the two components of the bFBM. Further, the basic properties of multivariate fractional Brownian motions have also been extensively studied [
49-
51]. Extensive numerical experiments of multifractal cross-correlation analysis algorithms have been performed on bFBMs [
15,
25,
28]. The two Hurst indexes
and
of the two univariate FBMs and their cross-correlation coefficient
ρ are input arguments of the bFBM synthetic algorithm. By using the simulation procedure describe in Refs. [
50,
51], we have generated a realization of bFBM with
,
, and
ρ=0.3. The length of the bFBM is
.
Following Ref. [
15], the cross singularity strength
is a constant if each component is monofractal, which also leads to the constant cross multifractal spectrum
. In Fig. 3, we present the results of the joint multifractal analysis on bFBMs using the MF-X-WL
algorithm. Figure 3(a) illustrates the joint partition function
against the scale
for different
q with fixed
p=2. Intriguing power-law behaviors are observed between the partition functions and the scales. The least-squares estimation gives the scaling exponents
. In Fig. 3(b), the scaling exponents
are plotted with respect to the moment orders
p and
q. A plane is observed, indicating that there is a linear relationship between
and the moment orders
p and
q. Such results agree well with the theoretical expectation. The bivariate regression gives that
Comparing with Eq. (10), we have , , and .
Eqs. (8) and (9) also provide an approximate way to estimate
hx and
hy. In Figs. 3(c) and (d), we plot the joint singularity strength
hx and
hy, numerically estimated from taking the forward difference of
, with respect to the moment orders
p and
q. The estimated joint singularity strengths
hx and
hy vary in a very narrow range, verifying the monofractal features. The average values of
hx and
hy are 0.4229 and 0.7652, which suitably agree with
and
. Based on
hx and
hy, we can further provide the multifractal function following Eq. (10), which is plotted with respect to
p and
q in Fig. 3(e), and against
hx and
hy in Fig. 3(f). The singularity function
varies in a range from 0.7 to 1 with a mean value of 0.9457, smaller than
. The estimated
hx,
hy, and
from both approaches differ to a certain degree from the corresponding theoretical values of
,
, and
. The wide spanning range of
also indicates that MF-X-WL may yield spurious multifractality for bFBMs. The spurious results also strengthen the necessity of performing statistical tests on checking multifractality based on bootstrapping [
52,
53].
4 Applications
4.1 Financial markets
In this section, we first apply the MF-X-WL algorithm to uncover the cross multifractality in daily returns and volatilities of the Dow Jones Industrial Average (DJIA) index and the National Association of Securities Dealers Automated Quotations (NASDAQ) index. The daily return is defined as the logarithmic difference of daily closing prices:
where is the closing price of the DJIA or the NASDAQ on day t. Both indexes are retrieved from Yahoo! finance. The spanning period of both indexes is from 5 December 1983 to 17 June 2016, containing 8192 data points in total. The volatilities are defined as the absolute values of the daily returns.
We present empirical results when applying MF-X-WL on the returns and volatilities of the DJIA index and the NASDAQ index in Fig 4. The left two columns and right two columns of Fig. 4 correspond to the cross multifractal analysis of the two return series and the two volatility series, respectively.
In panels (a) and (c), the partition function is plotted with respect to the scale for different q with fixed p=2. One can see that in both panels the power-law scaling is extremely good, spanning over two orders of magnitude. This means that the scaling range covers from several days to more than 8 years. The linear regression of with respect to for a given pair of p and q, gives the mass exponents , which are shown in panels (b) and (d). Intriguingly, the mass exponents are a nonlinear function of p and q in the two panels, indicating the presence of cross multifractal features in the return series and the volatility series.
The joint singularity strength functions, hx and hy, are plotted in panels (e, g) and panels (f, h), respectively. The singularity functions are numerically estimated from . We note that the singularity functions hx and hy of returns and volatilities are well dispersed and span ranges greater than 0.5 and are a monotonic function of p or q. Such a width of both singularity strength functions confirms the existence of joint multifractality in the two return series and volatility series. We also find that the joint singularities of volatilities are greater than those of returns on average, indicating stronger memory behaviors in the volatility pairs.
Figures 4(i) and (k) illustrate the multifractal function obtained from the double Legendre transform. It is observed that the multifractal function is located in the range of with the maximum point at the point of in both panels. In Figs. 4(j) and (l), we sketch the multifractal spectrum for returns and volatilities. Our empirical findings favor the existence of joint multifractality in return and volatility pairs of DJIA and NASDAQ.
4.2 Online world
Following Ref. [
54], next, we investigate the cross multifractal feature in the online number of avatars in a massive multiplayer online role-playing game (MMORPG). Our online number records how many avatars are online simultaneously each minute. We extract two pairs of online number of avatars from a popular MMORPG in China. In this virtual world, players need to select a gender when they create their avatars. Further, when avatars achieve the level of 16, their operators need to assign the avatars to be a member in one of two opposed societies, namely, Xian and Mo societies. The first pair corresponds to the online number of male
nm and female
nf avatars. The second pair is the online number of avatars in Xian
nX and Mo
nM societies. Each series covers a period from June 2, 2011 to September 3, 2011 with a total number of 131072 points. Then, we apply the MF-X-WL
to analyze the cross multifractal nature in each pair of the online numbers.
The empirical results of cross multifractal analysis are plotted in Fig. 5 for two pairs of online numbers. We show the empirical cross multifractality in the pair of nm and nf in the left two columns and of nX and nM in the right two columns.
Figures 5(a) and (c) illustrate the power-law relationship between the partition function and the scale for different q with fixes p=2. We observe that the spanning range of the power-law is more than three orders of magnitude, which means that the scaling range spans over several minutes to more than 10 days. The mass exponents , corresponding the power-law exponents of versus , are shown in Figs. 5(b) and (d). In both panels, the mass exponents increase nonlinearly with respect to p or q, implying the evident cross multifractality in both pairs of the online numbers.
Following Eqs. (8)–(9), we numerically estimate the joint singularity strength functions hx and hy and plot them in Figs. 5(e, g) and (f, h), respectively. One can see that, for both pairs of online numbers, the shapes of hx are very similar to each other. We also observe that the maximum value, the spanning range, and the minimum value of hx are all very close in panels (e) and (g). For the joint singularity strength hy, very similar behaviors are observed. The widths of both singularity strength functions are very close to 0.8, further confirming the existence of cross multifractal nature in both pairs of online numbers. In Figs. 5(i, k) and (j, l), we further plot the multifractal function and multifractal spectrum for the pair of nm and nf and the pair of nX and nM, respectively. The wide spanning range of offers strong evidence in favor of the multifractal characteristics in the cross-correlation in both pairs of online numbers.
5 Summary and conclusions
In this study, we developed a new approach for joint multifractal analysis with two moment orders based on wavelet leaders, termed as MF-X-WL. The MF-X-WL approach overcomes the shortcoming of the multifractal wavelet analysis in that the moment order must be positive. Extensive numerical experiments have been carried out to verify the performance of the MF-X-WL method for which the testing time series pairs are generated from binomial measures and bivariate fractional Brownian motions. Furthermore, this MF-X-WL method has also been applied to time series pairs from financial markets and online worlds to test its ability to detect any joint multifractalities for which the testing data include pairs of returns, volatilities, and online avatar numbers.
In the numerical experiments, we found that the MF-X-WL
method can detect joint multifractality and monofractality in binomial measures and bivariate fractional Brownian motions, respectively; however, it cannot provide very accurate results. For the synthetic data, we can obtain desirable power-law scaling behaviors between the partition functions and the scale. Further, we can verify the nonlinear (respectively, linear) feature of the scaling exponent
against
p or
q for binomial measures (bivariate fractional Brownian motions). However, estimation errors are propagated when we calculate the joint singularity strengths and the multifractal functions [see Figs. 1(e, f), Fig. 2(i) and Figs. 3(c–f)]. As is known, compared with DFA-based methods, wavelet based methods are not the best approach for multifractal analysis [
9,
55]. Possible explanations are as follows: (i) Many other methods, like DFA, are directly applied on the series itself, while the wavelet-based approach is performed on the wavelet coefficients of the analyzed series. The wavelet transform could introduce computational errors, which could be magnified in follow-up multifractal analysis. (ii) The wavelet leaders are the maximum absolute wavelet coefficients across all scales under consideration. Dropping the non-maximum wavelet coefficients may induce errors in follow-up analysis, because these values may have information of multifractality. However, it is still beneficial to investigate wavelet-based multifractal methods, since wavelet analysis is wildly accepted in the field of economics and finance, compared to other Econophysics methods.
In the applications, we used the MF-X-WL method to analyze the joint multifractality in pairs of returns and volatilities in stock markets and pairs of online avatar numbers in an online world. All the empirical results confirm the presence of joint multifractality in pairs of financial series and online number series. Because of a dearth of theoretical solutions on multifractal formulism for real world series, we cannot decisively state the accuracy of the MF-X-WL
. One possible solution is to compare with the results of other methods, like MF-DCCA [
18,
25], MFCCA [
26,
27], and MF-X-PF [
15]; however this is left for future research.
In addition, attention should be drawn to the origin of cross multifractality in future research. The fat tail distribution and long-range dependence are considered as two main origins of multifractaliy in single series. Inspired by the part of Lx and Ly in Eqs. (11) and (12), we expect that these two features still play an important role in generating cross mulitfractality. Furthermore, in Eqs. (11)–(13) also suggests that the long-range cross dependence between pairs of series is the third origin of cross multifractality. We will strictly perform statistical tests to check the three origins of cross multifractality in the future.
Higher Education Press and Springer-Verlag Berlin Heidelberg 2017