scieee AI-readable full text Open interactive document viewer

Expecting the unexpected: Entropy and multifractal systems in finance

Orlando, Giuseppe

Abstract

Entropy serves as a measure of chaos in systems by representing the average rate of information loss about a phase point’s position on the attractor. When dealing with a multifractal system, a single exponent cannot fully describe its dynamics, necessitating a continuous spectrum of exponents, known as the singularity spectrum. From an investor’s point of view, a rise in entropy is a signal of abnormal and possibly negative returns. This means he has to expect the unexpected and prepare for it. To explore this, we analyse the New York Stock Exchange (NYSE) U.S. Index as well as its constituents. Through this examination, we assess their multifractal characteristics and identify market conditions (bearish/bullish markets) using entropy, an effective method for recognizing fluctuating fractal markets. Our findings challenge conventional beliefs by demonstrating that price declines lead to increased entropy, contrary to some studies in the literature that suggest that reduced entropy in market crises implies more determinism. Instead, we propose that bear markets are likely to exhibit higher entropy, indicating a greater chance of unexpected extreme events. Moreover, our study reveals a power-law behaviour and indicates the absence of variance.

Full text

Citation: Orlando, G.; Lampart, M. Expecting the Unexpected: Entropy and Multifractal Systems in Finance. Entropy 2023,25, 1527. https:// doi.org/10.3390/e25111527 Academic Editor: Ciprian Doru Giurcaneanu Received: 1 October 2023 Revised: 31 October 2023 Accepted: 1 November 2023 Published: 9 November 2023 Copyright: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). entropy Article Expecting the Unexpected: Entropy and Multifractal Systems in Finance Giuseppe Orlando1,2,3,* and Marek Lampart 4,5 1Department of Mathematics, University of Bari, Via Edoardo Orabona 4, 70125 Bari, Italy 2Department of Mathematics, University of Jaen, Campus Las Lagunillas s/n, 23071 Jaén, Spain 3Department of Economics, HSE University, 3A Kantemirovskaya Ulitsa, St. Petersburg 190121, Russia 4IT4Innovations, VSB—Technical University of Ostrava, 17. Listopadu 2172/15, 708 00 Ostrava, Czech Republic; [email protected] 5Department of Applied Mathematics, VSB—Technical University of Ostrava, 17. Listopadu 2172/15, 708 00 Ostrava, Czech Republic *Correspondence: [email protected] Abstract: Entropy serves as a measure of chaos in systems by representing the average rate of information loss about a phase point’s position on the attractor. When dealing with a multifractal system, a single exponent cannot fully describe its dynamics, necessitating a continuous spectrum of exponents, known as the singularity spectrum. From an investor’s point of view, a rise in entropy is a signal of abnormal and possibly negative returns. This means he has to expect the unexpected and prepare for it. To explore this, we analyse the New York Stock Exchange (NYSE) U.S. Index as well as its constituents. Through this examination, we assess their multifractal characteristics and identify market conditions (bearish/bullish markets) using entropy, an effective method for recognizing fluctuating fractal markets. Our findings challenge conventional beliefs by demonstrating that price declines lead to increased entropy, contrary to some studies in the literature that suggest that reduced entropy in market crises implies more determinism. Instead, we propose that bear markets are likely to exhibit higher entropy, indicating a greater chance of unexpected extreme events. Moreover, our study reveals a power-law behaviour and indicates the absence of variance. Keywords: entropy; multifractal analysis; financial time series; determinism; risk management; investments 1. Introduction Entropy in finance and economics is a concept derived from thermodynamics and information theory, applied to study uncertainty and dynamics in financial and economic systems. As opposed to self-similarity, it quantifies disorder, randomness, and unpredictability in these systems, aiding in risk assessment, portfolio optimisation, and policy formulation [ 1 ]. Thus, entropy is a measure of the unexpected. For example, Jorion [ 2 ] attributes the abnormal losses during the 2008/9 financial crisis to the unexpected (the so-called unknown unknowns [ 3 , 4 ]). Frittelli [ 5 ] suggested a “minimal entropy martingale measure” based on the argument that, under some conditions, the said minimisation of entropy is equivalent to maximising the expected exponential utility of terminal wealth. Geman et al. [ 6 ] use entropy maximisation to represent the real-world ignorance of the “true” probability distributions. Kelbert [ 7 ] suggested weighted entropy for building optimal portfolios for risk-averse Kelly investments. In EEG analysis, entropy measures like approximate entropy ( ApEn ) and sample entropy ( SampEn ) assess brain activity complexity and randomness [ 8 , 9 ]. High entropy values indicate diverse brain activity, while low values suggest more regular patterns [ 10 , 11 ]. Entropy analysis helps researchers understand brain function, neurological conditions, and treatment effectiveness, contributing to advancements in neuroscience and diagnostic approaches [12]. Entropy 2023,25, 1527. https://doi.org/10.3390/e25111527 https://www.mdpi.com/journal/entropy Entropy 2023,25, 1527 2 of 18 With regard to the definition and use of entropy, Kolmogorov–Sinai entropy [ 13 , 14 ] is not well-suited for statistical applications. To address this limitation, ApEn [ 15 ] was introduced as a statistic for empirical and simulated data series. However, ApEn has drawbacks, leading to biased results that exaggerate regularity [ 16 ]. To overcome this bias, Richman and Moorman [ 17 ] (see also [ 18 ]) proposed an alternative statistic known as SampEn . When considering the input parameters m (sub-series length), r (tolerance/similarity criterion), and N (data length), the authors of [ 19 ] found that ApEn and SampEn are highly sensitive to the choice of parameters, particularly for very short data sets with N≤ 200. For this reason, they recommended using N larger than 200, setting m to 2. Similarly, the authors of [ 20 ] reported a significant dependency of both ApEn and SampEn on input parameters. Specifically, when m was chosen, both ApEn and SampEn tended to decrease as r increased, except for low values of r combined with high values of m . The decreasing trend showed steeper slopes for lower values of m . Similarly, for a chosen r , both ApEn and SampEn tended to decrease as m increased. In essence, the analysed time series exhibited more regularity (lower entropy values) for higher similarity tolerances and longer subseries lengths. In their study, Zhang et al. [ 21 ] compared ApEn , SampEn , and Permutation Entropy ( PE ) and found that SampEn is the least influenced by signal length and remains unaffected by the signal’s amplitude and phase. The variations in the three entropy measures are solely related to frequency. Olbrys et al. [ 22 ] investigated changes in sequential regularity in European and U.S. stock market indices during the Global Financial Crisis and COVID-19 pandemic and found increased regularity in stock market returns during both turbulent periods. However, as demonstrated by the authors of [ 23 ], both ApEn and SampEn are very sensitive to the presence of spikes. For narrowband line spectra test signals, the presence of spikes leads to an increase in both ApEn and SampEn . For test signals that are better modeled as broadband random processes, the presence of spikes results in a decrease in entropy. In the case of real RR records, where spikes are often caused by QRS detection errors [ 24 ], the presence of spikes also leads to a decrease in entropy (for details on RR and QRS see Appendix A). Thus, lower entropy reported by some studies in the literature [ 22 , 25 , 26 ] may not be due to “increased regularity in stock market returns", but rather because of increased volatility. Similarly, Wang et al. [ 27 ] found that the market efficiency (i.e., multiscale entropy) of the S&P 500 Index, gold, Bitcoin, and the US Dollar Indexe during the extreme event of the COVID-19 pandemic, at all scales, decreased sharply and persistently during February–March 2020. Regarding fractality, Mandelbrot boldly claimed that fractal tools are likely to retain their significance in finance because of the inherent roughness in price data, and fractal geometry serves as the most appropriate framework for understanding this concept of roughness in both natural and financial contexts [ 28 ]. Fractal structures have implications for market efficiency, challenging the notion that financial markets can be unequivocally categorised as entirely efficient, as suggested by the Efficient Market Hypothesis (EMH). Instead, it suggests a more nuanced perspective, wherein financial markets exhibit a mixture of both efficiency and inefficiency. At times, markets provide fair returns on investments, while at other junctures, investors might experience unexpectedly substantial profits or significant losses [ 29 ]. Fractal analysis, relying on metrics such as the Hurst exponent and entropy-based indicators has been also used for forecasting [ 30 ]. Fractality is associated with phenomena characterised by long-range memory and non-locality. These phenomena have been studied using fractional calculus, which extends the concepts of differentiation and integration to real or complex orders [ 31 , 32 ]. Mandelbrot et al. [ 33 ] suggested fractional Brownian motions [ 34 , 35 ] as applicable to natural phenomena and finance. Machado et al. [36] empirically confirmed a strong correlation between the entropy and the value of the fractional order. Natural processes, such as population dynamics and neurosystems, often exhibit complex behaviours characterised by intermittent bursts of apparent randomness [37–40]. Entropy 2023,25, 1527 3 of 18 These behaviours encompass both long-term and short-term dynamics and have found applications in finance and economics [41,42]. Evidence of strong deterministic elements concealed within these stochastic features have been found in real-world data [ 43 ]. Surprisingly, the deterministic approach yielded results similar to the stochastic one [ 41 , 44 ], revealing the full dynamical systems landscape and offering potential control mechanisms [ 45 , 46 ], challenging conventional views and opening new avenues for understanding and influencing these processes [47–49]. Our research aims to determine whether seemingly stochastic financial data might exhibit underlying determinism and anticipate statistically abnormal losses. On the matter of discerning between the output of a stochastic process and that of a deterministic process, Radunskaya [ 50 ] puts forth an impossibility theorem. This theorem asserts that a time series generated by deterministic B-processes (essentially a process isomorphic to a Bernoulli process is observationally equivalent to the output of a continuous-time Markov process with a finite number of states). As a result, randomness must be validated through alternative methods such as calculating the correlation dimension, Lyapunov exponents, entropy, Hurst exponent, and so on. To investigate this, we employ fractal analysis and entropy. If such determinism exists, we also explore whether entropy correlates with market conditions, specifically when a market downturn is positively associated with changes in entropy. To attain our objectives, we suggest an innovative approach that involves data segmentation and detrending through differencing. This process reduces the influence of underlying trends and enhances the accuracy of change point identification. Within each segment, we calculate key metrics such as SampEn , mean, and volatility (i.e., standard deviation). Then, Spearman rank correlation, which quantifies the relationships between entropy and the aforementioned statistics, is computed. The proposed methodology not only enhances data segmentation but also rectifies a common error related to SampEn . Unlike ApEn , which remains unaffected by changes in mean and volatility, SampEn decreases as volatility rises. Consequently, certain studies may report reduced entropy during market crises, whereas it actually signifies heightened volatility. Our findings challenge some of the existing literature [ 22 , 25 , 26 , 51 ], highlighting the potential ambiguity between volatility changes and bear markets. The latter does not necessarily imply increased determinism; instead, turmoil is more likely to align with heightened entropy, indicating a greater likelihood of extreme events [ 52 ]. Finally, our study reveals a power-law behaviour and suggests the absence of variance, aligning with earlier research by Grobys [ 53 ]. This prior work offers a compelling explanation for the high rate of scientific replication failure in many studies [ 54 ], pointing to the use of inappropriate research methodologies within specific environments, especially in the field of financial economics [ 55 , 56 ]. Together with Grobys, we question the existence of Lévy process [ 57 , 58 ], demonstrating that the power-law exponent for the returns of our specific equity index is significantly less than 3. The rest of this paper is arranged as follows. Section 2first describes the data and provides references, while the second part explains the methodology for data partitioning and relevant computations. An explanation, through simulations, of the relationship between entropy and shocks in mean and volatility is also provided. Section 3begins with an analysis of the data in terms of stochasticity through spectral analysis. It then examines evidence of determinism and self-similarity with fractal analysis, and finally, conducts a deep dive into self-similarity by means of entropy. The last section presents the conclusion. 2. Materials and Methods 2.1. Data For the analysis, we have considered both real data and a simulated Brownian motion for comparison (for a connection between macroeconomic business cycles, determinism, and financial stochastic Ornstein–Uhlenbeck process, see Orlando et al. [ 59 ]). The former Entropy 2023,25, 1527 4 of 18 refers to USA equities, and the latter is a signal commonly used in finance to model a stochastic process ytsuch as the Ornstein–Uhlenbeck process [60] dyt=−ϕytdt +σdBt where ϕ> 0 and σ> 0 are some parameters and Bt denotes a standard Brownian motion [61–64]. 2.1.1. Real Data The data consist of daily New York Stock Exchange (NYSE) U.S. Index values from 12 January 2004 to 26 September 2023. Table 1and Figure 1present summary statistics of daily log-returns and their corresponding histogram, respectively. It is evident that these data exhibit negative skewness and positive kurtosis, which are common characteristics in financial data [52,65]. Table 1. NYSE: Summary statistics of daily log-returns. Mean Minimum Maximum Std. Dev. Skewness Kurtosis 0.00016 −0.1259 0.1152 0.0125 −0.6500 16.4272 Figure 1. NYSE: Histogram of daily log-returns. In addition, for detailed entropy analysis, daily data of 1136 constituents of the NYSE have been analysed from [ 66 ] since its inception to 12 December 2022. A Matlab routine was created to read individual CSV files containing daily stock quotes for each NYSE stock and perform the analysis. Empty daily value records were automatically filtered out. Furthermore, if the data records for a specific stock consisted of fewer than 40 data points, we did not include that security in our analysis. As a result, out of the initial 1145 securities, we excluded 9 leading to 1145 −9 = 1136 securities. 2.1.2. Simulated Data A coloured noise signal is a function with a power spectral density (PSD) that follows a power law of the form S(f) = L(f) |f|γ where γ (i.e., the inverse frequency power) is a real number in the interval [ − 2,2] and L(f) is a positive, slowly-varying or constant function [67]. When γ= 0, the signal is white noise, with L(f) being a constant directly proportional to the variance of the process. On the other hand, when γ= 2, the signal is a brown noise Entropy 2023,25, 1527 5 of 18 nonstationary process with stationary increments (i.e., a Brownian motion). Brown noise is the integral of white noise [ 67 ] and it is extensively used for modelling financial processes [35,63,68,69]. 2.2. Sample Entropy As mentioned in the introduction, to gauge the level of regularity in a time series, approximate entropy (ApEn) was introduced [ 15 ]. However, ApEn has some drawbacks [ 16 ] that led to the development of the sample entropy (SampEn). SampEn provides an estimate of the conditional probability [ 16 , 18 , 70 ]. Denoted mas the embedded dimension, SampEn evaluates the likelihood that two comparable sequences, consisting of m consecutive data points, will remain similar even when additional consecutive data points are introduced to the sequences. Thus, SampEn quantifies complexity primarily at a specific time scale through a sampling approach using the formula SampEn(m,r) = lim N→∞−ln Pm(r) Qm(r)(1) where Pm(r) represents the probability that two sequences will match for m + 1 points and Qm(r) denotes the probability that two sequences will match for m points, with a tolerance of r, while excluding self-matches. Parameters Used parameters throughout the paper are: dim = 1 (embedded dimension); r = 0.2 std (tolerance); tau = 1 (delay time for downsampling); metric = Chebychev of utilised MATLAB [71] functions [72,73]; for a sensitivity analysis see Appendix B. 2.3. Spectral Analysis Power spectrum and spectral analysis find application in economics and finance, particularly when examining data characteristics, especially during periods of economic expansion and recession. For instance, Strohsal et al. [ 74 ] employ spectrum estimation to assess the properties of financial cycles and describe their interactions in the frequency domain. An advantage of this analysis lies in its ability to unveil relationships at frequencies that might remain concealed in the time domain. Other applications are explored by DiMatteo et al. [ 75 ], who investigate scaling structures, and by Benedetto et al. [ 76 ], who apply spectral analysis to volatility indices, oil, and natural gas prices to reveal information flows between variables. Spectral analysis involves the estimation of a signal’s power spectrum (PS) based on its time-domain representation. Spectral density describes the frequency components of a signal or stochastic process [ 77 ]. Essentially, the spectrum dissects the signal or process into its constituent frequencies, unveiling any periodic patterns, thereby enabling the assessment of local signal regularity. This capability to characterise signal regularity is of utmost importance, especially when dealing with phenomena that lack a distinct scale. Signals exhibiting scale-free dynamics, as commonly observed in various fields like geophysics, biomedical signal processing , internet traffic, finance, etc., serve as examples of such phenomena, as highlighted in [ 48 ]. When applying analysis techniques to data, inherent assumptions come into play. For instance, when using autocorrelation or power spectral density (PSD) estimation, there is a presupposition that the data is translation invariant. This implies that essential signal statistics like mean and variance remain constant over time. In contrast, signals devoid of a characteristic scale exhibit scale invariance, where signal statistics remain unaltered regardless of stretching or compressing the time axis. Traditional signal processing methods often prove inadequate in describing these signals or distinguishing between signals with varying scaling behaviours. Spectral analysis encompasses both nonparametric and parametric methods [ 77 , 78 ]. Nonparametric methods involve segmenting time-domain data, applying Fourier transforms to each segment, computing the squared magnitude of the transform, and then Entropy 2023,25, 1527 6 of 18 summing and averaging the results. Variations of this approach include nonparametric methods such as the modified periodogram, Welch, Bartlett, and the Blackman–Tukey methods. These methods are data-driven and do not necessitate prior knowledge of the data or a predefined model. In contrast, parametric methods are model-based approaches. These methods construct a signal generation model using a set of parameters that can be determined from the observed data. Subsequently, the algorithm derives the power spectrum implied by the model, relying on the constructed model and the estimated parameters. As the periodogram, by itself, is not a reliable estimator of the true power spectral density for a wide-sense stationary process, we have employed Welch’s method to decrease the variance of the periodogram. This is achieved by segmenting the time series, typically with some degree of overlap, as described in [ 78 ]. In Welch’s approach, an adjusted periodogram is computed for each segment, and these estimates are then averaged to generate the overall estimate of the power spectral density. Given the wide-sense stationarity of the process and the use of PSD estimates from different segments, the modified periodograms provide nearly uncorrelated estimations of the true PSD. The act of averaging these estimates effectively diminishes variability [ 79 ]. Typically, these segments are multiplied by a window function, like the Hamming window. As a result, Welch’s approach essentially entails averaging these adjusted periodograms. The introduction of overlap in the segments ensures that data values at the edges of one segment, tapered by the window, extend beyond the edges of adjacent segments. This approach serves to prevent the loss of information that can result from windowing, as discussed in [79]. 2.4. Multifractality and Determinism As explained by Mandelbrot [ 28 , 80 ], fractal geometry provides an intrinsic measure of roughness, marking the inception of a quantitative theory dedicated to roughness in all its forms. Traditional definitions of steepness involve derivatives of height along inclines, but fractal geometry introduces a unique approach. In fractal/multifractal models of price variation, the ratio of logarithmic height increments to logarithmic distance increments has a consistent limit, denoted as α= 1 / 2. This property is both an advantage, given its uniformity, and a limitation, as it cannot be adjusted as a fitting parameter in financial data analysis. Conversely, fractal/multifractal models offer the flexibility of α6=1/2. Arguments against the Brownian model were based on the assertion that α= 1 / 2 represents mild roughness, while the roughness in financial data is more extreme, excluding α= 1 / 2. Various alternative models emerged to address these concerns by introducing “fixes” to avoid anomalies like discontinuity and divergent moments. One common feature among these fixes is the automatic resetting of local roughness to 1/2 [ 28 ]. One such fix is stochastic volatility, which assumes that short records follow Brownian motion, but the variance in this motion changes periodically. However, this approach shifts the modeling burden to the process governing volatility variations. Additionally, if volatility changes slowly, it implies α= 1 / 2, which contradicts the roughness observed in financial data [ 28 ]. In summary, the argument against the Brownian model in finance led to the development of alternative models with fixes, but these fixes often implicitly assume a local roughness of α=1/2, which may not align with the empirical evidence [28]. As previously discussed in the introduction, real-world data has provided indications of multifractality and determinism. To elaborate, Orlando et al. [ 44 ] conducted an extensive examination across various financial instruments and indices. This encompassed a wide spectrum, including the Financial Stress Index, swaps, equities, and both emerging and developed markets, as well as corporate and government fixed income securities, spanning short and long maturity bonds. Stoop et al. [ 43 ] employed a low-dimensional deterministic approach on traditionally stochastic data, uncovering previously unnoticed deterministic patterns. Stochasticity prevailed on short timescales, while determinism emerged on intermediate timescales. This observation provides insights into the underlying structures behind seemingly random events and, furthermore, revealed similarities in market behaviour, global indicators, and neuronal firing patterns [ 37 ], underscoring the theoretical Entropy 2023,25, 1527 7 of 18 significance of studying this system category. Indeed, Orlando and Bufalo [ 41 ] identified the same pattern in the realm of credit. They introduced a deterministic approach for modeling time series, including indices like Moody’s Seasoned Aaa Corporate Bond Yield Relative to Yield on 10-Year Treasury Constant Maturity and the ICE BofA U.S. High Yield Index Option-Adjusted Spread. Their research concluded that a neural deterministic model effectively captures the dynamics of credit bubbles and bursts, as well as patterns of both low and high volatility, autoregression, cointegration, and heteroscedastic volatility. 2.5. Segmentation and Correlation Rather than analysing the time series in its original form, the initial step involves removing the trend through differencing. Subsequently, the data is segmented following the methodology outlined by Lavielle [ 81 ], Lavielle et al. [ 82 ], Killick et al. [ 83 ] and implemented in [84]. Let Ik represent the periodogram of the sequence {Yj}N j=1 calculated within segment k at the frequency ω . Suppose that the energy of the process within specific frequency intervals [λj , ξj) , where 1 ≤j≤J , in the range of [ 0, π] , undergoes a sudden and unknown change at some point. The energy of (Yθk−1+1 , . . . Yθk) in the frequency band [λj , ξj) can be written as Fkj =Zξj λj Ik(ω)d(ω). The suggested [81,82] contrast function for detecting the changes is Jn(θ θ θ,y y y) = −1 n K∗ ∑ k=1 nk J ∑ j=1 F2 kj! where K∗denotes the unknown number of segments (resp. change points). The detrending enhances the ability to identify change points more effectively. In each segment, SampEn , mean, and volatility (standard deviation) are computed on the original time series. Subsequently, the Spearman rank correlation is calculated between SampEn and both the mean and volatility. This methodology is new, and in addition to the aforementioned advantage of improved segmentation, it circumvents a common mistake associated with the application of SampEn . In fact, it can be demonstrated that while ApEn remains unaffected by changes in mean and volatility, SampEn decreases as volatility increases. Consequently, some research may inadvertently report a decrease in entropy during market crises [22,25,26], when it is actually the result of heightened volatility. To demonstrate the statement above, we generated a random time series from a Gaussian-normalised distribution and shifted the mean and volatility. The result shows that the ApEn does not change in any case, while the SampEn changes in response to volatility changes. To show this observation, a generic example can be constructed. A random Gaussian standardised vector of length 1000 copied 3 times, denoted µ , has the SampEn of 2.1172. On the other hand, vector ν composed of three scaled copies of the same random Gaussian standardised vector, that is multiplied by 3 for the first 1000 values, multiplied by 1 for the second 1000 values, and by 3 for the third 1000 values, has the SampEn of 0.6429. Corresponding graphs of µ and ν and their mean and volatility shifts are shown in Figure 2a,b, respectively. All corresponding ApEn and SampEn are summarised in Table 2. Similarly, if the same random Gaussian standardised vector is multiplied by 1 for the first 1000 values, by 3 for the second 1000 values and by 1 for the third 1000 values, it has the SampEn of 1.1337. Therefore, once again, the reduction in entropy (from 2.0950 to 1.1337) only reflects a change in volatility and not in determinism. Entropy 2023,25, 1527 8 of 18 Table 2. Values of the ApEn and SampEn for the generic example of Gaussian normalised distributions µand νand their shifts in mean and volatility. Original data µMean shift of µVolatility shift of µ ApEn 2.2217 2.2217 2.2217 SampEn 2.1172 2.1172 0.6429 Original data νMean shift of νVolatility shift of ν ApEn 2.1632 2.1632 2.1632 SampEn 1.0129 1.0129 0.0811 0 500 1000 1500 2000 2500 3000 -20 -10 0 10 20 5 +5 0 500 1000 1500 2000 2500 3000 -60 -40 -20 0 20 40 60 5 +5 (a) (b) Figure 2. Time histories of: (a)µ, (b)νand their mean and volatility shifts. 3. Results and Analysis In this section, we analyse if the considered NYSE index looks stochastic (e.g., a Brownian motion), displays dominant frequencies, and if there is evidence of self-similarity in terms of fractality. Finally, a deep dive into self-similarity is conducted by means of entropy. Segmentation was conducted following the approach outlined in Section 2.5, employing the findchangepts Matlab function with the “std” metric for detecting changes in standard deviation. Additionally, the parameter MinThreshold was set to 50. For more comprehensive information, refer to [84]. 3.1. Power Spectral Density In the following, our aim is to discern whether the NYSE displays characteristics akin to a stochastic process through power spectrum and spectral examination. This scrutiny seeks to unveil whether determinism lies hidden beneath what might appear as mere “stochastic activity” [ 43 ]. Should such concealment become apparent, it would necessitate an alternative approach, like fractality and entropy assessment. Let us start by analysing whether the NYSE index has some regularity or prevalent frequency. For better understanding, it can be useful to compare the NYSE with Brownian noise, also known as brown noise or red noise, i.e., as already mentioned, a type of noise produced by Brownian motion often used in finance for modeling erratic motion [ 34 , 35 , 60 ]. Figure 3a displays a randomly generated brown noise next to the plot of the NYSE, Figure 3b. Apparently, the two time series, except for causal changes, look similar. To confirm this, Figure 4compares the power spectral density (PSD) estimates of the two analysed time series, thereby verifying their similarity. Entropy 2023,25, 1527 9 of 18 500 1000 1500 2000 2500 3000 3500 4000 4500 -100 -80 -60 -40 -20 0 Brown noise (a) 500 1000 1500 2000 2500 3000 3500 4000 4500 4000 6000 8000 10000 12000 14000 NYSE (b) Figure 3. Time series of: (a) Brown noise and (b) NYSE. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Normalized Frequency ( rad/sample) -20 0 20 40 60 80 100 Power/frequency (dB/(rad/sample)) Welch Power Spectral Density Estimate Brown noise NYSE Figure 4. Welch Power Spectral Density Estimate for Brownian noise (blue) and the NYSE (red). 3.2. Power Law Process Estimation Signals exhibiting scale-free dynamics often display autocorrelation or power spectral densities (PSD) that adhere to a power-law pattern. This power-law process can be characterised by a PSD with the following form: C=abs(ω)−β where C represents a positive constant and β denotes the exponent. In the context of brown noise, the theoretical exponent is fixed at 2. One approach to determining the exponent of a power-law process involves fitting a least-squares linear regression to a logarithmically transformed plot of the PSD. Figure 5a,b show the estimate for the two considered time series. As discussed in the work of London et al. [ 85 ], the value of the exponent in the power law has implications for the scaling (decaying) behaviour of the tails in the empirical probability density function (PDF). For example, Bouchaud et al. [ 86 ] describe a power law behaviour, expressed as p(x)∼x−β . For example, take the Pareto wealth distribution P(W) , a classic economic power law depending on individual wealth W . In its asymptotic tail, this distribution is typically expressed as a power law: P(W)∼Wµ 0 W1+µfor WW0. Within this equation, the parameter µ determines how the distribution behaves for large values of W . A smaller µ indicates a slower decay and a more significant disparity between the wealthiest and the least affluent individuals. In the context of financial markets, as shown by Gopikrishnan et al. [ 87 ] and Bouchaud et al. [ 86 ], it is worth noting that the distribution of price increments can be effectively modeled as a power law with µ typically around 3. This value of µ falls well outside the stable Lévy regime of 0 <µ< 2. Other Entropy 2023,25, 1527 16 of 18 20. Montesinos, L.; Castaldo, R.; Pecchia, L. On the use of approximate entropy and sample entropy with centre of pressure time-series. J. NeuroEng. Rehabil. 2018,15, 1–15. [CrossRef] 21. Zhang, H.; He, S.S. Analysis and Comparison of Permutation Entropy, Approximate Entropy and Sample Entropy. In Proceedings of the 2018 International Symposium on Computer, Consumer and Control (IS3C), Taichung, Taiwan, 6–8 December 2018; pp. 209–212. [CrossRef] 22. Olbry´s, J.; Majewska, E. Regularity in Stock Market Indices within Turbulence Periods: The Sample Entropy Approach. Entropy 2022,24, 921. [CrossRef] 23. Molina-Picó, A.; Cuesta-Frau, D.; Aboy, M.; Crespo, C.; Miró-Martínez, P.; Oltra-Crespo, S. Comparative study of approximate entropy and sample entropy robustness to spikes. Artif. Intell. Med. 2011,53, 97–106. [CrossRef] 24. Kohler, B.U.; Hennig, C.; Orglmeister, R. The principles of software QRS detection. IEEE Eng. Med. Biol. Mag. 2002 ,21, 42–57. [CrossRef] 25. Risso, W.A. The informational efficiency and the financial crashes. Res. Int. Bus. Financ. 2008,22, 396–408. [CrossRef] 26. Ortiz-Cruz, A.; Rodriguez, E.; Ibarra-Valdez, C.; Alvarez-Ramirez, J. Efficiency of crude oil markets: Evidences from informational entropy analysis. Energy Policy 2012,41, 365–373. [CrossRef] 27. Wang, J.; Wang, X. COVID-19 and financial market efficiency: Evidence from an entropy-based analysis. Financ. Res. Lett. 2021 , 42, 101888. [CrossRef] 28. Mandelbrot, B.B. The inescapable need for fractal tools in finance. Ann. Financ. 2005,1, 193–195. [CrossRef] 29. Blackledge, J.; Lamphiere, M. A Review of the Fractal Market Hypothesis for Trading and Market Price Prediction. Mathematics 2021,10, 117. [CrossRef] 30. Karaca, Y.; Zhang, Y.D.; Muhammad, K. Characterizing Complexity and Self-Similarity Based on Fractal and Entropy Analyses for Stock Market Forecast Modelling. Expert Syst. Appl. 2020,144, 113098. [CrossRef] 31. Samko S.G. Fractional Integrals and Derivatives. In Theory and Applications; Taylor & Francis: Oxfordshire, UK , 1993. 32. Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; Wiley-Interscience: Hoboken, NJ, USA, 1993. 33. Mandelbrot, B.B.; Van Ness, J.W. Fractional Brownian Motions, Fractional Noises and Applications. SIAM Rev. 1968 ,10, 422–437 [CrossRef] 34. Mörters, P.; Peres, Y. Brownian Motion; Cambridge University Press: Cambridge, UK, 2010; Volume 30. 35. Karatzas, I.; Shreve, S.E. Brownian Motion. In Brownian Motion and Stochastic Calculus; Springer: New York, NY, USA, 2021; pp. 47–127. [CrossRef] 36. Machado, J.A.T. Fractal and Entropy Analysis of the Dow Jones Index Using Multidimensional Scaling. Entropy 2020 ,22, 1138. [CrossRef] [PubMed] 37. Rulkov, N.F. Regularization of Synchronized Chaotic Bursts. Phys. Rev. Lett. 2001,86, 183–186. [CrossRef] 38. Wang, C.; Cao, H. Stability and chaos of Rulkov map-based neuron network with electrical synapse. Commun. Nonlinear Sci. Numer. Simul. 2015,20, 536–545. [CrossRef] 39. Pisarchik, A.; Bashkirtseva, I.; Ryashko, L. Chaos can imply periodicity in coupled oscillators. Europhys. Lett. 2017 ,117, 40005. [CrossRef] 40. Pisarchik, A.N.; Hramov, A.E. Coherence resonance in neural networks: Theory and experiments. Phys. Rep. 2023 ,1000, 1–57. [CrossRef] 41. Orlando, G.; Bufalo, M. Modelling bursts and chaos regularization in credit risk with a deterministic nonlinear model. Financ. Res. Lett. 2022,47, 102599. [CrossRef] 42. Orlando, G. Simulating heterogeneous corporate dynamics via the Rulkov map. Struct. Chang. Econ. Dyn. 2022 ,61, 32–42. [CrossRef] 43. Stoop, R.; Orlando, G.; Bufalo, M.; Della Rossa, F. Exploiting deterministic features in apparently stochastic data. Sci. Rep. 2022 , 12, 1–14. [CrossRef] 44. Orlando, G.; Bufalo, M.; Stoop, R. Financial markets’ deterministic aspects modeled by a low-dimensional equation. Sci. Rep. 2022,12, 1693. [CrossRef] [PubMed] 45. Stoop, R. Stable Periodic Economic Cycles from Controlling. In Nonlinearities in Economics; Springer: Cham, Switzerland, 2021; pp. 209–244. [CrossRef] 46. Lampart, M.; Lampartová, A.; Orlando, G. On risk and market sentiments driving financial share price dynamics. Nonlinear Dyn. 2023,111, 16585–16604. [CrossRef] 47. Stoop, R. Signal Processing. In Nonlinearities in Economics; Springer: Cham, Switzerland, 2021; pp. 111–121. [CrossRef] 48. Rossa, F.D.; Guerrero, J.; Orlando, G.; Taglialatela, G. Applied Spectral Analysis. In Nonlinearities in Economics; Springer: Cham, Switzerland, 2021; pp. 123–139. [CrossRef] 49. Lampart, M.; Lampartová, A.; Orlando, G. On extensive dynamics of a Cournot heterogeneous model with optimal response. Chaos Interdiscip. J. Nonlinear Sci. 2022,32, 023124. [CrossRef] 50. Radunskaya, A. Comparing random and deterministic time series. Econ. Theory 1994,4, 765–776. [CrossRef] 51. Miskovic, V.; MacDonald, K.J.; Rhodes, L.J.; Cote, K.A. Changes in EEG multiscale entropy and power-law frequency scaling during the human sleep cycle. Hum. Brain Mapp. 2019,40, 538. [CrossRef] Entropy 2023,25, 1527 17 of 18 52. Drzazga-Szcz˛e´sniak, E.A.; Szczepanik, P.; Kaczmarek, A.Z.; Szcz˛e´sniak, D. Entropy of Financial Time Series Due to the Shock of War. Entropy 2023,25, 823. [CrossRef] [PubMed] 53. Grobys, K. What do we know about the second moment of financial markets? Int. Rev. Financ. Anal. 2021 ,78, 101891. [CrossRef] 54. Hou, K.; Xue, C.; Zhang, L. Replicating Anomalies. Rev. Financ. Stud. 2020,33, 2019–2133. [CrossRef] 55. Harvey, C.R.; Liu, Y.; Zhu, H. . .. and the Cross-Section of Expected Returns. Rev. Financ. Stud. 2016,29, 5–68. [CrossRef] 56. Serra-Garcia, M.; Gneezy, U. Nonreplicable publications are cited more than replicable ones. Sci. Adv. 2021 ,7, eabd1705. [CrossRef] [PubMed] 57. Bertoin, J. Lévy Processes; Cambridge University Press: Cambridge, UK, 1996; Volume 121. 58. Applebaum, D. Lévy Processes and Stochastic Calculus; Cambridge University Press: Cambridge, UK, 2009. 59. Orlando, G.; Zimatore, G. Business cycle modeling between financial crises and black swans: Ornstein–Uhlenbeck stochastic process vs. Kaldor deterministic chaotic model. Chaos Interdiscip. J. Nonlinear Sci. 2020,30, 083129. [CrossRef] [PubMed] 60. Uhlenbeck, G.E.; Ornstein, L.S. On the Theory of the Brownian Motion. Phys. Rev. 1930,36, 823–841. [CrossRef] 61. Gardiner, C. Stochastic Methods; Springer: Berlin, Germany, 2009. 62. Orlando, G.; Mininni, R.M.; Bufalo, M. Interest rates calibration with a CIR model. J. Risk Financ. 2019,20, 370–387. [CrossRef] 63. Orlando, G.; Mininni, R.M.; Bufalo, M. A new approach to forecast market interest rates through the CIR model. Stud. Econ. Financ. 2019,37, 267–292. [CrossRef] 64. Bufalo, M.; Liseo, B.; Orlando, G. Forecasting portfolio returns with skew-geometric Brownian motions. Appl. Stoch. Models. Bus. Ind. 2022,38, 620–650. [CrossRef] 65. Ahmadi, F.; Pourmahmood Aghababa, M.; Kalbkhani, H. Identification of Chaos in Financial Time Series to Forecast Nonperforming Loan. Math. Probl. Eng. 2022,2022, 2055655. [CrossRef] 66. DataHub—A Complete Solution for Open Data Platforms, Data Catalogs, Data Lakes and Data Management. 2023. Available online: https://datahub.io/collections/stock-market-data (accessed on 26 September 2023). 67. Rosenhouse, G. Colours of noise fractals and applications. Int. J. Des. Nat. Ecodynamics 2014,9, 255–265. [CrossRef] 68. Vasicek, O. An equilibrium characterization of the term structure. J. Financ. Econ. 1977,5, 177–188. [CrossRef] 69. Brigo, D.; Mercurio, F. The CIR++ model and other deterministic-shift extensions of short rate models. In Proceedings of the 4th Columbia-JAFEE Conference for Mathematical Finance and Financial Engineering, Tokyo, Japan, 16–17 December 2000; pp. 563–584. 70. Hussain, L.; Saeed, S.; Awan, I.A.; Idris, A. Multiscaled Complexity Analysis of EEG Epileptic Seizure Using Entropy-Based Techniques. Arch. Neurosci. 2018,5, e61161. [CrossRef] 71. MathWorks. MATLAB, Version: 9.13.0 (R2022b); Math Works: Natick, MA, USA, 2022. 72. Parnandi, A. Approximate Entropy. 2023. Available online: https://www.mathworks.com/matlabcentral/fileexchange/26546- approximate-entropy (accessed on 1 October 2023). 73. Martínez-Cagigal, V. Sample Entropy. 2018. Available online: https://www.mathworks.com/matlabcentral/fileexchange/69381- sample-entropy (accessed on 1 October 2023). 74. Strohsal, T.; Proaño, C.R.; Wolters, J. Characterizing the financial cycle: Evidence from a frequency domain analysis. J. Bank. Financ. 2019,106, 568–591. [CrossRef] 75. Di Matteo, T. Multi-scaling in finance. Quant. Financ. 2007,7, 21–36. [CrossRef] 76. Benedetto, F.; Mastroeni, L.; Vellucci, P. Modeling the flow of information between financial time-series by an entropy-based approach. Ann. Oper. Res. 2021,299, 1235–1252. [CrossRef] 77. Alexander, W.; Williams, C.M. Digital Signal Processing: Principles, Algorithms and System Design; Academic Press, Inc.: London, UK, 2016. 78. Hayes, M.H. Statistical Digital Signal Processing and Modeling; John Wiley & Sons: New York, NY, USA, 1996. 79. Stoica, P.; Moses, R.L. Spectral Analysis of Signals; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2005; Volume 452. 80. Mandelbrot, B.B. Fractals and Scaling in Finance; Springer: New York, NY, USA, 2013. 81. Lavielle, M. Using penalized contrasts for the change-point problem. Signal Process. 2005,85, 1501–1510. [CrossRef] 82. Lavielle, M.; Teyssiere, G. Detection of multiple change-points in multivariate time series. Lith. Math. J. 2006 ,46, 287–306. [CrossRef] 83. Killick, R.; Fearnhead, P.; Eckley, I.A. Optimal Detection of Changepoints With a Linear Computational Cost. J. Am. Stat. Assoc. 2011,107, 1590–1598. [CrossRef] 84. MathWorks. Signal Processing Toolbox, Version: 9.4 (R2022b); Math Works: Natick, MA, USA, 2022. 85. London, M.; Evans, A.; Turner, M. Why study financial time series? In Fractal Geometry; Elsevier: Amsterdam, The Netherlands, 2002; pp. 68–113. 86. Bouchaud, J.P. Power laws in economics and finance: Some ideas from physics. Quant. Financ. 2001,1, 105. [CrossRef] 87. Gopikrishnan, P.; Plerou, V.; Nunes Amaral, L.A.; Meyer, M.; Stanley, H.E. Scaling of the distribution of fluctuations of financial market indices. Phys. Rev. E 1999,60, 5305–5316. [CrossRef] 88. Cont, R.; Potters, M.; Bouchaud, J.P. Scaling in stock market data: Stable laws and beyond. In Proceedings of the Scale Invariance and Beyond: Les Houches Workshop, Les Houches, France, 10–14 March 1997; Springer: Berlin/Heidelberg, Germany, 1997; pp. 75–85. Entropy 2023,25, 1527 18 of 18 89. Bouchaud, J.P.; Georges, A. Anomalous diffusion in disordered media: Statistical mechanisms, models and physical applications. Phys. Rep. 1990,195, 127–293. [CrossRef] 90. Stuart, A.; Ord, K. Kendall’s Advanced Theory of Statistics, Distribution Theory; John Wiley & Sons: New York, NY, USA, 1994; Volume 1. 91. Kim, K.; Yoon, S.M. Multifractal features of financial markets. Phys. A Stat. Mech. Its Appl. 2004,344, 272–278. [CrossRef] 92. Schmitt, F.; Schertzer, D.; Lovejoy, S. Multifractal fluctuations in finance. Int. J. Theor. Appl. Financ. 2000,3, 361–364. [CrossRef] 93. Jiang, Z.Q.; Xie, W.J.; Zhou, W.X.; Sornette, D. Multifractal analysis of financial markets: A review. Rep. Prog. Phys. 2019 , 82, 125901. [CrossRef] 94. Reynolds, A.M.; Rhodes, C.J. The Lévy flight paradigm: Random search patterns and mechanisms. Ecology 2009 ,90, 877–887. [CrossRef] 95. Lundy, M.G.; Harrison, A.; Buckley, D.J.; Boston, E.S.; Scott, D.D.; Teeling, E.C.; Montgomery, W.I.; Houghton, J.D.R. Prey field switching based on preferential behaviour can induce Lévy flights. J. R. Soc. Interface 2013,10, 20120489. [CrossRef] 96. Pyke, G.H. Understanding movements of organisms: It’s time to abandon the Lévy foraging hypothesis. Methods Ecol. Evol. 2015 , 6, 1–16. [CrossRef] 97. Levernier, N.; Textor, J.; Bénichou, O.; Voituriez, R. Inverse Square Lévy Walks are not Optimal Search Strategies for d≥ 2. Phys. Rev. Lett. 2020,124, 080601. [CrossRef] 98. Goldberger, A.L.; Goldberger, Z.D.; Shvilkin, A. Chapter 2—ECG Basics: Waves, Intervals, and Segments. In Goldberger’s Clinical Electrocardiography, 8th ed.; Elsevier: Waltham, MA, USA, 2018; pp. 6–10. [CrossRef] Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.