Loading [MathJax]/jax/output/SVG/jax.js
Research article

Fuzzy permutation entropy derived from a novel distance between segments of time series

  • Received: 11 June 2020 Accepted: 27 July 2020 Published: 05 August 2020
  • MSC : 94A17

  • As effective tools for time series analyzing, a variety of information entropies have been widely applied in engineering, economic, biomedicine and other fields. In this paper, we define a new distance between finite sequence based on inversion and derive a new entropy, Fuzzy Permutation Entropy(FPE). A comparison of recognition performance for WGN, 1/f noise, periodical, or chaotic sequence and sine waves shows that FPE is valid on distinguishing deterministic signals from stochastic signals. Further contrast studying versus FE and PE shows that FPE is more sensitive to the alteration of the complexity of time series and more effective on separating different signals. Moreover, FPE is used to explore the distinction of the complexity of various traffic flows via the time headways which is simulated from the improved brake light rule model. We hope it is conducive to design Intelligent Transportation Management System.

    Citation: Zelin Zhang, Zhengtao Xiang, Yufeng Chen, Jinyu Xu. Fuzzy permutation entropy derived from a novel distance between segments of time series[J]. AIMS Mathematics, 2020, 5(6): 6244-6260. doi: 10.3934/math.2020402

    Related Papers:

    [1] Qiansheng Zhang, Jingfa Liu . Entropy of credibility distribution for intuitionistic fuzzy variable. AIMS Mathematics, 2023, 8(4): 9671-9691. doi: 10.3934/math.2023488
    [2] Li Li, Mengjing Hao . Interval-valued Pythagorean fuzzy entropy and its application to multi-criterion group decision-making. AIMS Mathematics, 2024, 9(5): 12511-12528. doi: 10.3934/math.2024612
    [3] T. M. Athira, Sunil Jacob John, Harish Garg . A novel entropy measure of Pythagorean fuzzy soft sets. AIMS Mathematics, 2020, 5(2): 1050-1061. doi: 10.3934/math.2020073
    [4] Li Li, Xin Wang . Hamming distance-based knowledge measure and entropy for interval-valued Pythagorean fuzzy sets. AIMS Mathematics, 2025, 10(4): 8707-8720. doi: 10.3934/math.2025399
    [5] Amal S. Hassan, Najwan Alsadat, Oluwafemi Samson Balogun, Baria A. Helmy . Bayesian and non-Bayesian estimation of some entropy measures for a Weibull distribution. AIMS Mathematics, 2024, 9(11): 32646-32673. doi: 10.3934/math.20241563
    [6] Mansour Shrahili, Mohamed Kayid . Uncertainty quantification based on residual Tsallis entropy of order statistics. AIMS Mathematics, 2024, 9(7): 18712-18731. doi: 10.3934/math.2024910
    [7] Ibrahim M. Hezam, Pratibha Rani, Arunodaya Raj Mishra, Ahmad Alshamrani . An intuitionistic fuzzy entropy-based gained and lost dominance score decision-making method to select and assess sustainable supplier selection. AIMS Mathematics, 2023, 8(5): 12009-12039. doi: 10.3934/math.2023606
    [8] Mansour Shrahili, Mohamed Kayid . Rényi entropy of past lifetime from lower $ k $-record values. AIMS Mathematics, 2024, 9(9): 24401-24417. doi: 10.3934/math.20241189
    [9] Ming Shi, Ibrar Hussain . Improved region-based active contour segmentation through divergence and convolution techniques. AIMS Mathematics, 2025, 10(1): 654-671. doi: 10.3934/math.2025029
    [10] Paresh Vyas, Rajesh Kumar Kasana, Sahanawaz Khan . Entropy Analysis for boundary layer Micropolar fluid flow. AIMS Mathematics, 2020, 5(3): 2009-2026. doi: 10.3934/math.2020133
  • As effective tools for time series analyzing, a variety of information entropies have been widely applied in engineering, economic, biomedicine and other fields. In this paper, we define a new distance between finite sequence based on inversion and derive a new entropy, Fuzzy Permutation Entropy(FPE). A comparison of recognition performance for WGN, 1/f noise, periodical, or chaotic sequence and sine waves shows that FPE is valid on distinguishing deterministic signals from stochastic signals. Further contrast studying versus FE and PE shows that FPE is more sensitive to the alteration of the complexity of time series and more effective on separating different signals. Moreover, FPE is used to explore the distinction of the complexity of various traffic flows via the time headways which is simulated from the improved brake light rule model. We hope it is conducive to design Intelligent Transportation Management System.


    Over the past decades, the rapid development of communication technology helps to collect massive data from people's daily life. In the coming big data era, it is a hotspot to study how to enhance data processing technology. Data mining for time series plays an important role in this field. Some tools, such as fractal dimension [12], Lyapunov exponent [27], fractional calculus [22], entropy [36], etc., have been widely used to characterize essential features of dynamic systems. Fractional calculus brings innovation to both theory and application, and it is a powerful tool that measures memory effects of time series. For example, Yu studies the backward stochastic differential equations driven by fractional Brownian motion [35], Zhang establishes limit theorems for the integral functional of fractional Brownian motion [34], Zhao proposes a new weak signal detection method based on fractional Fourier transform [38] and defines a general fractional derivatives with memory effects [39] which can better describe nonlocal phenomena. In fact, memory is one of the manifestations of complexity. Complexity analysis is beneficial to characterize dynamical systems. As another effective tool for complexity analyzing, various entropies based on Shanon's form have been applied in engineering, economic and other disciplines. As we all known, information entropy can be used to quantify indeterminacy from the output of complex systems. In fact, to explore dynamical characteristics and the revolutionary mechanism, researchers have developed diversified tools. Here we show three important ones, and they are Multiple Scale Entropy (MSE) [7], Permutation Entropy (PE) [5] and Fuzzy Entropy (FE) [6]. Readers should know that more than 100 kinds of entropies are widely used in various fields [19], such as Cumulative Residual Entropy [15,32], Transfer Entropy [24,26], Rough Entropy [23], Wavelet Entropy [10] and so on.

    MSE  Based on Sample Entropy(SE), M. Costa takes into account different time lags and proposes MSE which has attract researchers' concerns fascinatingly [13,33]. Taking MSE as a feature of the time headway, Z. Xiang studies the relation between the traffic congestion and the complexity [30], A. Llenas classifies digital and analog modulated signals with Support Vector Machine(SVM) [17]. M. Ahmed generalizes MSE to Multivariate Multiscale Entropy(MMsE) and explores real-world biological systems as well as physical systems [18]. Since short time series may cause to undefined MSE, S. Wu has proposed Refined Composite Multiscale Entropy(RCMsE) which contributes to increase the accuracy of estimation [28]. What's more, MSE can be applied to biomedicine. For example, F. Liao has found that MSE of the skin blood flow provides a comprehensive assessment of the risk for Diabetic foot ulcer [16].

    PE  The standard variance, which is used to judge whether a new pattern occurs or not, exerts an important part in the method of MSE. As real-world time series are often non-stationary series, it may lead to unreliable results. PE, which takes the order structure in each segment as a basic criteria, puts forward a different way of identifying new patterns. C. Bandt has proposed the fundamental form of PE and used it to analyze the sensitivity of the noise in speech signals [5]. But PE completely neglects the amplitude of time series, which makes it performs barely satisfactory. To overcome this weakness, B. Fadlallah proposes an amendment, Weighted Permutation Entropy(WPE), which takes the amplitude of each fragment as its weight [9]. H. Azami has proposed Improvement Multiscale Permutation Entropy(IMPE) by taking the average of WPE over different time lags [2]. Both WPE and IMPE are applied to EEG analysis on epilepsy detection, and the results show they are sensitive to impulses or abrupt changes in EEG signals, and the variability of IMPE is smaller than WPE. Moreover, there are some further amendments on WPE and applications in traffic engineering and finance [29,37].

    FE   Both MSE and PE quantify the complexity of time series by the change of the probability of new patterns in different scales, but ignore the fact that the degree of deviation between different patterns is not invariable. Based on this fact, W. Chen proposes FE as an efficient tool to characterize time series and analyzes its antinoise performance [6]. Since the distance between segments is derived from the infinite norm, a lot of details are still abandoned. Researchers have made some improvements on FE. Here we only showcase several recent works. H. Azami puts forward Refined Multiscale Fuzzy Entropy(RMsFE), which enhances the stability and reliability of diagnosing in Alzheimer's disease [4]. Later he proposed a multi-dimensional form, Refined Composite Multivariate Multiscale Fuzzy Entropy(RCMMsFE), which is similar to the multi-variable generalizing of MSE. RCMMsFE has been examined on focal and non-focal EEG signals, and it contributes to decrease the running time as well as the sensitivity to the length of time series [3]. Fractional Fuzzy Entropy(FFE) demonstrates its effectiveness on analyzing EEG signals from epileptic patients, and S. He discusses how to choose parameters in [11]. X. Zhu defines Time-Shift Multiscale Fuzzy Entropy(TSMsFE), which is applied to the single point fault diagnosis for rolling bear system [41].

    As we have mentioned above, MSE, PE and FE are focus on different scales, ordinal pattern and similarity, respectively. They share similar adjustments to enhance the performance, such as robustness to noise. They still have their own disadvantages. For MSE, it needs long source time series to obtain statistically significant results, because of the process of coarse graining of segments, but it is difficult to collect enough data in some real-time scenarios. In fact, if it is used to measure the complexity of short time series, MSE may induce undefined entropy. For PE, the similarity of different order structures is ignored, which gives rise to a false increasing of the complexity. For FE, since the distance between embedding vectors is derived from the infinite norm, it may no longer be valid if SNR is relatively low. Besides, how to assign optimal parameters of the above three entropies is still unclear. So, we attempt to propose a comprehensive method, Fuzzy Permutation Entropy(FPE), which combines MSE, PE and FE appropriately and this approach can be applied to short time series for real-time problems.

    The rest of this paper is organized to 4 sections. In Section 2, we explain key details of FPE as well as some necessary mathematical proofs. Several common signals are examined by FPE, and three comparisons among MSE, PE, FE and FPE are made in Section 3. Then, we apply FPE to the data of traffic simulation to detect the traffic flow congestion in Section 4. Finally, we draw a conclusion in Section 5.

    In this section, we define a new distance between rearrangement (finite sequence) based on inversion and show the approach of computing this distance, then we introduce the process of calculating FPE.

    Let π=(a1 a2  an) be a rearrangement of the naturally ordered n-dimensional array (1 2  n) and A the set of all rearrangements [8]. #(π) denotes its inversion [21]. If πT:(T1 T2  Tn) and πS:(S1 S2  Sn) belong to A, then

    T=[T1 T2  TnS1 S2  Sn] (2.1)

    denotes a permutation from πT to πS on A. Obviously, the order of columns in T does not affect its function. In general, T=[T1 T2  TnS1 S2  Sn] can be written as T=[Tk1 Tk2  Tkn1 2  n], where ki satisfies to Ski=i. If it does not lead to confusion, #(T) is still used to represent the inversion of T. That is,

    #([T1 T2  TnS1 S2  Sn])=#([Tk1 Tk2  Tkn1 2  n])=#(Tk1 Tk2  Tkn) (2.2)

    If the exchange of elements in a rearrangement is restricted to adjacent elements (in this paper, this restriction always exists), the inversion seems like a kind of distance to some extent, see Theorem 2.1.

    Theorem 2.1. Let π=(a1 a2  an) be a rearrangement, then at least #(π) times exchanges are needed to turn π into a natural ordered rearrangement.

    Proof: Firstly, each exchange of adjacent elements cause π add or minus 1. In particular, if (ai,ai+1) is an inverse pair [21] in π, then

    #(a1 a2  ai1 ai+1 ai ai+2  an)=#(π)1 (2.3)

    It is a direct corollary of the fact that the exchange of adjacent elements just alter the order relation between themselves.

    Secondly, in order to transfer any π to natural order, we just need to make sure any pair of adjacent elements can not form inverse pair.

    Finally, all we need is to apply the induction on n, viz. the length of π.

    1. It is trivial for n=2.

    2. Assume it holds for nk. For n=k+1, let

    π=(a1 a2 aj1 aj aj+1 an+1),

    and

    π0=(a1 a2 aj1 aj+1 an+1),

    where aj=1. Thus we have,

    #(π)=#(π0)+j (2.4)

    For the minimum element "1", if 1 is not in the first place, then each neighbor on the left and itself must be an inverse pair. So it takes at least j1 times exchange to place element 1 at the first place. Using the induction hypotheses, π0 needs at least #(π0) times exchange to form a naturally ordered sequence. Thus π needs at least #(π0)+j1 times exchange to be naturally ordered. From Eq (2.4), the conclusion holds.

    Based on the above theorem, the distance between rearrangements can be defined as follow:

    Definition 2.1. Let πa=(a1 a2  an) and πb=(b1 b2  bn) be rearrangements, the distance between them can be defined as the inversion of the permutation from πa to πb, denoted by d(πa,πb). That is,

    d(πa,πb)=#([a1 a2  anb1 b2  bn]) (2.5)

    NOTE 1: In general, a map to R is called a distance, if it is non-negative, symmetrical, and satisfies to the triangle inequality. In fact, they can be easily drawn by Theorem 2.1, and d(πa,πb) is the minimum times of exchanges which turn πa to πb.

    To compute the value of d(πa,πb), we need another kind of transformation which is defined below.

    Definition 2.2. Let πa=(a1 a2  an) be a rearrangement. For a bijection OT=[o1 o2  on] on A with the property that OT(πa)=(ao1 ao2  aon), OT is called an order transformation.

    NOTE 2: With order transformation, it is easy to get the value of d(πa,πb). In fact,

    d(πa,πb)=#(OTπb(πa)) (2.6)

    where OTπb is an order transformation maps πb into natural order.

    NOTE 3: In addition, if x=(x1, x2, , xn) is a unique real value sequence, we still use OTx to represent an order transformation, which maps x into natural order. If x is not unique, always assume that the former in x should be still put in front in OTx(x). For instance, given

    x=(0.54 0.29 0.74 0.18 0.54 0.17),

    then,

    OTx=[6 4 2 1 5 3],OTx(x)=(0.17 0.18 0.29 0.54 0.54 0.78).

    Referring to the steps of estimating FE as described in [6], the Fuzzy Permutation Entropy of a time series with a fixed scale τ, FPE(X,τ), can be figured out soon. The procedure can be described as follows.

    1. Let X={x(i):1iN} be a time series with length N. For a fixed scale τ, gratitude m and tolerance r, construct a temporal vector sequence {Xτi,i=1,2,,Nτ+1} in the form as

    Xτi={x(i),x(i+1),,x(i+τ1)},i=1,2,,Nτ+1 (2.7)

    where Xτi represents τ consecutive x values, commencing with the ith point.

    2. Each Xτi is transformed to the orderly form O(Xτi), which is defined by

    O(Xτi)=OTOTR((1 2  τ)) (2.8)
    OTR=OTXτi((1 2  τ)) (2.9)

    Take the above mentioned x as an example, O(x)=(4 3 6 2 5 1). For simplification, the symbol Xτi is still used to represent its orderly form O(Xτi).

    3. For each pair of Xτi and Xτj(ij), use the Eq (2.6) to calculate the distance ¯dτij between them, then standardize the distance set by the maximum. That is,

    ¯dτij=#(OTXτj(Xτi)) (2.10)
    dτij=¯dτijmaxi,j{¯dτij} (2.11)

    4. Calculate the similarity degree Sτij of each pair of Xτi and Xτj through the fuzzy function μ(dτij,m,r), that is,

    Sτij=μ(dτij,m,r)=exp(ln2(dτijr)m) (2.12)

    In this paper, we fix m=2 and r=0.15.

    5. Define a global quantity ϕτ, as the average of Sτij,

    ϕτ=1(Nτ+1)Nτ+1i=1Nτj=1,ijSτijNτ (2.13)

    6. Let τ=τ+1, repeat the above steps 1-5 and define ϕτ+1 as,

    ϕτ+1=1(Nτ)Nτi=1Nτ1j=1,ijSτ+1ijNτ1 (2.14)

    7. Finally, FPE(X,τ) can be defined by,

    FPE(X,τ)=lnϕτlnϕτ+1 (2.15)

    In this section, FPE is used to analyze the complexity of some typical oscillating signals, including white noise, 1/f noise, sine wave, and x-coordinates of Rössler system, where white noise and 1/f noise are typical stochastic signals while sine wave and Rössler series represent to deterministic signals. First, we state formulas regarding to sine wave and Rössler system; then, describe the simulation procedure; next, analyze the results under different length of time series; finally, show a comparison of FPE to MSE, PE and FE.

    To verify the function of FPE, several signals have been created, including deterministic and stochastic ones. For random signals, white noise and pink noise(both with μ=0,σ=1) are produced, as the route described in [40]. Here we just showcase the formula of other two deterministic dynamical systems.

    Sine wave   For sine waves, different frequencies are utilized to represent different levels of the complexity of deterministic signals. Add another sine wave which has different frequency for disturbing. See Eq (3.1).

    Xsin(t)=sin(5k×t)+sin(3×t+k) (3.1)

    where k represents the times of simulation. In every simulation, the gap Δt is fixed to 9 constantly. By repeating this process for 10 times, sine waves of different complex degree are produced.

    Rössler system

    {˙x=yz˙y=x+ay˙z=b+z(xc) (3.2)

    When parameters a,b and c take different values, the Rössler system [20] demonstrates distinguishable dynamical behaviors. In this study, we fix b=2,c=4 with the bifurcation parameter a=0.3997 for 5-period orbit and a=0.4002 for chaotic behavior, respectively.

    The fourth/fifth order Runge-Kutta algorithm [1] is applied to estimate the numerical solutions of Eq (3.2). For each a in each simulation, let the initial point be [1,0,1] and the simulating timespan t[0,1500×k] with the step-length for 0.1. The last certain values of x-component with gap length for 9 were recorded for further studying.

    For each signals, a sample displays in Figure 1.

    Figure 1.  (a) WGN, (b) 1/f noise, (c) sine wave of Equation(3.1) with k=10, (d) 5-period, Equation (3.2) with a=0.3997, (e) x-component of 5-period orbit, (f) chaotic, Equation (3.2) with a=0.4002, (g) x-component of chaotic series. Stochastic and deterministic signals appear different oscillation. (e) and (g) seem to be similar in spite of totally different dynamic mechanism.

    Simulation procedure  To begin with, the length of signals is fixed to 500 and the range of scale is between 10 to 45. Next, the simulation is repeated for 10 times. The FPE of each signal in every scale are recorded. Then, the standard variance of FPE over different scales in each simulation are drawn. Finally, in order to analyze the performance of FPE under a variety of length of signals, we repeat the procedure with different signal length for 55, 80, 150 and 300, respectively.

    Analysis  Figure 2a and 2b show that FPE values of deterministic signals seem to be oscillating drastically as the scale increases. For stochastic signals, their FPE values are more stable but interweaved and almost indistinguishable. For chaotic and period-5 time series generated by Rössler system, the extreme values of FPE of them are close and locate at same points. For sine waves, the complexity is rising since their frequency increases. For deterministic signals, the reason for this oscillating phenomenon can be attributable to their periodicity which makes ϕτ+1 in Eq (2.14) to be extremely large or small for certain values of τ, thus the volatility of their FPE values increases to some extent along with the window width reaches corresponding values. From Figure 2c one can find different signals can be easily distinguished. Compare with deterministic sequence, if a single point inserts to a fragment of random sequence, the change of its order relation is more concentrated. It leads to the similarity of distributions of ¯dτij and ¯dτ+1ij in Eq (2.10), thus the difference between ϕτ in Eq (2.13) and ϕτ+1 in Eq (2.14) is relative small. As a result, the sorted FPE curves of stochastic signals are smoother. Furthermore, Figure 2d and 2e illustrate the bottom and top 7 with error-bars, respectively. Obviously, extrema of different signals display unique features. The standard variance decreases significantly after sorting. This phenomenon inspire us to investigate the standard variances of FPE values(Std_FPE) of different signals. See Figure 3.

    Figure 2.  (a) FPE values of 5 signals. Oscillations of deterministic signals are much larger than that of stochastic ones. (b) FPE with error-bars. FPE of noise and 1/f noise are relatively stable, but FPE of deterministic signals are oscillating significantly when scale exceeds 20. (c) Sorted FPE with error-bars. FPE of stochastic and deterministic signals overlap to some extend, but they are remarkably distinguishable in extreme situations. (d) Bottom 7 of FPE. (e) Top 7 of FPE.
    Figure 3.  Standard variances of FPE values of different signals. Each signals has its own feature, and Std_FPE are stable except sine waves.

    The result shows that Std_FPE can distinguish deterministic or stochastic signals effectively, as a kind of representation of the volatility of complexity of time series. The complexity of stochastic signals is much stabler than that of deterministic ones. The volatility of FPE of 1/f noise is slightly lower than White Gaussian Noise(WGN) and it can be partly attributable to its memorability. The volatility of FPE of chaotic signals is higher than 5-period orbit, although both signals are generated from Rössler system and appear similar in small scale range. This reflects the complexity of chaotic time series. For sine waves with diverse frequency, one may regard that their complexity will increases under the same sample rate as the frequency rises. But in fact, Std_FPE sequence of sine waves is oscillating. The standardization of Eq (2.11) is considered as the main cause. Sine waves are typical periodical signals. Certain values of τ may cause large ϕτ+1, as we discussed in the above. In short, Std_FPE can be considered as an valid tool to separate time series with various complexity and randomness.

    One of the advantage of Std_FPE is that it can also work on shorter sequence, despite lower performance. Signal length of 55, 80, 150, 300 are tested. See Figure 4. It shows that the relative position of each signal remains steady and the differences gradually become remarkable as the length of signals rises.

    Figure 4.  (a) Signal length(SL) is 55, (b) SL = 80, (c) SL = 150, (d) SL = 300. Std_FPE of every signal decreases, as the length of time series grows. The volatility of FPE of sine waves is the largest one among the tested signals. It can be attributable to the change of its frequency. When the length is long enough, Std_FPE is an effective tool for separating stochastic signal from deterministic oscillating ones.

    In this part, FPE is compared with MSE [7], PE [5] and FE [6]. WGN(μ=0,σ=1) and sine waves with the gap Δt=9 of different frequency, as described in Eq (3.1), are used to test their performance. The comparison includes three parts: (1) PE, FE and FPE for very short sequences with low-complexity (WGN vs. low-frequency sine-waves); (2)PE, FE and FPE for very short sequences with high-complexity (WGN vs. high-frequency sine-waves); (3) MSE, FE, PE and FPE for short sequences with high-complexity (WGN vs. high-frequency sine-waves).

    Comparison (1)    The sequence length (SL) is fixed to 100 and repeated for 10 times. The range of scale is between 10 to 45. The result is shown in Figure 5. Note that MSE induced undefined entropy each time, it is invalid for these short time series. We introduce the performance of MSE for longer time series (SL=300) later. Std_FPE is distinguishable for different kinds of signals. In Figure 5a and 5b, FEnoise and PEnoise remain constant in different simulations, and some FEsin and PEsin overlap with them on certain scales. As the frequency of sine-wave goes up, FEsin is coincidence with FEnoise. We can see the similar situation in PE. But for FPE, 5c demonstrates significant oscillating behavior. So, StdFPE can be used for distinguishing sine-waves from noise as shown 5f. Furthermore, Figure 5d and 5e show that StdFEnoise and StdPEnoise are constant, while StdFEsin and StdPEsin are coincident with them respectively, if the frequency of sine waves reaches certain value. This indicates that it is difficult for FE and PE to distinguish deterministic signals with dramatical oscillation from stochastic signals.

    Figure 5.  SL=100. Sine waves of Eq (3.1). (a) FE, (b) PE, (c) FPE, (d) Std_FE, (e) Std_PE, (f) Std_FPE.

    Comparison (2)   In order to compare the function of FE, PE and FPE on more complex time series, sine waves of higher frequency are used for further investigation. Their frequency are adjusted to more than 40, see Eq (3.3).

    Xsin(t)=sin((40+k)t)+sin(3t+k) (3.3)

    In Figure 6a, we can see FEnoise and FEsin are overlapped completely. In Figure 6b, PEnoise and PEsin are almost overlapped except for a few scales. But in Figure 6c, the oscillation of FPE values of sine-waves is stronger than that of WGN, which is similar to what is shown in Figure 5c. Besides, as shown in Figure 6d and 6e, StdFE of noise and sine waves are very close for most of scales, so does StdPE. It illustrates that both FE and PE are invalid for separating noise from deterministic signals if the complexity of the latter reaches certain levels. In contrary, Figure 6f shows that StdFPE is still valid since StdFPEnoise is significant lower than StdFPEsin. Compare Figure 6 with Figure 5, one can conclude that FPE is more effective on separating complex deterministic oscillating signals from stochastic ones.

    Figure 6.  SL=100. Sine waves of Eq (3.3). (a) FE, (b) PE, (c) FPE, (d) Std_FE, (e) Std_PE, (f) Std_FPE. As the increase of complexity of time series, FE and PE confuse deterministic signals with stochastic ones, and FPE can distinguish them significantly.

    Comparison (3)   At the end of this subsection, we fix the length of time series to 300 to investigate the performance of MSE, FE, PE and FPE on longer signals, where sine waves are generated by Eq (3.3). The results are drawn in Figure 7. From Figure 7a, we can see that most of MSE are undefined entropies. Even for time series with the length of 300, MSE is still invalid. Besides, it can be seen that longer time series lead to better performance for FE, PE and FPE. FPE is still superior to FE and PE. From Figure 5c, 6c and 7d, one can conclude that FPE exhibits similar behaviors, that is, the weaker oscillations for stochastic time series but stronger for deterministic signals.

    Figure 7.  SL=300. Sine waves of Eq (3.3). (a) MSE, (b) FE, (c) PE, (d) FPE, (e) Std_FE, (f) Std_PE, (g) Std_FPE.

    In short, with longer signals, FE, PE and FPE can distinguish signals of different complexity. If the length of signals is shorten, FPE can hold this ability better than FE and PE. So, FPE can be considered as an effective tool for complexity analysis, especially when the amount of collecting data is restricted.

    In this section, FPE is used to explore the complexity of traffic evolution. We take the simulated time headway sequence under various states of traffic congestion as the research object. The sequences are generated from a cellular automaton model based on the improved braking light rule (IBLR Model). One can read [31], [25] and [14] for more details. IBLR Model considers the influence of deterministic deceleration, and it describes the behavior of drivers better. By adjusting the traffic density(ρ), the stable state of the traffic flow (SSTF) can exhibit different characters, such as free flow (FF), synchronized flow (SF) or both coexisting. Several densities and according SSTF are listed in Table 1.

    Table 1.  density and stable state of traffic flow.
    ρ SSTF
    0.03 FF
    0.04 dividing point between FF and SF
    0.05 FF and light SF coexist
    0.25 FF and heavy SF coexist
    0.45 SF or FF and SF and Jam coexist(FSJ)

     | Show Table
    DownLoad: CSV

    The simulations are performed on a ring with a length of 10 000 cells with the initial homogeneous distribution. As mentioned above, we change ρ to obtain different kinds of traffic flow. The first cell on the left is used as the sampling point and we record 50000 time headway continuously. For each ρ in Table 1, 19 groups of time series with certain lengths are sampled [31]. To make sure the time headway sequences are in stable state, start points of sampling are randomly selected after the 25000th place.

    Fix the length of time series to 150 and scale factors are 1045. Several examples of time headways in different densities are shown in Figure 8a. One can hardly distinguish them. Next, we use FPE to probe their difference in complexity. In Figure 8b, FPE values have oscillated viciously without presenting any significantly regular pattern. Then, by sorting FPE results of each simulation in Figure 8c, we find that FPE0.04 is the least one. It can be contribute to the fact that the traffic density of 0.04 is the dividing point between FF and SF, thus enhancing the orderliness of time headway. FPE0.05 and FPE0.25 are close, and it can be attributable to their similar SSTF. Furthermore, the curves of FPE0.03 and FPE0.45 are close too, which indicates that FPE values of FSJ are similar to that of FF. Figure 8d displays that StdFPE0.04 values are significantly smaller than others. Light and heavy SF are distinguishable by using sorted Std_FPE, see Figure 8e.

    Figure 8.  SL = 150, scale factors is 1045. (a) Time headways in different ρ, (b) FPE with error-bars, (c) Sorted FPE with error-bars, (d) Std_FPE, (e) Sorted Std_FPE.

    Figure 8 demonstrates that time headways of different SSTF have various complex extent, although the distinction is not remarkable. Recalling the analysis of Figure 2, we find that using top values can enhance the performance. So, we use top 40% values of every simulating result to analyze the complexity of the system, see Figure 9. Note that in this section we always use same start points as the above experiment for more accurate comparison.

    Figure 9.  SL = 150, scale factors is 1045. (a) Sorted top 40% FPE with error-bars, (b) Top 40% Std_FPE, (c) Sorted top 40% Std_FPE. By using top values of FPE, the performance has been enhanced significantly.

    Since the phenomenon of coexisting of FF and SF and Jam, the above FPE method still need to be improved. Obviously, shortening the length of sequence and scale may raise the probability of avoiding the coexistence of different SSTF. But shorter sequence also cause to more unstable FPE_Std, as we have discussed in Section 3.2. To give ideal values of sequence length and scale factors is still very difficult. Here we just conducted several experiments with different length and scales to show the robustness of FPE method. The results are drawn in following charts.

    The distributions of top FPE values are less sensitive to the small change of SL and scales, as shown in Figure 10. This property is conducive to choose appropriate SL and scales for a specific purpose. FF is the most sensitive one, since the curve of its mean value become the highest one as SL and scales decrease. Light SF is the secondly sensitive. As the range of scale factors narrows, the range of FPE also reduces. Figure 11 displays the change of Std_FPE. When SL and scales range reduce, the distributions of Std_FPE values are more as the range of scale factors. Std_FPE of light SF has increased, which shows the volatility of its complexity increased too. What's more, it is remarkable that the gap between FF and high SF narrows. The time headways of different density demonstrate specific character as SL and scales altering. It indicates that based on FPE method, the complexity of time headway is conducive to recognize the state of traffic flow. So, FPE method can conduce to Intelligent Transportation Management System.

    Figure 10.  Sorted top 40% FPE with error-bars. (a) SL = 150, scales are 1045, (b)SL = 140, scales are 1040, (c)SL = 130, scales are 1040, (d) SL = 140, scales are 1030, (e)SL = 130, scales are 1030.
    Figure 11.  Sorted top 40% Std_FPE. (a) SL = 150, scales are 1045, (b)SL = 140, scales are 1040, (c)SL = 130, scales are 1040, (d) SL = 140, scales are 1030, (e)SL = 130, scales are 1030.

    In this paper, we define a novel distance of rearrangements. Based on it, we introduce the Fuzzy Permutation Entropy (FPE). We have illustrated the behavior of FPE-based approaches, over multiple scale factors, versus WGN, 1/f noise, xcomponent of Rössler system in 5-period or chaotic state, sine waves and simulated time headway of IBLR Model with different densities. Besides, we have compared the performance of MSE, FE, PE and FPE on separating WGN and sine waves. The results show that FPE was an effective tool, which had more sensitive performance on the complexity analysis and more stable effect on identifying deterministic and stochastic signals. Moreover, FPE is conducive to probe various congestion level of traffic flow, such as the free flow, the synchronized flow of different extents or the coexistence of several states. We hope it can be used to enhance Intelligent Transportation Management System.

    This study is supported by the Doctoral Fund of Hubei University of Automotive Technology (Grant No. BK201703), Local Science and Technology Development Project Guided by Central Government (Grant No. 2018ZYYD007), CERNET Innovation Project (Grant No. NGII20180615). For PE and FE code, thanks to Jesús Monge-Álvarez and Gaoxiang Ouyang, as they have shared their works on MATLAB Central File Exchange.

    The authors have declared that no conflict of interest exists.



    [1] U. M. Ascher and L. R. Petzold, Computer methods for ordinary differential equations and differential-algebraic equations, vol. 61, Siam, 1998.
    [2] H. Azami and J. Escudero, Improved multiscale permutation entropy for biomedical signal analysis: Interpretation and application to electroencephalogram recordings, Biomed. Signal Proces., 23 (2016), 28-41. doi: 10.1016/j.bspc.2015.08.004
    [3] H. Azami and J. Escudero, Refined composite multivariate generalized multiscale fuzzy entropy: A tool for complexity analysis of multichannel signals, Physica A, 465 (2017), 261-276. doi: 10.1016/j.physa.2016.07.077
    [4] H. Azami, A. Fernández, J. Escudero, Refined multiscale fuzzy entropy based on standard deviation for biomedical signal analysis, Med. Biol. Eng. Comput., 55 (2017), 2037-2052.
    [5] C. Bandt and B. Pompe, Permutation entropy: a natural complexity measure for time series, Phys. Rev. Lett., 88 (2002), 174102.
    [6] W. Chen, J. Zhuang, W. Yu, et al. Measuring complexity using fuzzyen, apen, and sampen, Med. Eng. Phys., 31 (2009), 61-68. doi: 10.1016/j.medengphy.2008.04.005
    [7] M. Costa, A. L. Goldberger, C.-K. Peng, Multiscale entropy analysis of complex physiologic time series, Phys. Rev. Lett., 89 (2002), 068102.
    [8] D. S. Dummit and R. M. Foote, Abstract algebra, 2004.
    [9] B. Fadlallah, B. Chen, A. Keil, et al. Weighted-permutation entropy: A complexity measure for time series incorporating amplitude information, Phys. Rev. E, 87 (2013), 022911.
    [10] Z. Gao, S. Li, Q. Cai, et al. Relative wavelet entropy complex network for improving eeg-based fatigue driving classification, IEEE Transactions on Instrumentation and Measurement, 2018.
    [11] S. He, K. Sun, R. Wang, Fractional fuzzy entropy algorithm and the complexity analysis for nonlinear time series, The European Physical Journal Special Topics, 227 (2018), 943-957. doi: 10.1140/epjst/e2018-700098-x
    [12] T. Higuchi, Relationship between the fractal dimension and the power law index for a time series: A numerical investigation, Physica D, 46 (1990), 254-264. doi: 10.1016/0167-2789(90)90039-R
    [13] A. Humeau-Heurtier, The multiscale entropy algorithm and its variants: A review, Entropy, 17 (2015), 3110-3123. doi: 10.3390/e17053110
    [14] B. S. Kerner, S. L. Klenov, G. Hermanns, et al. Effect of driver over-acceleration on traffic breakdown in three-phase cellular automaton traffic flow models, Physica A, 392 (2013), 4083- 4105.
    [15] V. Kumar and H. C. Taneja, Some characterization results on generalized cumulative residual entropy measure, Stat. Probabil. Lett., 81 (2011), 1072-1077. doi: 10.1016/j.spl.2011.02.033
    [16] F. Liao, G. Cheing, W. Ren, et al. Application of multiscale entropy in assessing plantar skin blood flow dynamics in diabetics with peripheral neuropathy, Entropy, 20 (2018), 127.
    [17] A. M. Llenas, J. Riihijarvi, M. Petrova, Performance evaluation of machine learning based signal classification using statistical and multiscale entropy features, Wireless Communications and Networking Conference, 2017.
    [18] A. Mosabber Uddin and D. P. Mandic, Multivariate multiscale entropy: a tool for complexity analysis of multichannel data, Phys. Rev. E, 84 (2011), 061918.
    [19] S. L. OH, Y. Hagiwara, M. Adam, et al. Shockable versus nonshockable life-threatening ventricular arrhythmias using dwt and nonlinear features of ecg signals, J. Mech. Med. Biol., 17 (2017), 1740004.
    [20] O. E. Rössler, An equation for continuous chaos, Phys. Lett. A, 57 (1976), 397-398. doi: 10.1016/0375-9601(76)90101-8
    [21] J. J. Rotman, Advanced modern algebra, Higher Education Press, 2004.
    [22] E. Scalas, R. Gorenflo, F. Mainardi, Fractional calculus and continuous-time finance, Phys. A, 284 (2000), 376-384. doi: 10.1016/S0378-4371(00)00255-7
    [23] J. Shi, P. Zhao, Y. Cai, et al. Classification of hand motions from surface electromyography with rough entropy, J. Med. Imag. Health In., 5 (2015), 328-334.
    [24] R. E. Spinney, M. Prokopenko, J. T. Lizier, Transfer entropy in continuous time, with applications to jump and neural spiking processes, Phys. Rev. E, 95 (2017), 032319.
    [25] J. F. Tian, B. Jia, X. G. Li, et al.Synchronized traffic flow simulating with cellular automata model, Physica A, 388 (2009), 4827-4837. doi: 10.1016/j.physa.2009.07.043
    [26] J. Wang and Z. F. Yu, Symbolic transfer entropy-based premature signal analysis, Chinese Phys. B, 21 (2012), 535-538.
    [27] A. Wolf, J. B. Swift, H. L. Swinney, et al. Determining lyapunov exponents from a time series, Phys. D, 16 (1985), 285-317. doi: 10.1016/0167-2789(85)90011-9
    [28] S. D. Wu, C. W. Wu, Sh. G. Lin, et al. Analysis of complex time series using refined composite multiscale entropy, Phys. Lett. A, 378 (2014), 1369-1374. doi: 10.1016/j.physleta.2014.03.034
    [29] J. Xia, P. Shang, J. Wang, et al. Permutation and weighted-permutation entropy analysis for the complexity of nonlinear time series, Commun. Nonlinear Sci., 31 (2016), 60-68. doi: 10.1016/j.cnsns.2015.07.011
    [30] Zh.-T. Xiang, Y.-F. Chen, Y.-J. Li, et al. Complexity analysis of traffic flow based on multiscale entropy, Acta Physica Sinica, 63 (2014), 473-481.
    [31] Zh.-T. Xiang, Y.-J. Li, Y.-F. Chen, et al. Simulating synchronized traffic flow and wide moving jam based on the brake light rule, Physica A, 392 (2013), 5399-5413. doi: 10.1016/j.physa.2013.06.066
    [32] H. Xiong, P. Shang, Y. Zhang, Fractional cumulative residual entropy, Commun. Nonlinear Sci., 78 (2019), 104879.
    [33] Y. Yin and P. Shang, Multivariate multiscale sample entropy of traffic time series, Nonlinear Dynam., 86 (2016), 479-488. doi: 10.1007/s11071-016-2901-3
    [34] X. Yu and M. Zhang, Limit theorems related to the integral functionals of one dimensional fractional brownian motion, Commun. Stat-Theor M., (2019), 1-9.
    [35] X. Yu and M. Zhang, Backward stochastic differential equations driven by fractional noise with non-lipschitz coefficients, Stat. Probabil. Lett., 159 (2020), 108681.
    [36] Q. Sh. Zhang and Sh. Y. Jiang, A note on information entropy measures for vague sets and its applications, Inform. Sciences, 178 (2008), 4184-4191. doi: 10.1016/j.ins.2008.07.003
    [37] Y. Zhang and P. Shang, Refined composite multiscale weighted-permutation entropy of financial time series, Physica A, 496 (2018), 189-199. doi: 10.1016/j.physa.2017.12.116
    [38] D. Zhao and M. Luo, A novel weak signal detection method for linear frequency modulation signal based on bistable system and fractional fourier transform, Optik, 127 (2016), 4405-4412. doi: 10.1016/j.ijleo.2016.01.057
    [39] D. Zhao and M. Luo, Representations of acting processes and memory effects: General fractional derivative and its application to theory of heat conduction with finite wave speeds, Appl. Math. Comput., 346 (2019), 531-544.
    [40] H. Zhivomirov, A method for colored noise generation, Romanian Journal of Acoustics and Vibration, 15 (2018), 14-19.
    [41] X. Zhu, J. Zheng, H. Pan, et al.Time-shift multiscale fuzzy entropy and laplacian support vector machine based rolling bearing fault diagnosis, Entropy, 20 (2018), 602.
  • This article has been cited by:

    1. Zelin Zhang, Mingbo Zhang, Yufeng Chen, Zhengtao Xiang, Jinyu Xu, Xiao Zhou, Distinguishing chaotic from stochastic dynamics via the complexity of ordinal patterns, 2021, 11, 2158-3226, 045122, 10.1063/5.0045731
    2. Zelin Zhang, Jun Wu, Yufeng Chen, Ji Wang, Jinyu Xu, Distinguish between Stochastic and Chaotic Signals by a Local Structure-Based Entropy, 2022, 24, 1099-4300, 1752, 10.3390/e24121752
    3. Longgang Du, Xinxin Li, Moyuan Yang, Bellie Sivakumar, Yanxin Zhu, Xingyao Pan, Zhijia Li, Yan-Fang Sang, Assessment of spatiotemporal variability of precipitation using entropy indexes: a case study of Beijing, China, 2022, 36, 1436-3240, 939, 10.1007/s00477-021-02116-8
    4. Andreia S. Gaudêncio, Mirvana Hilal, João M. Cardoso, Anne Humeau-Heurtier, Pedro G. Vaz, Texture analysis using two-dimensional permutation entropy and amplitude-aware permutation entropy, 2022, 159, 01678655, 150, 10.1016/j.patrec.2022.05.017
    5. B.L. Mayer, L.H.A. Monteiro, On the divisors of natural and happy numbers: a study based on entropy and graphs, 2023, 8, 2473-6988, 13411, 10.3934/math.2022679
    6. B.L. Mayer, L.H.A. Monteiro, On the divisors of natural and happy numbers: a study based on entropy and graphs, 2023, 8, 2473-6988, 13411, 10.3934/math.2023679
    7. Tianqi Xia, Mingming Zhang, Shaohong Wang, Dynamic System Stability Modeling Approach with Sparrow-Inspired Meta-Heuristic Optimization Algorithm, 2023, 8, 2313-7673, 424, 10.3390/biomimetics8050424
  • Reader Comments
  • © 2020 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(5154) PDF downloads(270) Cited by(7)

Figures and Tables

Figures(11)  /  Tables(1)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog