Statistical mechanics and time-series analysis by L\'evy-parameters with the possibility of real-time application
Alexander Jurisch

TL;DR
This paper introduces a real-time method for analyzing Lévy processes using cumulant functions, avoiding complex procedures, and explores their thermodynamic properties with applications to financial time-series like DAX and S&P-500.
Contribution
It provides explicit formulas for Lévy-parameters from cumulant functions, enabling real-time analysis without maximum-likelihood or least-squares methods.
Findings
Successful application to DAX and S&P-500 time-series
Explicit formulas for Lévy-parameters derived
Thermodynamic properties of Lévy systems discussed
Abstract
We develop a method that relates the truncated cumulant-function of the fourth order with the L\'evian cumulant-function. This gives us explicit formulas for the L\'evy-parameters, which allow a real-time analysis of the state of a random-motion. Cumbersome procedures like maximum-likelihood or least-square methods are unnecessary. Furthermore, we treat the L\'evy-system in terms of statistical mechanics and work out it's thermodynamic properties. This also includes a discussion of the fractal nature of relativistic corrections. As examples for a time-series analysis, we apply our results on the time-series of the German DAX and the American S\&P-500\,.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplex Systems and Time Series Analysis · Stochastic processes and financial applications · Statistical Mechanics and Entropy
Statistical mechanics and time-series analysis by Lévy-parameters
with the possibility of real-time application
Alexander Jurisch
[email protected], Munich, Germany
Abstract
We develop a method that relates the truncated cumulant-function of the fourth order with the Lévian cumulant-function. This gives us explicit formulas for the Lévy-parameters, which allow a real-time analysis of the state of a random-motion. Cumbersome procedures like maximum-likelihood or least-square methods are unnecessary. Furthermore, we treat the Lévy-system in terms of statistical mechanics and work out it’s thermodynamic properties. This also includes a discussion of the fractal nature of relativistic corrections. As examples for a time-series analysis, we apply our results on the time-series of the German DAX and the American S&P-500 .
pacs:
05.20.-y, 05.60.-k, 05.40.Jc, 05.40.Fb, 05.45.Tp, 2.50.-r, 2.50.Ey, 2.70.Rr
I Introduction
The statistics of a macroscopic many-particle system with negligible interaction is usually well-described by a Gaussian, that may be given by the Maxwell-Boltzmann distribution or a Ginzburg-Landau functional without non-linear terms. However, there are macroscopic systems where this is not the case. This may be due to interactions, or just due to the fact that the particle-number, or the number of players if socio-economic systems are of concern, is not large enough to get even approximately close to the domain of the central-limit theorem, which is equivalent to the Gaussian. In such systems higher order fluctuations like the skewness or the kurtosis have to be taken into account, which may lead to a significant deviation from the Gaussian.
A natural generalization of the Gaussian is given by the Lévy-distribution. Note that a multitude of distribution-functions are special cases of the Lévy-distribution, see e.g. the textbooks by Feller Feller or Zolotarev Zolotarev . A different type of generalization is provided by the Tsallis-distribution. However, the Tsallis-distribution gives rise to a non-extensive thermodynamics, and we prefer to keep in touch with the property of extensiveness. As examples for non-Gaussian macroscopic systems we chose stock-market data. However, our results are general and thus will apply to any other macroscopic system, that does not belong to the domain of the central-limit theorem.
So why stock-markets as an example for application? Because their properties with respect to non-Gaussian behaviour are quite well understood, such that they are a perfect means to test the fidelity of our approach. We have written this paper in a way that a reader who is unfamiliar with stock-markets can still take away the general essentials - or at least we hope so.
In 1961 Mandelbrot Mandelbrot has shown that the behaviour of markets is essentially non-Gaussian. Since the first analysis of market-behaviour by Bachelier Bachelier in 1900 , Mandelbrot’s work can be regarded as a major breakthrough. In particular, Mandelbrot has shown that the distribution-function of the random-motion of markets behaves like a Lévy-distribution, which we shall call a Lévian in the following. Mandelbrot’s results have been confirmed by e.g. Mantegna et. al. Mantegna . The non-Gaussian behaviour of markets is also reflected by the fact that the Gaussian Black-Scholes-Merton theory of option-pricing Black ; Merton works only insufficiently when the historic volatility (variance) is used, such that the concept of an implied volatility had to be introduced. Moreover, approaches that rely on the Cox-Ingersoll-Ross model Cox , e.g. Tompkins Tompkins , show a much better success in the description of option-pricing, and thus the description of the market as a whole.
However, the multitude of different models, we shall also mention Heston Heston as a well-known one, does not make things easier, and thus it seems to be promising to walk on the general path of fractional diffusion. For an exhaustive introduction into fractional or anomalous diffusion see the report by Metzler et. al. Metzler . Major advances in the fractional analysis of markets have been achieved e.g. by Cont et. al. Cont , where it has been shown that markets in general show a behaviour that is related to a Lévy-exponent . The Gaussian case would mean . Extensive work on the fractional behaviour of markets has been carried out by e.g. Bouchaud et. al. Bouchaud , while e.g. Feigenbaum et. al. Feigenbaum and e.g. Johansen et. al. Johansen1 ; Johansen2 focus on the critical dynamics of markets close to crashes. In the language of physics, crashes can be understood as phase-transitions. A major result of this paper is that the Lévy-exponent is a function of time or the temperature. Since describes the transport-properties of a stochastic system, a continuous variation of may very well be interpreted as a continuous phase-transition. Below we shall give an exhaustive discussion about the nature of the phase-transitions that may occur, and about the statistical mechanics and thermodynamics of a Lévian system. Particularly, we shall discuss the relationship between relativistic corrections to the classical kinetic energy and fractal statistics.
Recent approaches to fractional option-pricing have been suggested by e.g. Aguilar et. al. Aguilar1 ; Aguilar2 , Borland et. al. Borland1 ; Borland2 , Kleinert et. al. Kleinert1 ; Kleinert2 , and ourselves Jurisch . Aguilar et. al. use a very technical approach that relies completely on the Lévian, Borland et. al. suggest a model that introduces fractional behaviour by the Tsallis-distribution. More closely related to the Lévian are the ansätze by Kleinert et. al. and ourselves. Kleinert et. al. introduce fractional behaviour by the use of fractional derivatives, while we suggest the use of a fractional Gaussian that is directly derived from the Lévy-Khintchine theorem and an extremal principle, closely related to the Lévian.
However, all models need input in terms of the numerical values of the parameters they rely on. The methods of choice to determine parameters of distribution-functions are the frequentist approaches of the least squares and the maximum-likelihood principle, or Bayesian methods. In terms of the Lévian fitting-procedures are particularly difficult, since the Lévian is defined by it’s Fourier-transform and will only be stable for certain numerical values of the parameters it depends on. This holds for both, the normal Lévian and the truncated Lévian.
In this paper we develop a theory, that allows us to calculate the parameters of the Lévian directly from the time-series under consideration, but without the need to employ frequentist or Bayesian fitting-procedures. This, in fact, allows us to calculate the Lévy-parameters in real-time, such that we can make statements about the local state a random-motion dwells in. In detail, our approach relates the truncated cumulant-function of the fourth order with the cumulant-function of the Lévian by a continuous matching with logarithmic conditions. The truncated cumulant-function is but polynomial, and thus does not yield a stable result. Our way to solve this problem is to perform a Padé-resummation on the truncated cumulant-function, from which a stable result can be obtained. We apply our results on the random-motions of the German DAX and the American S&P 500 in terms of a state-analysis from 2013 to 2018 . Our results are in good agreement with the behaviour of the indices. Especially we emphasize, that our local results for the Lévy-exponent as a function of time are in very good agreement with the overall result of Cont. et. al. Cont .
Furthermore, we use the method of O’Hagen and Leonard OHagen to introduce a skew fractional distribution-function that is based on our results in Jurisch . The combination of the method of O’Hagen and Leonard with our fractional Gaussian avoids some of the peculiarities that are involved with the Lévian, and allows us to calculate an acceptable estimate of the local distribution-function that describes the local state of a system.
II Calculation of Lévy-parameters
We start our considerations with the truncated cumulant-function of the fourth order, reading
[TABLE]
In our notation we have the mean-average, the variance, the skewness and the kurtosis. We denote the cumulants with an argument in time, because they are always to be understood as running cumulants. We can safely assume that a non-Gaussian distribution-function is sufficiently described by these four cumulants. However, it is impossible to calculate this distribution-function from Eq. (1) by a Fourier-transform
[TABLE]
since the integral will diverge due to the contribution of the kurtosis. The kurtosis but contains interesting information about the shape of the distribution-function, and thus we seek for a method that allows us to include the kurtosis. Note that for the Fourier-transform Eq. (2) yields an Airy-function that could be used as a skew distribution-function if the oscillating parts are cut off appropriately. We but pursue a more general approach here. The key to solve the problem that is generated by is to work with the Lévian cumulant-function, see e.g. Feller ,
[TABLE]
where the index denotes the fact that the Lévian is asymptotically stable. As it will turn out below, the function will be of no interest here, thus we shall give no further comments on it. The parameter abbreviates , where is the parameter of interest. The parameter is not an original Lévy-parameter, but we have introduced it in order to explain the observations that we have made, see below. Contrary to , the observable cumulant-function can be assumed to be valid only for small .
The problem now is to relate the Lévy-parameters to the cumulants . This can be achieved by a matching with logarithmic conditions, however, the structure of is polynomial, and thus does not yield a stable result. A way around this problem is to perform a Padé-resummation on , as it is done in field-theory in similar situations, see e.g. Kleinert3 . The Padé-resummed cumulant-function is given by
[TABLE]
By the Padé-resummation no information has been suppressed or changed in a substantial way, however, the divergency of the Fourier-transform Eq. (2) is removed. For the limits we find
[TABLE]
The limits clarify that for small the characteristic function behaves like a Gaussian, while skew effects enter only asymptotically. The contribution of the kurtosis then but becomes nothing than a factor. As momentum-space and real-space are inverse to each other, we may deduce that the distribution-function in real-space decays like a Gaussian, and shows skew behaviour around the origin. The Padé-resummed cumulant-function Eq. (4) would thus already allow us to calculate the distribution-function by the Fourier-integral Eq. (2). However, we chose to investigate the relation between the cumulants and the Lévy-parameters. This will provide us with a deeper and more general understanding about the behaviour of a time-series.
Armed with Eq. (4) we are now in the position to carry out the matching procedure.
II.1 Transport-exponent and variance
By matching the real parts of and continuously together we obtain an expression for the transport-exponent ,
[TABLE]
So far, Eq. (7) depends on the wave-vector. The case corresponds to and gives , which is the Gaussian. The case of gives , which is the extreme fat-tailed regime. A transition region in between may be assumed to be given by the range of the standard-deviation, such that . This assumption is sound, since the standard-deviation approximately defines a region where the crossover from the body of the distribution-function to it’s tail takes place. When we insert into Eq. (7) we obtain
[TABLE]
By introducing the normalized kurtosis , we can cast Eq. (8) into
[TABLE]
This result supports our assumption about , since indeed is closely related to the kurtosis of a time-series. Remind that for the Lévian is fat-tailed, while for the Lévian is thin-tailed.
We have called a transport-exponent, because it’s numerical value describes the transport-properties that are present in a stochastic system: ordinary diffusion (Gaussian), leptokurtic or jump diffusion for , hence , and platykurtic or Ohmic diffusion for , hence 111Ohmic diffusion here is meant in the sense that the transport is almost undisturbed by fluctuations..
Furthermore, we obtain
[TABLE]
from which we can define an effective variance
[TABLE]
By Eqs. (9, 10) the real part of the Lévian cumulant-function Eq. (3) is fully determined by the obseravbles .
II.2 Skewness
The parameters describe the skew behaviour of the distribution-function. They can be obtained by matching the imaginary parts of and continuously as above. For we find
[TABLE]
and
[TABLE]
In Eqs. (12, 13) we have used the normalized skewness
[TABLE]
The case of is the special case of the Cauchy-distribution, which we shall not discuss here. Our analysis below will show that for stock-market data will hold. By inspection of Eq. (3) we note that the parameter is multiplied by , such that we can omit this factor in Eq. (13) in our following discussion.
Applied on data, the parameters can give large numerical values, which do not match with the behaviour of the time-series under consideration. However, Eqs. (12, 13) are still results of a perturbative approach, and thus we may assume that only the leading order in should be taken into account. Moreover, experience shows that the skewness usually has only small numerical values compared to , hence the leading order of Eqs. (12, 13) is sufficient anyway. Below we will see that this assumption is indeed correct, since the leading order provides an excellent description of the skew behaviour of a time-series. The leading order in of is given by
[TABLE]
and
[TABLE]
We chose the positive sign in Eq. (16), because this choice of the phase coincidences with our observations, see below.
From Eq. (15) we can deduce that describes a skew-shift of the mean-average , which in the case of a symmetric distribution-function is also it’s maximum. A similar phenomenon can be observed in the case of an Airy-distribution with appropriate cut-off, as we already have mentioned above. The parameter , Eq. (16), acts like an elasticity, that describes the skew deformation of the distribution-function.
III Lévian statistical mechanics and types of phase-transitions
In the sense of statistical mechanics the real part of the Lévian cumulant-function Eq. (3) has the meaning of a kinetic energy, thus we have the Hamiltonian
[TABLE]
Note that the inverse of the effective variance in the following plays the role of the thermal energy . From Eq. (17) we immediately can deduce that for a random-motion varies between classical (diffusive) behaviour for (Gaussian), and sonic (wave-like) behaviour for , which corresponds to the Cauchy-case. This is the first type of a continuous phase-transition that locally occurs if the transport-exponent is a function of time. Concerning the Hamiltonian Eq. (17) we shall discuss how e.g. relativistic corrections may lead to fractal behaviour. For low momenta we find
[TABLE]
By omitting the rest-energy, and by exploiting the relation between the Hamiltonian and the cumulant-function , , we find a kurtosis . Note that here holds. A statistics that wants to include the relativistic correction suffers from the same problem of convergence as does the Fourier-transform Eq. (2). However, by Eq. (8) we find a transport-exponent
[TABLE]
The inclusion of the first relativistic correction may thus effectively be understood as the introduction of fractal behaviour. For the ultra-relativistic case we find a Cauchy-distribution. Finally note, that fractal behaviour may also be introduced for a polynomial interaction up to the fourth order, such that effectively emerges.
The second type of a continuous phase-transition is related to the first one, or rather a different interpretation of it. The Fourier-transform of the symmetric Lévian can be cast into
[TABLE]
where we have set . When we interpret Eq. (20) as a dimensional integral we find for the dimension. The Gaussian case is given by , while for the Cauchy-case it holds . Consequently, the continuous phase-transition between classical and sonic motion corresponds to a continuous dimensional phase-transition that dwells between one and two dimensions. For values the dimension of the system grows rapidly towards infinity. In relation to the tail of the distribution-function we know that large moves become more likely with fatter tails, and this, by , corresponds to a growth of the internal degrees of freedom. In the extreme leptokurtic limit this leads to the analogue of an evaporation in momentum-space. Note that by the continuous variation of the distribution-function is in a breathing-mode.
Now we want to discuss the thermodynamic properties of the Lévian system. Since there is no interaction in real space we may assume that the Lévian gas is an ideal, albeit fractional gas. Please note, that by our findings above fractal behaviour may very well be related to polynomial interactions. We calculate the partition-function by
[TABLE]
In Eq. (21) we use a density that is only positive-semidefinite, and thus not a density in a strict sense. The inclusion of the cosine but is the only possibility to include skew behaviour, and we will see that this indeed will make sense. A reader who is uneasy with the cosine here might think of the Wigner-function, which also is only positive-semidefinite, but may be regarded as a phase-space distribution still.
For the free energy, with Stirling’s formula, we find
[TABLE]
The equation of state follows by
[TABLE]
where is the equivalent to the pressure. Eq. (23) is the equivalent of the equation of state of an ideal gas, as it was to be expected. We deduce that it holds , such that the pressure in the non-Gaussian system is always higher than in the Gaussian system. This result is sound, since by the thin body and the fat tail of the Lévian the probability for large jumps is higher than in the Gaussian case. The higher probability for outbreaks may easily be identified with a higher pressure inside the system.
For the entropy we find
[TABLE]
In Fig. (1) we illustrate the entropy as a function of for several values of . Fig. (1) elucidates that the elasticity acts like an order-parameter. The larger the value of , the less entropy is present inside the system. As entropy is a measure for disorder we may conclude that skewness creates order, since the skewness indicates the likely direction of the random-motion. The elasticity, as an order-parameter, may thus be regarded as an analogue to a magnetization or a polarization. By the strict Lévian condition the analogue to the ferromagnetic phase-transition is related to .
A further analysis of in terms of a magnetization can be done by looking at it’s moments. We calculate
[TABLE]
We find that . This is to be expected, since we may very well assume that the average state of the system is symmetric (paramagnetic), and thus a state of maximum entropy, as we know from above. Note that in the state-analysis of the DAX and the S&P 500 below we will find . This result is but still a dynamic average about a limited time-frame, such that there is no principal contradiction to our present thermodynamic result. Only for an ideal infinite time-frame we may expect a stable match with the thermodynamic limit.
The variance is finite. However, we shall not write down the formula since it is cumbrous, the integration but is straight forward. We illustrate the standard-deviation in Fig. (1). We easily deduce that we can expect skew fluctuations to be stronger in the non-Gaussian case than in the Gaussian case. This result is sound, since the Gaussian case may be regarded as an equilibrium, and an equilibrium can be expected to be symmetric. Additionally, we may deduce that skew fluctuations increase remarkably as tends to zero. This state gives a thin body of the corresponding distribution-function, both Gaussian and non-Gaussian, and we certainly may expect an outbreak of the random-motion in this state. An outbreak necessarily but takes place in a certain direction, and the direction of the outbreak then induces a skewness or a polarization of the system. However, we must emphasize that the increase of fluctuations does not necessarily lead to an outbreak. We deal with a random-motion, which very well may relax towards an equilibrium if a highly probable outbreak does not take place, for what reason ever.
IV State-analysis of the DAX and the S&P 500
In this section, we apply our results on the German Dax and on the US-American S&P 500 . Our state-analysis will show that the formulas we have derived for the Lévy-parameters above work well, and allow a satisfactory description of the state a random-motion dwells in.
IV.1 DAX data
In Fig. (2) we illustrate the state-analysis of the German DAX. The time-period is taken from February 2013 to September 2018, the time-unit on the chart is one day. The moving averages are sampled about 240 data points, given that a month has 20 trading-days.
The windows in the figure from top to bottom are: a) random-motion of the DAX (light-green), b) skew-shift parameter (yellow), c) standard-deviations, Lévian (grey), Gaussian (red), d) transport-exponent (aqua), e) elasticity-parameter (lime). The data is analyzed by the Metatrader software, data is provided by XM.com.
At first we read off that the range of the transport-exponent oscillates between , the average but is . This is in perfect agreement with the findings of Cont et. al. Cont , where a static overall value of has been found. We also deduce that for a falling the DAX performs larger motions, while for a growing the motions calms down, and may even stagnate. This also is perfectly in agreement with the fact that the tail of the Lévian becomes fatter the smaller is. Fatter tails indicate that larger jumps become more likely than in a Gaussian or close to Gaussian environment. A close to Gaussian environment may be given for . We also but notice that declines in times where the fluctuation of the random-motion is restricted to a narrow region. This also is in perfect agreement with the properties of the Lévian, since for the body of the distribution-function becomes thin. A fat tail and a thin body are related to each other, such that this state of the random-motion may very well be interpreted in the way that an outbreak is near, as this is a state of high internal pressure. However, it is of course possible that no outbreak takes place, and hence the system relaxes towards the Gaussian regime.
The behaviour of is reflected in the behaviour of the standard-deviations. The Gaussian standard-deviation is always larger than the Lévian standard-deviation. This is to be expected, since for the effective variance , see Eq. (11), is always smaller than the Gaussian variance . This again reflects the thin body of the Lévian and thus the higher pressure.
Furthermore, we find that the skew-shift parameter indicates a rising motion for , while for there is a tendency for a contraction or a stagnation. The range of the skewness itself, not plotted in Fig. (2), is given by . For we have a rising motion, while for we have a stagnation or a contraction.
We see that the elasticity oscillates between , such that the restriction for the Lévian is violated. We deduce that for there is a rising motion, while for a contraction or a stagnation occurs. The behaviour of is thus the same as the behaviour of . The average value, however, lies at . Hence, it is possible to calculate a Lévian for the average value , but not always for a local . How we can deal with this problem in terms of the distribution-function shall be discussed below.
All Lévy-parameters are functions of time, such that also extrema, turning-points and zeros have to be taken into account in order to deduce a trend, or a change of the trend. Also note, that moving averages are necessarily somewhat retarded, such that the random-motion and the moving averages do not always overlap in their behaviour on the spot. However, the general survey that is provided by is in good agreement with the behaviour of the random-motion. For the construction of the moving averages we have used to calculate the cumulants, please see the appendix.
IV.2 S&P 500 data
In Fig. (3) we illustrate the state-analysis for the American S&P 500 . The time-period is taken from February 2013 to September 2018 , the time-unit on the chart is one day. The moving averages are again sampled about 240 data points.
The windows in the picture from top to bottom illustrate: a) random-motion of the S&P 500 (light-green), b) skew-shift parameter (yellow), c) standard-deviations, Lévian (grey), Gaussian (red), d) transport-exponent (aqua), e) elasticity-parameter (lime). The data is analyzed by the Metatrader software, data is provided by XM.com.
At first we notice that the random-motion of the S&P 500 is calmer than the random-motion of the DAX. This is due to the fact that European indices are weighted performance-indices, while Anglo-Saxon indices are mostly weighted mean-value indices. The DAX thus does not only include the value of it’s components but also their turnover, compared to a date of reference in the previous year.
We find a transport-exponent that lies between , the average is given by . Again we find perfect agreement with the static overall value of Cont et. al. Cont , . All what we have said above about possible outbreaks or the relaxation towards the Gaussian regime also holds here, of course.
The elasticity lies between , and thus again violates the strict Lévian condition . The average of the elasticity, however, is given by , such that an overall Lévy-distribution is calculable. The range of the skewness itself, not plotted in Fig. (3), is thereby given by .
All what is said above about the other parameters also holds here.
V Construction of skew distribution-functions
From our data-analysis above we know, that the Lévian condition for the elasticity is violated if it is a local function . However, for a stable Lévian it unconditionally must hold that . This makes the Lévian in it’s strict sense useless for the calculation of the local distribution-function. A way to solve this problem in an elegant way was suggested by O’Hagen and Leonard OHagen . In order to discuss how we can still make use of the Lévy-parameters, we shall give an elementary motivation for this method.
The introduction of the skewness is similar to an anti-symmetrization of a symmetric function. As such, any anti-symmetric function qualifies as a tool to introduce skewness, at least in principal. A general assumption for an anti-symmetrizer is provided by the step-function
[TABLE]
The function as it is given by Eq. (26) is somewhat a hard anti-symmetrizer. However, the function but has the remarkable property that it can be smeared out into cumulative probability-distributions, CDF, e.g.
[TABLE]
which is related to the CDF of the Gaussian. For any function that qualifies as a function the following limits must hold,
[TABLE]
The properties that are required by Eq. (28) are fulfilled by any CDF of a symmetric distribution-function, given a proper normalization.
The construction that is suggested in OHagen now is that skewness can be introduced by anti-symmetrizing a symmetric distribution-function by the ansatz
[TABLE]
With a proper normalization, the skew distribution-function then obeys the following properties
[TABLE]
The parameter acts like an elasticity as above. In OHagen the skew parameter is estimated by fitting. Armed with our results about the Lévy-parameters but we are able to circumvent this unhandy approach, and use as calculated from the time-series. Consequently, a skew distribution-function with Lévy-parameters can be proposed by the ansatz
[TABLE]
One must always bear in mind that the construction Eq. (31) is an estimate, and not an exact quantity. A suitable anti-symmetrizer is always provided by the CDF of .
As a model for we use the fractional and extremal Gaussian we have derived in Jurisch , reading
[TABLE]
with the normalization
[TABLE]
For , the fractional Gaussian is the normal Gaussian, of course. Our distribution-function has the advantage that we can get rid of the Fourier-transform that has to be carried out in order to obtain a Lévian or a truncated Lévian in real space.
As Eq. (32) already depends on two Lévy-parameters , it remains to introduce the skew parameters by the construction given by Eq. (31). The distribution-function Eq. (32) still decays exponentially, however, this is compensated by a fatter body for , such that the space for fluctuations is still increased in comparison to the Gaussian, see Jurisch for more insight.
In Fig. (4) we illustrate the effect of the anti-symmetrization as discussed above. We clearly see that a reasonable skew distribution-function is generated, that fulfills all requirements that are to be expected. For a negative skewness , we observe that the maximum of the skew distribution-function has slightly moved to the left, due to the effect of . Note that . The elasticity has reduced the space for fluctuations on the left from , while on the right from the space for fluctuations is slightly increased. This behaviour is right what we would expect from a skew distribution-function.
Consequently, we are now in the position to calculate the distribution-function for any possible value of the Lévy-parameters, especially the elasticity , free of the restriction that is imposed by the hard constraint .
VI Visualization of the distribution-function on data
We now can carry the state-analysis of a random-motion one step further. The method discussed above allows us a direct visualization of the distribution-function as a local function of the time-dependent Lévy-parameters. As examples we again chose the DAX and the S&P 500 , but on a larger scale as above. We shall analyze the random-motion on the time-unit of a week. This scale allows us to describe the general state of the random-motion. The sampling-period we have chosen is 260 weeks, thus five years. The visualized time-period is taken from 2015 to 2018 . Again we have used Metatrader, data provided by XM.com.
In Figs. (5, 6) we illustrate the mapped distribution-functions for the DAX and the S&P 500 . The orange lines denote the Gaussian, the aqua lines denote the skew fractional distribution. The middle-line is the maximum, while the outer lines mark the standard-deviation. The mapping is done as follows. In the case of the Gaussian we plot
[TABLE]
In the case of the skew fractional distribution we plot
[TABLE]
By this construction, we fulfill the requirements of the anti-symmetrization as discussed in Eq. (30). For we recover the symmetric case, while for we obtain the total anti-symmetric case. Note that the symmetric case is not necessarily the Gaussian regime, since for the transport-exponent it may hold still.
From Fig. (5) we easily can deduce that the random-motion of the DAX shows exactly the skew and fractional behaviour that is to be expected by our knowledge about the behaviour of the Lévy-parameters.
First of all, we notice that the skew fractional distribution-function indicates a rising motion in principal, since , which indicates that . The lower fluctuation-space (aqua) is slightly reduced, while the upper fluctuation-space (aqua) is slightly enhanced. This behaviour is the same as it is illustrated in Fig. (4). In 2015 and 2016 we notice that the fluctuations stay inside the fluctuation-space that is denoted by the aqua lines. Note especially, that the stagnation in 2016 fluctuates exactly around . In 2017 and 2018 we see a crossing of the upper standard-deviation from below, which can be interpreted as an exaggeration. In 2018 then the uptrend is broken by the crossover of from above, as far as it is plotted.
The same analysis holds for the S&P 500 , Fig. (6). As above, we notice that the random-motion of the S&P 500 is calmer than the DAX. The stagnation in 2015 and 2016 oscillates around , and also inside the lower fluctuation-space that is denoted by the aqua lines. In the end of 2016 an uptrend starts, and at the beginning of 2018 we find an exaggeration of this uptrend. After some turbulences the uptrend resumes, as far as it is plotted.
In summary, we see that our skew fractional description of a random motion is in good agreement with it’s actual behaviour. Locally, we find that our approach provides a much better means for interpretation than the Gaussian.
VII Conclusion
We have developed a method that allows us to relate the observable properties of a time-series, the cumulants , to the Lévy-parameters . Our method relies on the Padé-resummation of the truncated cumulant-function, Eq. (1), which allows us to heal the divergency of the Fourier-transform, that relates the characteristic function to the distribution-function. Thus, asymptotic stability is gained, which makes it possible to match the Padé-resummed cumulant-function, Eq. (4), continuously on the Lévian cumulant-function, Eq. (3).
From the matching we have calculated explicit formulas for the Lévy-parameters. Our formulas allow us to analyze the state of a random-motion with respect to their non-Gaussian properties. We emphasize that this analysis can be carried out in real-time, since the Lévy-parameters are time-dependent functions of the observable cumulants. Consequently, a static matching by maximum-likelihood or least-square methods drops away. This removes a considerable amount of effort in the state-analysis of random-motions.
We analyzed the statistical and thermodynamic properties of the Lévian in terms of a fractional gas. Furthermore, we demonstrated how our formalism easily allows to relate relativistic corrections to the classical kinetic energy to fractal behaviour. The major result of our analysis, however, is that the elasticity acts like an order-parameter, similar to a magnetization or a polarization. Furthermore, we elucidated the nature of the continuous phase-transitions that take place in a Lévian system, if it’s parameters, and especially the transport-exponent , are functions of time. Note that the same kind of phase-transitions occur if is a function of the temperature.
As examples for the application of our results we have chosen the German DAX and the American S&P 500 . A comparison between the random-motion and our formulas shows good agreement in the description of the non-Gaussian properties. This holds especially for the value of the transport-exponent . The mean-values of the time-dependent exponent are for the DAX, and for the S&P 500 . This matches with the results of Cont et. al. Cont , where an overall static value of has been found.
Since the local values of the time-dependent elasticity violate the strict Lévian condition , it is impossible to calculate a local Lévian distribution-function. We circumvented this problem by using the extremal and fractional Gaussian we have derived in Jurisch . The inclusion of the skewness is done by the construction of O’Hagen and Leonard OHagen . The result is a skew distribution-function, that describes the properties of a random-motion in a reasonable way. This is confirmed by a direct mapping of the distribution-function on the random-motion of the indices, as it is illustrated in Figs. (5, 6).
Further work is given by the question of how our results could be related to the Tsallis-distribution, and thus to non-extensive thermodynamics. This is of particular interest, since a comparison between the Lévian and Tsallis’ approach may elucidate similarities, but certainly also differences between these two major fractional statistics. Remind that there is no unique way to introduce non-Gaussian behaviour.
Appendix A Weighted moving average
The heart of any time-series analysis is the moving average. There are extended methods for the calculation of moving averages in terms of ARMA, ARCH and GARCH. To our regards, all these ansätze do not serve the needs of an easy application. Furthermore, as we deal with stochastic systems where the knowledge is limited anyway, we think that it is better to work with a minimum of basic assumptions. Instead, we shall use a weighted moving average that is calculated without any need to determine additional parameters. The moving average of our choice is linear-weighted, given by
[TABLE]
The weights and their normalization are given by
[TABLE]
In Eq. (35) is the closing price at time . The expression is the mean-value at time , calculated for a period . Thereby data-points. The weights define a triangular decreasing filter-window, such that the newest event is weighted higher than older events. Technically spoken, a triangular window is a low-pass filter. A low-pass filter damps all higher modes, while low modes can pass through the filter almost without a loss of information. This is important, since low-lying modes become more important the smaller the numerical value of is. This fact can easily be deduced by the Fourier-transform
[TABLE]
The smaller the numerical value of , the fatter is the body of the characteristic function . A fat body in momentum-space but indicates a fat tail of in real-space - and vice-verse.
Some further technical remarks shall be in order. The sum in Eq. (34) is carried out in the reverse direction then it is usually done, because it is common that in the analysis of charts the youngest event is set on the point . For the analysis of other systems the necessary changes are straight-forward.
Appendix B Construction of a basic trend-function
An advantageous slope-line for the moving average is given by the construction 222This construction is widely used in the trader-scene. However, we are not able to provide a clear reference for this construction. It can be found in the Internet by the term slope-direction line, used by several authors of technical indicators. The mathematical analysis of Eqs. (37, 38), as far as we know, has not yet been carried out by another author.,
[TABLE]
The ansatz Eq. (37) doubly overweights the younger half of the -period array, from which the whole array is subtracted. By this a memory-kernel is created, that is less inert than the moving average given by Eq. (35). Inertness is a major problem in time-series analysis. Moving averages that are too inert are as useless as ones that are not inert enough.
A further smoothing can be achieved by summing up . This finally gives us our trend function
[TABLE]
The square-root in Eq. (38) corresponds to a Gaussian, and effectively removes a considerable part of remaining noise in the weighted moving average. A background reason for this choice can be deduced from fractional calculus. It holds that . Please see the exhaustive report of Metzler et. al. Metzler for more insight. Numerically, however, it is of course not possible to sum up to the true value of the square-root, it is sufficient to take the closest integer instead.
B.1 Positive definiteness of the memory-kernel
Here we shall treat the question why the ansatz for the memory kernel Eq. (37) works. The memory-kernel Eq. (37) can be written by
[TABLE]
A reordering of the sum in Eq. (39) leads to
[TABLE]
The criterion we are looking for is whether the bracket in Eq. (40) is always positive. Inserting the coefficients, we obtain
[TABLE]
For Eq. (41) we make the assumption that the elements of the dataset are all of the same order of magnitude. Consequently, we may set . Furthermore, we can deduce that . This finally ensures that Eq. (41) has positive definiteness for all periods . Thus, the general formula of a possible memory kernel must read
[TABLE]
where . Experience shows that is enough. For values too much inertness is removed.
B.2 Moving cumulants
In order to calculate the Lévy-parameters we also need the moving cumulants. The calculation is done by
[TABLE]
The cumulants are then further smoothed by the procedure described by Eq. (38),
[TABLE]
The smoothed cumulants are used to calculate the Lévy-parameters.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) Aguilar J-P., Korbel C. C.: Non-Gaussian analytic option pricing: a closed formula for the Lévy-stable model, ar Xiv:1609.00987 v 5 [q-fin.PR], (2017).
- 2(2) Aguilar J-P., Korbel J.: Option Pricing Models Driven by the Space-Time Fractional Diffusion: Series Representation and Applications, ar Xiv:1802.09864 v 1 [q-fin.MF], (2018).
- 3(3) Bachelier Louis: Théorie de la spécuation, Annales scientifique de l’É.N.S., troisième série, tome 17 (1900), p. 21-86.
- 4(4) Black Fischer, Scholes Myron: Pricing of options and corporate liabilities, Journal of Political Economy 81 , 3, (1971).
- 5(5) Borland L.: Option Pricing Formulas based on a non-Gaussian Stock Price Model, Phys. Rev. Lett 89 , N 9, 098701, (2002).
- 6(6) Borland L., Bouchaud J. P.: A Non-Gaussian Option Pricing Model with Skew, ar Xiv:cond-mat/0403022, (2004).
- 7(7) Bouchaud J.-P., Potters M., Meyer M.: Apparent Multifractality in Financial Time-Series, Eur. Phys. J. B 13 , 595, (2000).
- 8(8) Cont R., Potters M. and Bouchaud J-P.: Scaling in financial data: stable laws and beyond, Scale invariance and beyond, Springer Verlag, (1997).
