# Characterizing Multi-Scale Self-Similar Behavior and Non-Statistical Properties of Fluctuations in Financial Time Series.

## Abstract

We make use of wavelet transform to study the multi-scale, self similar behavior and deviations thereof, in the stock prices of large companies, belonging to different economic sectors. The stock market returns exhibit multi-fractal characteristics, with some of the companies showing deviations at small and large scales. The fact that, the wavelets belonging to the Daubechies’ (Db) basis enables one to isolate local polynomial trends of different degrees, plays the key role in isolating fluctuations at different scales. One of the primary motivations of this work is to study the emergence of the behavior [[1]] of the fluctuations starting with high frequency fluctuations. We make use of Db4 and Db6 basis sets to respectively isolate local linear and quadratic trends at different scales in order to study the statistical characteristics of these financial time series. The fluctuations reveal fat tail non-Gaussian behavior, unstable periodic modulations, at finer scales, from which the characteristic power law behavior emerges at sufficiently large scales. We further identify stable periodic behavior through the continuous Morlet wavelet.

###### keywords:

Non-stationary Time Series, Wavelet Transform, Fractals, Power Law.###### Pacs:

05.45.Tp, 05.45.Df, 89.65.Gh, 89.65.-s[cor1]Corresponding author

## 1 Introduction

Study and characterization of fluctuations in financial time series are subjects of considerable interest [[2], [3]] (and references therein). These non-stationary time series are well known to exhibit multiple characteristics depending on the scale of observation [[1]]. Apart from bursty behavior, fluctuations exhibit self-similar features, with non Gaussian characteristics [[4]] and inverse cubic law behavior [[2], [1], [5], [6]]. The advent of wavelet transform [[7]] enabled one to isolate fluctuations at different scales, for their characterization. The study of fluctuation functions, both by multifractal detrended fluctuation analysis (MFDFA) and wavelet analysis reveals multi-fractal behavior [[5], [6], [8], [9], [10], [11]].

In particular, the wavelets belonging to the Daubechies family enabled one to isolate local polynomial trends of different orders, in a manner where the fluctuations at different scales are completely independent. This is because of the exact orthogonality property of the discrete wavelet basis sets at different scales [[12]]. This study has revealed non-statistical features in certain financial time series, in the context of BSE-100 price indices [[11]]. The presence of correlations in various time series that can removed through shuffling is called the non-statistical property of a time series [[11]]. These non statistical correlations are the artifacts of external impulses provided by the socio-political factors. The fact that, determination of multi-fractal behavior requires isolation of local fluctuations, both at low and high scales, motivates one to study their statistical characteristics more carefully. Apart from the study of their non-Gaussian properties at different scales, this analysis will also help in throwing more light on the non-statistical nature of the fluctuations. We make use of Db4 and Db6 discrete wavelets to respectively extract and study the fluctuations at multiple scales several large-cap equities listed in the New York stock Exchange, belonging to different sectors of the economy. We have systematically checked non-Gaussianity and self-similar characteristics of the multi-scale variations, while checking emergence of behavior of the averaged fluctuations. The study reveals the difference in the self-similar behavior of the various companies and presence of non-statistical behavior at small and large scales in certain cases. Fluctuation analysis indicates the presence of unstable, short periodic modulations. One also observes local periodic behavior of longer duration, ably identified by the Morlet wavelet. It is found that companies belonging to different sectors of the economy show distinct phase lags, in their periodic modulations. To summarize the main results of the work, in this article we show the convergence of the as a function of the scale (corresponding to coarser grained analysis) and the presence of periodic phase shifted modulations of the various companies as functions of different scales. We must point out that this kind of analysis on the fluctuations to ascertain the behavior of the power law exponent and the statistical properties of the fluctuations has not been carried out before to the best of our knowledge.

## 2 Theory and Methodology

### 2.1 Data

We use the closing prices of fifteen large-cap companies listed in the New York Stock Exchange (NYSE) [[13]] in our analysis. In this work, we limit ourselves to the behavior of the large-cap equities and are interested in the connections this specific section of the economy shows. The list of the equities is given in Table 1.

Company | NYSE ticker | Start date | End Date |
---|---|---|---|

symbol | MM-DD-YYYY | MM-DD-YYYY | |

Bank of America | BAC | 05-29-1986 | 10-02-2009 |

Boeing Co. | BA | 01-02-1962 | 10-02-2009 |

General Electric Co. | GE | 01-02-1962 | 10-02-2009 |

British Petroleum plc. | BP | 01-03-1977 | 10-02-2009 |

Coca Cola Co. | KO | 01-02-1962 | 10-02-2009 |

Pepsi Co. | PEP | 01-03-1977 | 10-02-2009 |

Lockheed Martin Corp. | LMT | 01-03-1977 | 10-02-2009 |

Walt Disney Co. | DIS | 01-02-1962 | 10-02-2009 |

Wal-Mart Stores Inc. | WMT | 08-25-1972 | 10-02-2009 |

International Business Machines Corp. | IBM | 01-02-1962 | 10-02-2009 |

McDonalds Corp. | MCD | 01-02-1970 | 10-02-2009 |

Ford Motor Corp. | F | 01-03-1977 | 10-02-2009 |

Alcoa Inc. | AA | 01-02-1962 | 10-02-2009 |

Merck and Co. Inc. | MRK | 01-02-1970 | 10-02-2009 |

American Express Co. | AXP | 04-01-1977 | 10-02-2009 |

### 2.2 Wavelet transforms

In this work, we will use both continuous and discrete wavelet transforms for the analysis of the equities. The Continuous Wavelet Transform (CWT) is useful in analyzing the periodic modulations present in the time series at different scales. It is noteworthy to point out here that since the continuous wavelet basis is over complete, the wavelet coefficients obtained from CWT cannot be used to reconstruct the time series and hence cannot be used to extract fluctuations. We employ Discrete Wavelet Transforms (DWT) to achieve the extraction of fluctuations.

#### Discrete Wavelet Transform (DWT)

Discrete wavelet transform (DWT) [[14], [12]], is composed of two kernels called the father wavelet and the mother wavelet , which satisfy the following admissibility conditions [[7], [15]]:

(1) | |||||

(2) |

The daughter wavelets (which are scaled and translated versions of the mother wavelet)

(3) |

differ from the mother wavelet in terms of the height and the width which, at the scale differ by a factor of and respectively. and are the scaling parameters and are real and positive integers respectively.

The discrete wavelet decomposition of a function is given by,

(4) |

where s are the low pass coefficients, which capture the trend (average behavior or the long wavelength components) and s are the high pass coefficients that extract the high frequency components (or fluctuations) of the function. Multi Resolution Analysis (MRA) [[7]] leads to,

(5) | |||

(6) |

where, and are the low pass and high pass filter coefficients respectively. It is worth emphasizing that low pass and high pass coefficients at a given scale can be obtained by low pass coefficients alone at a higher scale. Thus, we can go from a high resolution analysis of the function to a progressively coarse grained picture by convolution with the filter coefficients.

#### Continuous Wavelet Transform (CWT)

Continuous wavelet transform was pioneered by Morlet [[12]]. An integrable, well localized (in both the physical and Fourier domains), zero mean function, the mother wavelet , is used as the analyzing function. Given a discrete data set , the wavelet coefficients are calculated by convolving the , with the scaled and translated . The wavelet coefficients are given by,

(7) |

where is the scale. The admissibility conditions are given by,

(8) | |||||

(9) | |||||

(10) |

Here is the number of spatial dimensions. In our analysis, we use the complex Morlet wavelet given by,

(11) |

where, n is the localized time index. Though Eq.(11) is a marginally admissible function, it is made admissible by taking . The Fourier wavelength of , , is given by,

(12) |

implying that the scale and the wavelength for the Morlet wavelet are approximately equal. The scale and frequency are related by,

(13) |

The cone of influence (COI) defined in [[16]], is the region, beyond which, convolution errors make the wavelet coefficients unreliable for analysis [[14]].

### 2.3 Returns and autocorrelation function

It is well known that for a given time series , a slowly decaying autocorrelation function given by,

(14) |

signifies non-stationarity in [[17], [18]]. Here, is the correlation for the lag , where N is the length and is the maximum allowed lag [[18]]. are the mean of and respectively and are the corresponding standard deviations.

However, a differencing operation, like log normalized returns can make the corresponding time series stationary [[18]], i.e., the autocorrelation function reaches the level of noise very quickly. The normalized log returns (NLR), are defined as,

(15) |

where, and is called the volatility of returns. We consider the NLR for further analysis. We observe that though the stock prices show non-vanishing autocorrelation (Fig.a), the auto correlation function of the normalized log returns tends to zero very quickly, signifying stationarity(Fig.b). This behavior is observed in the time series of all the companies. We concentrate on the self similar characteristics of the fluctuations and use the Daubechies’ family of wavelets to this end.

### 2.4 Wavelet based fluctuation extraction and analysis and characterization of multifractality

The Daubechies family of wavelets are made to satisfy vanishing moments conditions,

(16) |

due to which this family of wavelets extracts polynomial trends. For example, with Db4, where, , the wavelet coefficients are blind to a linear trend. These are captured by the low-pass coefficients. A discussion on this can be found in [[7]]. We use this property to extract the fluctuations from by reconstructing the original signal at each level using the approximation coefficients and then taking the difference of the reconstructed signal from the original signal. The algorithm used is shown in Fig.(3).

Fig.(4) depicts the NLR and the fluctuations extracted by the wavelet based method. The top plot shows the NLR, the left and right columns are obtained using Db4 and Db6 wavelets respectively. We observe the transient and bursty behavior at different levels of analysis which were not apparent from the NLR.

The discrete wavelet based method to characterize multifractality proposed by Manimaran et al. [[8], [9]], has been successfully applied to extract multifractality of various time series [[10], [11], [19]]. In this procedure, we use the normalized log returns obtained through Eq(15) to obtain the time series profile by taking a cumulative sum of the normalized returns:

(17) |

Then, a DWT is applied on the profile, , to obtain the fluctuations of the profile at different scales. We use Db4 and Db6 to extract polynomial trends which are respectively locally linear and quadratic. The edge effects and the asymmetric nature affect the precision of the extracted fluctuations and hence, we use a DWT on the reverse profile to extract a new set of fluctuations. This new set of fluctuations are then reversed and averaged over the earlier obtained fluctuations to get the set of fluctuations for subsequent analysis.

We subdivide the fluctuations into non-overlapping segments , and being the length of the fluctuations and the scale respectively. The order fluctuation function is then obtained by squaring and averaging the fluctuations over all the segments:

(18) |

where, is the order of the moment. We repeat the above procedure for different scales for different values of except . We thus obtain the power law scaling behavior from the fluctuation function as,

(19) |

in a logarithmic scale for each value of . At , due to the divergence of the scaling exponent, a logarithmic averaging is employed to find the fluctuation function;

(20) |

For mono fractals time series [[20], [21]], is independent of , while for multi fractals, . The Hurst scaling exponent, , a measure of the fractal nature of the time series is calculated as and , where, and reveal, respectively, the anti-persistent and persistent nature of the time series.

### 2.5 Tests for Gaussianity

For a random variable , the cumulative distribution function (CDF) is given by,

(21) |

where, is the probability distribution function of . The Kolmogorov-Smirnov test (KS-test) [[22], [23]] is used to compare of an empirical time series with that of a normal or Gaussian distribution . The KS-statistic is given by,

(22) |

where, is the supremum defined as the lowest element of a subset of a partially ordered set which is greater than all other elements of . For a continuous , under the null hypothesis that it comes from , the quantity

(23) |

converges to the Kolmogorov distribution given by,

(24) |

where, is the Brownian bridge or a Brownian process. The Kolmogorov distribution is independent of [[24], [25], [26], [27], [28], [29]]. In the present case, the KS-test indicated non-Gaussian nature for fluctuations obtained through wavelet transforms.

However, we observe that though the fluctuations show non-Gaussian behavior(see Figs.a,b), sufficient averaging at the higher scales tends to bring the fluctuations towards a Gaussian behavior (skewness and kurtosis), as shown in Figs.c and d.

### 2.6 Power law behavior of the fluctuations

A random variable follows a power law if it belongs to a family of distributions of the form

(25) |

where, L(x) is a slowly varying function such that

(26) |

for . The It is observed (see Fig. b) that the behavior emerges at higher scales. Also, it can be seen from Fig. b, that at the scale , all the companies seem to converge to the same value of and diverge at higher scales.

## 3 Multi-fractality and non-statistical behavior

As described earlier, and wavelets have been used here to extract fluctuations at multiple scales, from which the corresponding fluctuation functions are constructed. The values are extracted from the , which have been plotted in Fig.d as a function of ranging from to . It is worth mentioning that the smaller values of get dominant contributions from small functions, whereas the large fluctuations contribute significantly for larger values. Multi-fractality is clearly observed in all the return time series. Interestingly, the -values extracted from the shuffled time series, showed different behavior for some companies, particularly at low and high -values. This reveals the non-statistical nature of the fluctuations of the corresponding companies [[30]]. We carried out a Fourier spectral analysis to independently verify the power law behavior of the fluctuations. The cumulative of the time series revealed power-law behavior in the frequency domain, as is clearly seen in Fig.b. Very interestingly, one observes a rising component in the mid-frequency domain. This is indicative of short, unstable periodic modulations, as has been seen in a characteristic of chaotic dynamical system, as unstable periodic orbits.

The dominant low-frequency periodic components can be economically extracted through the Morlet wavelets. The scalograms reveal two dominant modulations, depicted in Fig.b. One clearly observes, phase-lags between the periodic modulations of companies belonging to different sectors of the economy. One also finds that the periodic modulation at scale 512, is non-stationary, showing varying amplitudes at different times. In comparison, the periodic modulations at the scale 2048, is more uniform, being present, all through this time domain, under investigation. The distinct phase lags physically arises from the interdependence of different companies with each other. This has also manifested in the study of the fluctuation characteristics of different companies through random matrices [[31], [32], [33]]. From Fig.b, it can be observed that the behavior emerges at higher scales. It is to be emphasised that the rising component could be related to unstable periodic orbits in the dynamical time series [[30]].

## 4 Conclusion

In conclusion, we have made use of discrete and continuous wavelets to characterize the fluctuations in the return series of a number of large companies. As expected, the time series revealed non-Gaussian behavior at high-frequencies and after sufficient averaging, Gaussian behavior manifested in certain cases. Interestingly, the Fourier spectral analysis revealed the presence of short duration unstable modulations, akin to the ones observed in chaotic dynamical systems. The multi-fractal analysis showed, non-statistical nature of the fluctuations, for certain companies, both for high and low frequency fluctuations. It is observed that, after sufficient averaging the power law behavior emerges, when the contribution from the short, periodic modulations disappear. The Kolmogorov-Smirnov test performed to determine the Gaussianity of the fluctuations rejected the null hypothesis that the fluctuations belonged to a uniform distribution, for all the time series. It was found that the skewness and kurtosis tend towards the values for a uniform distribution ( and ), as the scale increases. The Morlet wavelet identified two dominant periodic modulations, where different companies, showed distinct phase lags. This suggests, a systematic study of these periodic components, by clustering, various companies into distinct groups. Random matrix approach to financial time series has also yielded, distinct groups, corresponding to different sections of the economy. Combining wavelet based approach, with the random matrix one, will lead to a better understanding of the inter-relationship of different company stock values. The nature and cause of the non-statistical components of the fluctuations, as manifested in the difference in the values at small and large frequencies, between shuffled and un-shuffled time series needs further analysis. These questions are currently under investigation.

## Acknowledgements

SG would like to thank the hospitality of IISER Kolkata where a part of this work was done. PM would like to thank the Dept. of Science and Technology for their financial support (DST-CMS GoI Project No. SR/S4/MS:516/07 Dated 21.04.2008).

## References

### References

- X. Gabaix, P. Gopikrishnan, V. Plerou, H. Stanley, A theory of power-law distributions in financial market fluctuations, Nature 423 (2003) 267–270.
- R. Mantegna, H. Stanley, An introduction to econophysics: correlations and complexity in finance, Cambridge Univ Pr, 2000.
- J. Bouchaud, M. Potters, Theory of financial risks: from statistical physics to risk management, Cambridge University Press Cambridge, UK, 2000.
- S. Ghashghaie, W. Breymann, J. Peinke, P. Talkner, Y. Dodge, Turbulent cascades in foreign exchange markets, Nature 381 (2003) 767–770.
- R. Mantegna, H. Stanley, Scaling behaviour in the dynamics of an economic index, Nature 376 (6535) (1995) 46–49.
- R. Mantegna, H. Stanley, Turbulence and financial markets, Nature 383 (1996) 587–588.
- I. Daubechies, Ten lectures on wavelets, 64 CBMS-NSF Regional Conference Series in Applied Mathematics, Society for Industrial Mathematics, 1992.
- P. Manimaran, P. Panigrahi, J. Parikh, Wavelet analysis and scaling properties of time series, Physical Review E 72 (4) (2005) 46120.
- P. Manimaran, P. Anantha Lakshmi, P. Panigrahi, Spectral fluctuation characterization of random matrix ensembles through wavelets, Journal of Physics A: Mathematical and General 39 (42) (2006) L599.
- P. Manimaran, P. Panigrahi, J. Parikh, Multiresolution analysis of fluctuations in non-stationary time series through discrete wavelets, Physica A: Statistical Mechanics and its Applications 388 (12) (2009) 2306–2314.
- P. Manimaran, P. Panigrahi, J. Parikh, Difference in nature of correlation between NASDAQ and BSE indices, Physica A: Statistical Mechanics and its Applications 387 (23) (2008) 5810–5817.
- M. Farge, Wavelet transforms and their applications to turbulence, Annual Review of Fluid Mechanics 24 (1) (1992) 395–458.
- Downloaded from yahoo finance.
- C. Torrence, G. Compo, A practical guide to wavelet analysis, Bulletin of the American Meteorological Society 79 (1) (1998) 61–78.
- S. Mallat, et al., A theory for multiresolution signal decomposition: The wavelet representation, IEEE transactions on pattern analysis and machine intelligence 11 (7) (1989) 674–693.
- S. G. Mallat, A wavelet tour of signal processing, Academic Press, 1999.
- A. Bragg, W. Chou, Real-time computation of empirical autocorrelation, and detection of non-stationary traffic conditions in high-speed networks, Computer Communications and Networks, International Conference on (1995) 0212.
- S. Burke, J. Hunter, Modelling non-stationary economic time series: a multivariate approach, Palgrave texts in econometrics, Palgrave Macmillan, Hampshire, England, 2005.
- P. Panigrahi, S. Ghosh, P. Manimaran, D. Ahalpara, Statistical properties of fluctuations: A method to check market behavior, in: B. Basu, B. Chakrabarti, S. Chakravarty, K. Gangopadhyay (Eds.), Econophysics and Economics of Games, Social Choices and Quantitative Techniques, New Economic Windows, Springer, 2010, pp. 110–118.
- B. Mandelbrot, The variation of certain speculative prices, Journal of business 36 (4) (1963) 394.
- B. Mandelbrot, The fractal geometry of nature, Wheeler Freeman, San Francisco, USA, 1982.
- A. Kolmogorov, Sulla determinazione empirica di una legge di distribuzione, Giornale dellâIstituto Italiano degli Attuari 4 (1933) 83–91.
- N. Smirnoff, On the estimation of the discrepancy between empirical curves of distribution for two independent samples, Bulletin of the Moscow University 2 (1939) 3–16.
- I. Melo, B. Tomášik, G. Torrieri, S. Vogel, M. Bleicher, S. Koróny, M. c. v. Gintner, Kolmogorov-smirnov test and its use for the identification of fireball fragmentation, Phys. Rev. C 80 (2) (2009) 024904.
- W. Eadie, D. Dryard, F. James, M. Roos, B. Sadoulet, Statistical methods in experimental physics, North Holland, Amsterdam, 1971.
- J. Massey, Frank J., The kolmogorov-smirnov test for goodness of fit, Journal of the American Statistical Association 46 (253) (1951) 68–78.
- L. Miller, Table of percentage points of Kolmogorov statistics, Journal of the American Statistical Association 51 (1956) 111–121.
- G. Marsaglia, W. Tsang, J. Wang, Evaluating Kolmogorovâs distribution, Journal of Statistical Software 8 (18) (2003) 1–4.
- L. Campbell, A. Lo, A. Mackinlay, The econometrics of financial markets, Princeton University Press, New Jersey, USA, 1997.
- M. S. Santhanam, J. N. Bandyopadhyay, Spectral fluctuations and noise in the order-chaos transition regime, Phys. Rev. Lett. 95 (11) (2005) 114101.
- V. Plerou, P. Gopikrishnan, B. Rosenow, L. A. Nunes Amaral, H. E. Stanley, Universal and nonuniversal properties of cross correlations in financial time series, Phys. Rev. Lett. 83 (7) (1999) 1471–1474. doi:10.1103/PhysRevLett.83.1471.
- L. Laloux, P. Cizeau, J.-P. Bouchaud, M. Potters, Noise dressing of financial correlation matrices, Phys. Rev. Lett. 83 (7) (1999) 1467–1470. doi:10.1103/PhysRevLett.83.1467.
- A. M. Sengupta, P. P. Mitra, Distributions of singular values for some random matrices, Phys. Rev. E 60 (3) (1999) 3389–3392. doi:10.1103/PhysRevE.60.3389.