Next Article in Journal
Community-Aware Evolution Similarity for Link Prediction in Dynamic Social Networks
Next Article in Special Issue
A Fuzzy Logic Inference Model for the Evaluation of the Effect of Extrinsic Factors on the Transmission of Infectious Diseases
Previous Article in Journal
A Novel Approach to Enhance DIRECT-Type Algorithms for Hyper-Rectangle Identification
Previous Article in Special Issue
Advancing Disability Management in Information Systems: A Novel Approach through Bidirectional Federated Learning-Based Gradient Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trends and Extremes in Time Series Based on Fuzzy Logic

1
Geophysical Center of the Russian Academy of Sciences, Moscow 119296, Russia
2
Schmidt Institute of Physics of the Earth of the Russian Academy of Sciences, Moscow 123995, Russia
3
Research and Production Association “Typhoon”, Obninsk 249038, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(2), 284; https://doi.org/10.3390/math12020284
Submission received: 10 November 2023 / Revised: 26 December 2023 / Accepted: 12 January 2024 / Published: 15 January 2024
(This article belongs to the Special Issue Fuzzy Logic and Computational Intelligence)

Abstract

:
The authors develop the theory of discrete differentiation and, on its basis, solve the problem of detecting trends in records, using the idea of the connection between trends and derivatives in classical analysis but implementing it using fuzzy logic methods. The solution to this problem is carried out by constructing fuzzy measures of the trend and extremum for a recording. The theoretical justification of the regression approach to classical differentiation in the continuous case given in this work provides an answer to the question of what discrete differentiation is, which is used in constructing fuzzy measures of the trend and extremum. The detection of trends using trend and extremum measures is more stable and of higher quality than using traditional data analysis methods, which consist in studying the intervals of constant sign of the derivative for a piecewise smooth approximation of the original record. The approach proposed by the authors, due to its implementation within the framework of fuzzy logic, is largely focused on the researcher analyzing the record and at the same time uses the idea of multiscale. The latter circumstance provides a more complete and in-depth understanding of the process behind the recording.

1. Introduction

Research on data and methods of their analysis using fuzzy mathematics has now taken shape as an independent direction, which includes methods of fuzzy regression and the analysis of fuzzy time series [1,2,3,4,5,6,7]. We can highlight the main stages of development of this direction.
In the initial stage, studies of the fuzzy regression model were carried out. The second stage was the development of soft-computing methods, within which a huge number of studies have been carried out on the effectiveness of soft computing for time series analysis. The third stage consisted in the transition from the analysis of time series using fuzzy mathematics methods to the analysis of fuzzy time series. The development of fuzzy database methods has made it possible to move to the stage of extracting rules from fuzzy (granular) time series.
Within each of the listed stages, a significant part consists of methods for identifying trends and, more broadly, a morphological analysis of time series. The proposed work should be attributed to the use of fuzzy mathematics methods for the analysis of discrete time series.

1.1. Trends and Fuzzy Principles for Their Modeling

Trends in a time series are its fundamental characteristic and therefore can tell a lot about the nature of the process behind it. The identification of trends is a significant part of what is traditionally considered to be the morphological analysis of time series [8,9,10,11], including:
  • The decomposition of the time series into trend and seasonal components, as well as the remainder: the trend shows the general direction of changes over time, seasonality reflects repeating patterns associated with certain periods of time, and the remainder reflects random fluctuations within the time series;
  • An autocorrelation analysis, which helps identify periodic fluctuations associated with seasonality;
  • A spectral analysis, which allows one to analyze the cyclicity in a time series and the most important time periods for it.
Currently, a broader understanding of morphological analysis as the study of the manifestation of one or another geometric property in a graphical representation of the dynamics of a time series is gaining momentum [12]. A morphological analysis of time series is useful for a better understanding of their dynamics and more accurate forecasting.
There are several methods for constructing and identifying time series trends. Here are the main ones [8,11,13,14,15,16,17,18]: smoothing with a kernel (in particular, the moving average method, exponential smoothing), regression and autoregressive (AR) methods, wavelet analysis, nonlinear methods (in particular, machine learning and neural networks).
Real trends are stochastic and are not at all similar to ideal mathematical ones, since they have glitches. This does not confuse the researcher, who perceives the trend adaptively and understands when a violation is insignificant and the trend continues, and when a violation interrupts the trend.
Thus, if mathematical trends are strict and unambiguous segments in each subsequent node for which the value of the record is greater than, or equal to (less than, or equal to) the value of the record in the present node, then stochastic ones depend on the point of view of the researcher and therefore can differ.
Let us call the formalization and search for trends and extrema in a function the trend problem. Its solution, according to the authors, consists of a sequence of answers to the following questions:
  • What is the trend of a function at a point?
  • Which parts of the function should be considered definitely trendy?
  • How do these fragments form a general trend?
  • What is an extremum of a function?
The solution to the trend problem, according to the authors, should be fuzzy, multiparameter and multiscale in the spirit of wavelets and fractals. By changing the parameters and scale, the researcher gets a complete picture of the trends and selects the ones they need. In addition, a multiscale trend analysis is very useful, objective and can tell a lot about the function as a whole.
The above is fully consistent with the principles of fuzzy modeling, on the basis of which it is supposed to approach stochastic trends. In this regard, we quote Zadeh [19]: “All we need to solve most practical problems is a parameterized family of definitions that, if necessary, would allow a non-standard choice of operators that reflect the characteristic features of a particular application. The advantage of this approach is that by avoiding fixed, concrete-independent definitions, fuzzy set theory and fuzzy logic achieve a pluralism that increases their flexibility and expressive capabilities”.
In this work, such operators will be regression differentiation, regression smoothing, fuzzy trend measure and fuzzy extremum measure.
It should be noted that regression derivatives were used earlier, in a simpler form than in this work, for the classification of time series, which made it possible to determine groups of series similar in morphology using various similarity measures [20,21,22,23,24]. In such problems, the choice of similarity measure affects the classification accuracy to a greater extent than the choice of classification method.
The advantage of similarity measures constructed using regression derivatives is the ability to take into account both positive dependencies, when time series simultaneously increase or decrease values, and negative dependencies, when the values of one time series decrease and another increase, and vice versa [23]. Similar results based on the fuzzy correlation measure constructed by the authors are given in the conclusion.

1.2. Solution of the Problem of Trends and on the Basis of Discrete Mathematical Analysis

The problem of trends (see Section 1.1) in this work is solved within the framework of discrete mathematical analysis (DMA)—a new approach to data analysis, researcher-oriented and occupying an intermediate position between hard mathematical methods and soft intellectual ones [25,26,27,28,29].
The solution to the problem within the framework of DMA consists of two parts. The first is informal: it explains the researcher’s logic, introduces the necessary concepts, and explains the scheme and principles of the solution. The second is of a formal nature: with the help of the DMA apparatus, all concepts receive strict definitions within the framework of fuzzy mathematics and fuzzy logic, and the scheme and principles become algorithms.
We call the first, informal part of solving the trend problem within the framework of DMA the logic of the researcher’s trends (RTL) and formulate it in the form of the following provisions:
  • There is a record f on a finite uniform set of nodes T. At each node, the researcher vaguely but unambiguously sees a positive, negative or neutral trend f.
  • The researcher considers positive (negative) trends for f to be segments in T consisting of positive and neutral (negative and neutral) nodes from T.
  • Opposite trends intersect at neutral nodes, among which the researcher can choose an extremum for f.
The further, main part of the work is devoted to the transformation of RTL into algorithms (the second part of solving the problem of trends within the framework of DMA): fuzzy measures of the trend and extremum are constructed, expressing the researcher’s opinion about the presence of a trend and extremum in a record in a particular node. The combined use of these measures makes it possible in a discrete situation to repeat the classical results of mathematical analysis regarding trends and extrema for piecewise smooth functions.
The measures are based on discrete regression derivatives. Their definition, study and rationale for use are given below. Having a discrete derivative, there is a natural desire to repeat on its basis, in a discrete situation, the scheme of the approach of classical mathematical analysis to trends and extremes. This determines both the motivation and goals of this work.

1.3. Regression Approach to Derivatives (Continuous Case)

Let the function f be integrable on an interval I containing zero internally. Then, for a sufficiently small  Δ > 0 , the segment  [ Δ , Δ ]  is contained in I. Let us denote by  f Δ  the restriction of f to the segment  [ Δ , Δ ] f Δ = f [ Δ , Δ ]  and calculate the projection  pr f Δ  of the function  f Δ  in space  L 2 [ Δ , Δ ]  into the two-dimensional subspace of linear functions  Lin 2 [ Δ , Δ ] .
Statement 1.
If a function f has a tangent at zero, then, as  Δ 0 , the linear projection  pr f Δ  tends to it.
Proof. 
Let  e 1 = e 1 ( Δ ) e 2 = e 2 ( Δ )  be an orthonormal basis in  Lin 2 [ Δ , Δ ] , obtained from the natural basis  ( 1 , x )  by a Gram–Schmidt orthogonalization [30], then:
pr f Δ = ( f Δ , e 1 ) Δ e 1 + ( f Δ , e 2 ) Δ e 2 .
Let us put  e 1 = c e 2 = a x + b . Three conditions arise on a, b and c:
e 1 Δ = 1 Δ Δ c 2 d t = 1 c 2 = 1 2 Δ , ( e 1 , e 2 ) Δ = 0 Δ Δ c ( a t + b ) d t = 0 b = 0 , e 2 Δ = 1 Δ Δ a 2 t 2 d t = 1 a 2 = 3 2 Δ 3 .
Thus,
pr f Δ ( x ) = 1 2 Δ Δ Δ f ( t ) d t + 3 2 Δ 3 Δ Δ t f ( t ) d t x .
Additionally, the function f is differentiable at zero:
f ( x ) = f ( 0 ) + f ( 0 ) x + α ( x ) x ,
where  α ( x ) 0  when  x 0 .
The limit
1 2 Δ Δ Δ f ( x ) d x f ( 0 )
in the free term of the projection  pr f Δ  is explained by the mean value theorem [31].
Let us analyze the expansion coefficient  pr f Δ  at x:
3 2 Δ 3 Δ Δ t f ( t ) d t = 3 2 Δ 3 Δ Δ t ( f ( 0 ) + f ( 0 ) x + α ( t ) t ) d t = 3 2 Δ 3 Δ Δ t f ( 0 ) d t + 3 2 Δ 3 Δ Δ t 2 f ( 0 ) d t + 3 2 Δ 3 Δ Δ t 2 α ( t ) d t = 0 + f ( 0 ) + 3 2 Δ 3 Δ Δ t 2 α ( t ) d t .
The last integral tends to zero as  Δ 0 :
ε > 0 Δ ( ε ) : Δ < Δ ( ε ) | α | [ Δ , Δ ] < ε 3 2 Δ 3 Δ Δ t 2 α ( t ) d t 3 2 Δ 3 Δ Δ ε t 2 d t = ε .

1.4. Regression Approach to Derivatives (Discrete Case)

We postpone the consequences of the proven statement and its further development in the continuous case until the Appendix A, and now we discuss its significance mainly for the analysis of data in a discrete situation.
Replacing the tangent to f with the projection  pr f Δ  for small  Δ  makes it possible to determine the tangent for discrete functions, since the projection  pr f Δ  is nothing more than a linear regression for f on  [ Δ , Δ ]  and can be generalized to the discrete case.
The limit transition  t ¯ t  in the discrete case is replaced by a fuzzy weight structure  δ t ( t ¯ ) [ 0 , 1 ]  of proximity to node t in a finite set of nodes T, the domain of definition of the function f.
The proven statement gives grounds to consider the linear regression of the function f with respect to the weight structure  δ t  on T as a tangent for f at t, and its slope as the derivative of f at t.
Having a derivative for f, there is a natural desire to repeat on its basis in a discrete situation the classical approach to trends and extrema from mathematical analysis.

2. Discrete Regression Derivatives

Statement 1 proved above allows us to conclude that for a function f that is differentiable at zero, its linear continuous regressions on the segments  [ Δ , Δ ]  tend to the tangent as  Δ 0 .
This approach to differentiation in the continuous case allows a continuation to the discrete case, since discrete regressions are just as efficient and fundamental as continuous ones.
Let  T = [ a , b ]  be a finite discrete segment with equal nodes  t = t i : T = { t } = { t i | i = 1 N } t i = a + ( i 1 ) h h = b a N 1 .
Let us call a segment  τ  in T a piece in T without gaps:  τ = [ t i , t j ] = { t i < < t j }  for some  1 i j N . In addition, we call the beginning (end)  τ  and denote by  b τ  ( e τ ) the first and last nodes  t i  and  t j , respectively.
We consider any real function on T to be a time series (record) f F ( T )  is the space of such functions.
The analysis by a researcher of the behavior of a time series involves considering its values not only in a separate node but also simultaneously taking into account the values in some of its vicinity. This is precisely why the segment T needs to be localized at each of its nodes. It can be implemented using the fuzzy structure  δ t  on T, which plays the role of a neighborhood of node t and expresses the proximity to it of individual nodes  t ¯  normalized in t δ t  is a measure of theproximity of  t ¯  to t.
δ t ( t ) = 1 t ¯ t t ¯ ¯ t δ t ( t ¯ ¯ ) δ t ( t ¯ ) .
We consider the proximity measure  δ  on T to be a set of fuzzy structures  δ t δ = { δ t : t T } δ t Fuzzy T .
The measure  δ  is the only parameter in the theory of trends and extrema constructed below and is therefore very important. Its choice is entirely determined by the researcher. The authors’ choice is the family  δ = δ ( p , r ) .
Definition 1.
δ = δ ( p , r ) , p—scale parameter, r—viewing radius (Figure 1).
δ t ( t ¯ ) = δ t ( t ¯ | p , r ) = 1 t ¯ t r p , i f t ¯ t r 0 , i f t ¯ t > r .
The family  δ ( p , r )  expresses the authors’ point of view on localization: a researcher analyzing a record f at node t first selects the boundary of the view (parameter r) and then its thoroughness (scale, parameter p). The required localization can be achieved using the family  δ ( p , r )  in two ways: either by the parameter r tending to zero, or by the parameter p tending to infinity. In this paper, the authors chose the second path: in the measure  δ ( p , r ) , there is an interesting dependence on the scale parameter p, which allows you to “look at the record from a different height”.
The parameters p and r are chosen by the researcher. In this work, the measure  δ ( p , r )  is used for trend analysis, which can be simple (p and r are fixed) and multiscale (p changes, r is fixed). The work focuses on multiscale analysis. For its objectivity and completeness, the radius r is assumed to be equal to a quarter of the length of the segment T. Figure 1 shows the dependence of the proximity  δ t ( t ¯ | p , r )  to node t on p for r equal to a quarter of the length of the segment T.
The limit transition  t ¯ t  to T performs a proximity measure  δ t  by distributing weights on T t ¯ t T = { t ¯ } T δ ( t ) = t ¯ , δ t ( t ¯ ) . With that said, we should consider a linear regression based on the fuzzy image  Im δ f ( t ) = f ( t ¯ ) , δ t ( t ¯ ) , t ¯ T  at the beginning of the tangent  l δ f ( t ) = l δ f ( t ) ( t ¯ ) = a t t ¯ + b t  to the function f at node t. Associated with the image  Im δ ,   f ( t )  is the functional
J ( a , b ) = t ¯ T δ t ( t ¯ ) ( f ( t ¯ ) a t ¯ b ) 2 .
The values  ( a t , b t )  of the parameters of the tangent  l δ f ( t )  are the minimum point of  J ( a , b ) . Therefore,  a t  and  b t  satisfy the system of equations
a t t ¯ T δ t ( t ¯ ) t ¯ 2 + b t t ¯ T δ t ( t ¯ ) t ¯ = t ¯ T δ t ( t ¯ ) f ( t ¯ ) t ¯ , a t t ¯ T δ t ( t ¯ ) t ¯ + b t t ¯ T δ t ( t ¯ ) = t ¯ T δ t ( t ¯ ) f ( t ¯ ) .
Hence,
a t = t ¯ T t ¯ δ t ( t ¯ ) f ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T δ t ( t ¯ ) f ( t ¯ ) t ¯ T δ t ( t ¯ ) t ¯ T t ¯ 2 δ t ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T δ t ( t ¯ ) , b t = t ¯ T t ¯ 2 δ t ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) f ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T δ t ( t ¯ ) f ( t ¯ ) t ¯ T t ¯ 2 δ t ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T t ¯ δ t ( t ¯ ) t ¯ T δ t ( t ¯ ) .
To build trends, the formulas in (3) are used. A simpler expression for  a t  and  b t  is used in Appendix A.1.
Definition 2.
The slope coefficient  a t  is called the regression derivative of f at t and is denoted by  D δ f ( t ) . The function  t a t  is called the regression derivative of f and is denoted by  D δ f F ( T ) . The functional correspondence  f D δ f  is a linear operator on  F ( T ) , called regression differentiation and denoted by  D δ .
Definition 3.
The value  l δ f ( t ) ( t ) = a t t + b t  of the regression tangent  l δ f ( t )  of the function f at t is called the regression value of f at t and is denoted  R δ f ( t ) . The function  t R δ f ( t )  is called regression smoothing of f and is denoted by  R δ f F ( T ) . The functional correspondence  f R δ f  is a linear operator on  F ( T ) , called regression smoothing and denoted by  R δ .
A special notation for differentiation and smoothing in the case of a measure  δ = δ ( p , r )  is:
D δ ( p , r ) = D ( p , r ) ; R δ ( p , r ) = R ( p , r ) .
The theoretical justification for the regression approach to differentiation presented in this work finds additional empirical confirmation in the form of the good performance of regression smoothing: with the same review (parameter p) on smooth functions, regression smoothing works better than conventional averaging. In Figure 2, regression smoothing is shown with a solid line, and conventional averaging is shown with a dotted line. The visual comparison is supported by the quadratic discrepancy with the ideal. The advantage of regression smoothing over conventional smoothing is especially visible at the ends of both the synthetic smooth recording (Figure 2) and the real one (Figure 3). Until the end of this paper, these records participate in the game and serve as a testing ground for the trends and extremes proposed in this work.
Figure 3 shows the performance of the regression smoothing  R ( p , r )  on the real magnetic storm record in the same p-scale parameters as in Figure 2 for the synthetic one. The above figures confirm the convergence proved in Appendix A.1 to the record f of its regression smoothing  R ( p , r )  at  p .

3. Trend Measure: Preliminary Solution to the Trend Problem

The assumption that a researcher looking at a record f can determine its trend at any node  t T  is central to the researcher’s trend logic. Based on it, we construct its implementation using a fuzzy trend measure.
The researcher’s view of the record f is formalized by its regression smoothing  f δ = R δ f  based on the proximity (localization) measure  δ  on T chosen by the researcher. Next, the researcher is not interested in the smoothing  f δ  itself, but in the result  f δ  of its differentiation by the operator  D ( 0 , h ) f δ = D ( 0 , h ) f δ  (4). The value of  f δ ( t )  is called the elementary dynamics of the entry f at node t based on the localization of  δ . Their totality, that is, the image  Im f δ , serves as the basis for constructing a fuzzy trend measure  τ r δ f . The value  τ r δ f ( t )  in the fuzzy scale  [ 0 , 1 ]  expresses the degree of confidence of the researcher (the measure of their reason) to consider the trend of the record f at node t to be positive.
It is constructed as follows: the researcher gives the weight  f δ ( t ) δ t ( t ¯ )  to the elementary dynamics  f δ ( t ¯ )  at node  t ¯ . The argument for a positive trend f at node t is all positive dynamics  f δ ( t ¯ ) > 0 , and against, all negative dynamics  f δ ( t ¯ ) < 0  with their weights.
The measure of trend  τ r δ f ( t )  is considered the ratio of the sum of the weights of positive dynamics (the argument “for” the positive trend f at node t) to the total sum of weights:
τ r δ f ( t ) = δ t ( t ¯ ) f δ ( t ¯ ) : f δ ( t ¯ ) > 0 δ t ( t ¯ ) f δ ( t ¯ ) : t ¯ T .
If  τ r δ f ( t ) > 1 / 2 , then the total argument of the weights of increasing dynamics is greater than the total argument of the weights of decreasing dynamics; therefore, the researcher considers node t to be positive according to the trend for f, and the degree of conditionality of its solution is  τ r δ f ( t ) .
Similarly, if  τ r δ f ( t ) < 1 / 2 , then node t is considered negative according to the trend for f with a base of  1 τ r δ f ( t )  and neutral in the case of equality  τ r δ f ( t ) = 1 / 2 .
Let us summarize the intermediate result: based on the measure  τ r δ f , the answer to the first question formulated in the introduction was obtained: “What is a trend at a point?”.
Next, partitioning  T = T δ + f T δ f T δ 0 f  into positive, negative, and trend-neutral nodes
T δ + f = { t T : τ r δ f ( t ) > 1 / 2 } T δ f = { t T : τ r δ f ( t ) < 1 / 2 } T δ 0 f = { t T : τ r δ f ( t ) = 1 / 2 }
allows one to simultaneously answer the following two questions of the trend problem: “Which fragments of the record should be considered unconditionally trendy?” and “How do these add up to overall final trends?”
The fact is that in real conditions, there are very few neutral trends from  T δ 0 f , or none at all. Therefore, it seems natural to consider segments of the record f entirely consisting of positive and neutral (negative and neutral) nodes, respectively, as positive and negative trends  τ r +  ( τ r ) for f τ r +  ( τ r ), a set of nodes without gaps in  T δ + f T δ 0 f  ( T δ f T δ 0 f ).
Definition 4.
We denote an arbitrary trend by  τ r τ r = τ r + τ r . Trends  τ r  replace each other and can intersect only at neutral nodes, forming an almost disjunct covering T, which we denote as  T r δ f = { τ } .
We call the partition  T r δ f  a preliminary solution to the trend problem for recording f based on the proximity measure  δ . An explanation of its preliminary nature is given below, but now, we note that strongly depending on  δ , in the case  δ = δ ( p , r ) , turns out to be very effective and gives good results at different scales p on difficult real recordings with, in our opinion, a large radius review r. It was this circumstance that served as the reason for writing this work.
The proof is presented in the form of a complete display of the solution to trends  T r δ f : record  f  smoothing  f δ  trend measure  τ r δ f  with a partition  T r δ f  applied to it → partition  T r δ f  on smoothing  f δ  partitioning  T r δ f  into records f. The obvious presence of scale p requires additional effort. Continuing (4) for  δ = δ ( p , r )  and omitting the viewing radius r, we introduce the following notation:
  • smoothing  f δ ( p , r ) f p ,
  • elementary dynamics  f δ ( p , r ) f p ,
  • trend measure  τ r δ ( p , r ) τ r p ,
  • partition  T r δ ( p , r ) T r p .
In order not to confuse the trend measure  τ r p  with the trend segments  τ r  obtained on its basis, in the latter, we agree to indicate the dependence on the scale p in the form of an argument:
  • τ r τ r ( p ) ,
  • T r p f = τ r ( p ) .
In Figure 4, Figure 5 and Figure 6, the complete scenario for solving  T r p f  is given for a smooth function on three scales, and for a real record on two scales in Figure 7 and Figure 8.
The effectiveness of working in difficult real-world conditions is the main criterion in data analysis, a largely empirical discipline. According to the authors, success in the problem of trends based on the  t r p  measure lies in two reasons: stability and adequacy.
Stability is a general property of the construction of the measure  t r p f . Figure 9 illustrates this; Figure 9b,c shows the trend solution on a scale  p = 35  for a smooth record and its disturbance, indicated in Figure 9a in black and green, respectively.
Adequacy: Trends  τ r ( p )  obtained on the basis of the measure  τ r p f  are consistent with the “p” scale: there are no small dynamics in modulus p on smoothing  f p  among them. As noted above, it was precisely this circumstance that served as the reason for this work. The explanation of adequacy at the moment is semiempirical: according to the apologetics of regression differential calculus given at the beginning of the work and Appendix A.1, regression derivatives and values inherit the fundamental properties of linear regression, and the measure of trend very naturally depends on them. Therefore, if the effect for trends through regression derivatives exists, then it must necessarily manifest itself through the trend measure. This is illustrated in Figure 10, whose detailed story is given below.
The stability and adequacy of the solution to the trend problem made it possible to answer the second and third questions relatively simply, i.e., construct final (currently) versions of trend sections  τ r ( p )  of record f at scale p.
This does not always happen. The traditional solution to the trend problem based on smoothing, for example, polynomial, uses a standard mathematical understanding of trends: trends in a record are considered to be mathematical trends in its smoothing. In this solution, the problem of small dynamics remains: on the one hand, smoothing must sufficiently scan the record, on the other hand, the stochastic nature of the record leads to the appearance of small dynamics in the smoothing (short segments of increase/decrease), which a mathematical understanding of the trend in smoothing will highlight as separate trends on the recording.
Let us turn to Figure 10: the classic solution to trends for recording f based on smoothing  f δ  is shown in Figure 10b, and the solution currently proposed by the authors is in Figure 10c. Selected fragment in Figure 10d,e illustrates the above and shows a greater stability of the  T r δ f  solution compared to the classical one. The solution  T r δ f  is also better in comparison with the previous solution of the authors, where the trend was obtained in several stages and for this, it was necessary to solve the difficult problem of combining fragments of the f record into a single trend.
However, the solution  T r p f , despite all the advantages mentioned above, has some inaccuracy that does not allow it to be considered the final solution to the trend problem (Figure 11). To do this, we need a measure of extremity that eliminates the inaccuracy in the solution  T r p f  and adds stability and adequacy to it.

4. Extremum Measure: The Final Solution to the Trend Problem

In the trend problem, there is one last question about extrema. Of course, the first answer to this question is similar to the classical one: extrema are the boundaries between opposite trends in  T r δ f . On this path, the problem of their existence arises: as noted above, there are few or no neutral nodes from  T r δ 0 f  (namely, the extrema should lie within them) due to the stochasticity of f and discreteness of T. The second option, the most natural of the nonempty ones, is as follows: if the positive trend  τ r +  is replaced by a negative  τ r , then the maximum should be considered the choice from the end  e ( τ r + )  and the beginning  b ( τ r ) , where the entry f is maximum, and, conversely, if the negative trend  τ r  is replaced by a positive  τ r + , then the minimum should be considered the choice from the end  e ( τ r )  and the beginning  b ( τ r + ) , where the entry f is minimal.
But even after this, some problems remain: the global nature of the trend measure  τ r δ f  makes the partition  T r δ f  stable and quite satisfactory (at least in the case  δ = δ ( r , p ) ) on the one hand, and on the other hand, it entails some inaccuracy.
We construct a fuzzy extremum measure  e x δ f , similar to the trend measure  τ r δ f : the value  e x δ f  in the fuzzy scale of the segment  [ 0 , 1 ]  expresses the degree of confidence of the researcher (the measure of their basis) to consider node t the maximum for the function f. Together, the measures  τ r δ f  and  e x δ f  solve the problem of trends: they finally determine the trends and extrema of the record f.
The construction of the measure  e x δ f  begins in the same way as the measure  τ r δ f : the researcher gives the elementary dynamics  f δ ( t ¯ )  at node  t ¯  the weight  δ t ( t ¯ ) f δ ( t ¯ ) . If node  t ¯  lies to the left of t ( t ¯ < t ), then the weight  δ t ( t ¯ ) f δ ( t ¯ )  speaks in favor of a maximum at t for f with  f δ ( t ¯ ) > 0  (climbing an imaginary mountain with a peak at t), and against, all  δ t ( t ¯ ) f δ ( t ¯ )  with  f δ ( t ¯ ) < 0 . To the right of t ( t ¯ > t ), everything is the other way around: the weights  δ t ( t ¯ ) f δ ( t ¯ )  with  f δ ( t ¯ ) < 0  (descent from an imaginary mountain with a top at t), and against, all  δ t ( t ¯ ) f δ ( t ¯ )  with  f δ ( t ¯ ) > 0 . The measure of the extremum  e x δ f  is considered the sum of the pros to the total sum of weights:
e x δ f = t ¯ < t δ t ( t ¯ ) f δ ( t ¯ ) : f δ ( t ¯ ) > 0 t ¯ > t δ t ( t ¯ ) f δ ( t ¯ ) : f δ ( t ¯ ) < 0 δ t ( t ¯ ) f δ ( t ¯ ) : t ¯ t .
By analogy with the partition  T r δ f , we introduce and denote by  E x δ f  the partition by alternating segments  e x + ( e x )  obtained by switching  e x δ f 1 / 2 e x + e x δ f 1 / 2 e x e x δ f 1 / 2  (Figure 12, Figure 13, Figure 14, Figure 15 and Figure 16).  E x ( t )  denotes the segment of this partition containing node t.
The scheme for displaying the partition  E x δ f  is exactly the same as for the partition  T r δ f : record  f  smoothing  f δ  extremum measure  e x δ f  with the partition  E x δ f  applied to it → partition  E x δ f  on smoothing  f δ  partition  E x δ f  on records f. Taking into account the notations  e x δ ( p , r ) e x p  and  E x δ ( p , r ) E x p , in Figure 12, Figure 13 and Figure 14, the full scenario  E x p f  is shown for a smooth function on three scales  p = 1 , 12 , 35 , and in Figure 15 and Figure 16, for a real recording on a scale  p = 1 , 12 .
Let  e +  be the version of the maximum obtained above based on  τ r δ f . Let us say that it allows a correction if  e x δ f ( e + ) > 1 / 2 , and the correction itself consists in the transition of  e +  to the nearest maximum of the measure  e x δ f  on the segment  E x ( e + ) . Similarly, if  e  is a version of the minimum obtained above on the basis of  τ r δ f , then it allows a correction if  e x δ f ( e ) < 1 / 2 , and the correction itself consists in the transition of  e  to the nearest minimum of the measure  e x δ f  on the segment  E x ( e ) . Extrema based on the measure  τ r δ f  that do not allow corrections are preserved. This can happen in two situations.
  • First, the extremum e is already in the correct position ↔ no correction is needed (it is zero); this happens often, for example, for  δ = δ ( r , p ) , and confirms the high efficiency of the measure  τ r δ f , as well as solving the problem of trends  T r p f  on its basis.
  • Second, the extremum e is not consistent with the measure  e x δ f e x δ f ( e + ) < 1 / 2  or  e x δ f ( e ) > 1 / 2 . This means that the measure  e x δ f  at the extremum e shows the opposite of its essence: the maximum seems to the researcher to lie in the lowlands, and the minimum on the hills.
    Let us look at this in more detail, assuming that the maximum  e +  is the extremum. Let  L δ + f ( e + ) L δ f ( e + )  be the arguments for (against) the maximum of f in  e +  to the left of it; in notation (5) and (6),
    L δ + f ( e + ) = t e + δ e + ( t ) f δ ( t ) : f δ ( t ) > 0 , L δ f ( e + ) = t e + δ e + ( t ) f δ ( t ) : f δ ( t ) < 0 .
    Similarly, we define arguments  R δ + f ( e + ) R δ f ( e + )  for (against) the maximum of f in  e +  to the right of it:
    R δ + f ( e + ) = t e + δ e + ( t ) f δ ( t ) : f δ ( t ) > 0 , R δ f ( e + ) = t e + δ e + ( t ) f δ ( t ) : f δ ( t ) < 0 .
    In  e + , there is an equilibrium
    τ r δ f ( e + ) = 1 / 2 L δ + f ( e + ) + R δ f ( e + ) = L δ f ( e + ) + R δ + f ( e + ) .
    It allows us to conclude that one-sided extremalities are equivalent for  e + e +  is the left maximum for  f L δ + f ( e + ) > L δ f ( e + ) R δ + f ( e + ) > R δ f ( e + ) e + —the maximum on the right for f.
    Further, it follows that  L δ + f ( e + ) + R δ + f ( e + ) > L δ f ( e + ) + R δ f ( e + ) e x δ f ( e + ) > 1 / 2 .
    Hence, if the maximum  e +  does not allow any correction due to an inconsistency with the measure of extremity ( e x δ f ( e + ) < 1 / 2 ), then  e +  is not a maximum on any side. It is probably possible to construct an artificial example of this situation; however, the authors have never encountered this on real recordings. They are calm about the possible appearance of this kind of extrema, since they consider them unstable and, with increasing scale p, either disappearing or turning into normal extrema.
  • Third, the extremum e can be consistent with the extremum measure  e x δ f  but not unique on the segment  E x ( e ) . In this case, its trace will necessarily be an extremum that does not allow any correction for the second reason.
Let us summarize: the extremes obtained after correction are considered final, and the segments between them are considered the final trends of the f record. Let us retain their previous designations e τ r T r δ f , noting that after correction, they are the result of the joint activity of the measures  τ r δ f  and  e x δ f  (Figure 17).
The correction of extrema for a smooth recording is shown in Figure 17, and for a real recording, in Figure 18, according to the scheme: recording  f  smoothing  f δ  trend measure  τ r δ f  with preliminary extrema in strokes → extrema measure  e x δ f  with preliminary extrema in strokes and their continuous correction → final solution to the trend problem on smoothing  f δ  preliminary solution to the trend problem for comparison on smoothing  f δ  final solution to the trend problem on record f.

5. Various Scales

As mentioned above, there are two dynamic scenarios for tending to node t from the position of the family  δ ( p , r ) : the first is  r 0  for a fixed  p * , the second is  p  for a fixed  r * . In this article, the authors chose the second path, considering that the behavior of  δ ( p , r * ) p  for a large radius  r *  gives a more objective dynamic picture of localization at t, since a large number of nodes  t ¯  take a nontrivial part in it  t ¯ : | t ¯ t | < r *  (see Definition 1 and the text after Figure 1).
The stability and adequacy of the solution to the problem of trends  T r p f , the convergence of smoothings  f p  to f as  p , established in Appendix A.1, give reason to believe that a simultaneous analysis of partitions  T r p f , measures  τ r p f  and  e x p f  for different p’s can be useful and allow us to gain knowledge about f at a new level.
The scale parameter p is assumed to be from some discrete uniform segment  P = [ p 1 , p M ] p = p i i = 1 , , M . The initial scale  p 1 = p b  is usually equal to zero, and the final scale  p M  plays the role of infinity  p M = p . The choice of P is up to the researcher.
The parametric families  ( t , p ) τ r p f ( t )  and  ( t , p ) e x p f ( t ) , like the wavelet spectrum, characterize the trendiness and extremity of f on a two-dimensional grid  P × T  at different nodes and scales. Let us use them to determine the hierarchy of extrema on f. The very ability to see the hierarchy of extremes suggests a different scale of the researcher’s view of the record. First, one looks at the recording from the greatest height ↔ at the largest scale. Then, it gradually descends lower, making the viewing scale smaller. Along this path, extrema appear, forming chains. The latter express the migration dependence of the extremum on the scale and generate a hierarchy of extrema: the earlier the chains appear, the more significant the corresponding extremum for the record f.
What was said above according to the scheme “record  f  different-scale partitioning  T r p f  migration of extrema to  T r p f  hierarchy of extrema on record f″ is illustrated for a noisy smooth record in Figure 19, and for a real recording in Figure 20.
Definition 5.
Let  T r p + 1 ( e ( p ) )  be a segment in the final solution of trends at level  p + 1 , which contains the extremum  e ( p ) . Let us call the migration  e ( p + 1 ) e ( p ) e ( p + 1 )  the same oriented end of the segment  T r p + 1 ( e ( p ) ) .
The maximal chains  C E x = { e ( p ) e ( p + 2 ) e ( p + k ) }  are migration scenarios of the extremum  e ( p 1 )  on the  P × T  grid for record f. For any extremum  e = e ( p ) , let  C E x ( e )  denote the chain passing through it. Note that the extremum  e = e ( p )  can be internal in it:  p 1 < p < p k .
Definition 6.
The weight  ω ( e )  of extremum e is the exponent  p 1  of the chain  C E x ( e )  containing it.
Next, we take the last level of the scale  p  and all its extrema for f E x f ( p ) . Let us order  E x f ( p )  by weights:  e i < e j ω ( e j ) < ω ( e i ) ; thus, the most fundamental for f is the extremum with the minimum weight.
The identification of trends using trend and extremum measures is stable, and therefore, a multiscale analysis based on these measures is stable and informative. The algorithm for migrating extrema (constructing their chains) proposed in this work is effective only if the quality of their determination is high. The classical approach to trends based on smoothing, for example, polynomial, and using a standard mathematical understanding of trends, is unstable and is not suitable for such an algorithm: a continuation of a really important extremum at one scale level can become a weak (unreasonable) extremum at the next level, which will lead to a migration (chain) of extrema in the wrong direction. As confirmation of what was said earlier, Figure 21 and Figure 22 present a different-scale solution of trends based on a strict mathematical relationship to them for the same records f and on the same scales p as the solutions  T r p f  in Figure 19 and Figure 20. Omitting the details of their comparison, let us pay attention only to the narrow red wedge in Figure 21 slightly to the right of  t = 1000 . It is associated with the appearance of unreasonable highs of high rank, while in fact, there should be only one significant minimum, and it is this one that is shown in Figure 19d, and the corresponding chain of migrations is shown in yellow in Figure 19c.
Note that replacing  p  by  r 0  and  r *  by  p *  leads to another dynamic implementation of the above scenario with partitioning  T r r f  by measures  τ r r f  and  e x r f .

6. Trends and Fuzzy Logic

The measures  τ r δ f  and  e x δ f  make it possible to use fuzzy logic in a further study of the record f. The authors plan this in the future, and in this work, we provide two announcements of our research.
  • In addition to the measures  τ r δ f  and  e x δ f , we take into consideration their fuzzy negations  ¬ τ r δ f  and  ¬ e x δ f . According to (5) and (6), the measures  τ r δ f  and  e x δ f  are responsible for the increase and maximum of f; therefore, their negations  ¬ τ r δ f  and  ¬ e x δ f  are responsible for the decrease and minimum of f, respectively. Let us denote their fuzzy disjunction by  μ δ f :
    μ δ f ( t ) = max τ r δ f ( t ) , ¬ τ r δ f ( t ) , e x δ f ( t ) , ¬ e x δ f ( t )
    We display the manifestation of the measure  μ δ f  on the record f in a color scale (Figure 23):
    • Cyan ↔ manifestation through an increase:  μ δ f ( t ) = τ r δ f ;
    • Violet ↔ manifestation through a decrease:  μ δ f ( t ) = ¬ τ r δ f ;
    • Red ↔ manifestation through a maximum:  μ δ f ( t ) = e x δ f ;
    • Blue ↔ manifestation through minimality:  μ δ f ( t ) = ¬ e x δ f .
    Such an encoding of the record by the measure  μ δ f , together with the final solution to the problem of trends for f in the form of a partition  T r δ f = { τ r } , allows us to move further in understanding the behavior of the record through trends.
    A few first observations: to be specific, the trend is  τ r = τ r + . In the regular case, the increasing trend  τ r +  is a sequential alternation of blue, green and red sections (minimality, growth and maximum). Similarly, a decreasing trend  τ r  will be an alternation of red, lilac and blue sections (maximum, decrease and minimum). The relationships between the parts indicate both the nature of the extrema (trend boundaries) and the trend itself: the relatively larger the central part, the more singular the extrema, and the more pronounced the trend (Figure 24 p = 5 , increasing trend containing node 3000 and decreasing trend containing node 3500).
    In addition, red or blue inclusions may appear in the central phase: they are outliers in the  τ r +  trend and indicate its stochastic nature (Figure 25 p = 10 , increasing trend containing node 3000).
  • Considering Boolean logic to be part of fuzzy logic, we present a second direction of further research related to it. It concerns the dynamic correlation of records f and g on T in the form of a fuzzy measure  cor δ ( f , g ) . It is constructed similarly to the measures  τ r δ f  and  e x δ f : the researcher selects a node t and a point of view  δ t  on T, then each joint elementary dynamics  ( f δ ( t ¯ ) , g δ ( t ¯ ) )  is assigned weight  δ t ( t ¯ ) | f δ ( t ¯ ) g δ ( t ¯ ) | . The argument for the correlation of f and g at t are all equally oriented elementary dynamics,  sgn f δ ( t ¯ ) · sgn g δ ( t ¯ ) = 1 , and against, oppositely oriented elementary dynamics,  sgn f δ ( t ¯ ) · sgn g δ ( t ¯ ) = 1 , with its weights. The correlation measure  cor δ ( f , g ) ( t )  is considered the ratio of the sums of weights “for” to the total sum of weights
    cor δ ( f , g ) ( t ) = δ t ( t ¯ ) | f δ ( t ¯ ) g δ ( t ¯ ) | : sgn f δ ( t ¯ ) · sgn g δ ( t ¯ ) = 1 δ t ( t ¯ ) | f δ ( t ¯ ) g δ ( t ¯ ) | : t T .
    Fuzzy negation  ¬ cor δ ( f , g )  is a measure of anticorrelation (multidirectionality) of records f and g. The correlation of functions f (Figure 26a) and g (Figure 26b) for proximity  δ ( p , r )  on three scales  p = 1 , 5 , 10  is shown in Figure 27, Figure 28 and Figure 29: the areas where  cor δ ( p , r ) ( f , g ) > 0.5  ( < 0.5 ) are shown on the regression smoothings  f p  and  g p  in red and blue, respectively.

7. Conclusions

In classical mathematical analysis, the concept of locality is based on a passage to the limit and thus has an infinitesimal character. For this reason, solving the problem of finding trends for piecewise smooth functions is reduced to determining segments of constant sign of the derivative.
In a discrete case, within the framework of DMA, a comparative, fuzzy, multiscale perception of locality is natural and important. It is this perception of locality that is important for analyzing discrete data and understanding the dynamics of the processes that these data express.
Solving the problem of determining trends in discrete time series provides only a preliminary fragmentation of the process. Without identifying the relationship between trends, a deep understanding of the dynamics of the process, which is obtained by constructing a hierarchy of trends and extremes, is impossible.
The theoretical justification of the regression approach to differentiation presented in the work allows, firstly, to give an answer to the question: “What is discrete differentiation”, and secondly, outlines a path for solving the problem of trends at different scales within the framework of the classical approach. It consists in transferring to the continuous case the discrete solution of the trend problem proposed in this work based on measures of trend and extremum by replacing the sum in constructions (5) and (6) with an integral. The efficiency of the discrete solution allows us to hope for success in the continuous case.
About future plans for our research announced in Section 6, we add the following
  • A comparative analysis of the solution to the trend problem  T r p f  based on the scale parameter p at a fixed viewing radius  r *  with the solution to the trend problem  T r r f  based on the viewing radius r at a fixed scale parameter  p * .
  • The trend measures  τ r p f  and  τ r p f ¯  are very convenient for comparing records f and  f ¯  on scales p and  p ¯ : such a comparison  cor ( p , p ¯ ) ( f , f ¯ )  can be any functional distance between fuzzy measures  τ r p f  and  τ r p f ¯  on the general domain of their definition T. The fuzzy weight  σ ( p , p ¯ )  of the comparison depends on the researcher. The general conclusion for the set  f , f ¯ , σ ( p , p ¯ ) , p P , p ¯ P ¯  will give a final comparison of a new type  cor ( f , f ¯ )  between records f and  f ¯ , which is a measure of similarity that can serve as the basis for clustering on records.
  • The last direction of further research by the authors, similar to the study of wavelet spectra, is related to the migration of extrema [18,32,33]. It involves two stages: the construction of chains of migration of extrema and their subsequent multifractal analysis (Gibbs sums, scaling exponent, Hölder index). The stage of constructing chains of migration of extremes is described in the proposed article.
In conclusion, we note the following. Regression motives in the analysis of discrete series are present, in particular, in the form of F-transformations (more precisely,  f 1 -transformations for differentiating a series). Following Zadeh’s principle of incompatibility, they are focused on data analysis for the purpose of decision making. Thus, F-transformations during localization do not deal with the entire family of proximity measures  δ t , t T  but only with a certain sample  δ t k , t k T , k = 1 , , K , where  k T  to effectively simplify calculations [34].

Author Contributions

Conceptualization and original draft preparation, S.A. and D.K.; conceptualization, methodology, review and editing and validation, S.B. and B.D.; material preparation, formal analysis, data curation and algorithm development, S.B. and M.D. All authors contributed to the study conception and design. All authors have read and agreed to the published version of the manuscript.

Funding

This work was conducted in the framework of budgetary funding of the Geophysical Center of RAS, adopted by the Ministry of Science and Higher Education of the Russian Federation (grant number 075-01349-23-00).

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1

For the proximity measure  δ  on T and its nodes  t i t j i , j = 1 , , N , by  a i j = a i j ( δ ) , we denote the fraction  δ t i ( t j ) j = 1 N δ t i ( t j ) 1 . For each i, the set  a i j | j = 1 N  is a probability distribution on T j = 1 N a i j = 1 .
Let us denote by  M i ( x )  the functional of the mathematical expectation relative to this distribution on  F ( T ) M i ( x ) = j = 1 N a i j x j x F ( T )  and use it to express the regression value  f δ ( t i ) :
f δ ( t i ) = M i ( f ) M i ( t ) t i M i ( t 2 ) M i ( t ) 2 M i ( t f ) M i ( t ) M i ( f ) ,
where  t f  is the series  t 1 f 1 , , t N f N , and  t 2  is the series  t 1 2 , , t N 2 .
We are interested in the convergence of  f δ p ( t i ) f ( t i )  as  p . To achieve this, we require the measure  δ  to satisfy two conditions: symmetry  δ t i ( t j ) = δ t j ( t i )  and nontrivial strict monotonicity
t j t i < t j ¯ t i δ t i ( t j ) δ t i ( t j ¯ ) 0 δ t i ( t j ¯ ) < δ t i ( t j ) .
Let us put  a i j ( δ p ) = a i j ( p ) . Then,  lim p a i i ( p ) = 1 , and for  i j lim p a i j ( p ) = 0 . Let us consider node  t i  internal in T i > 1 ; then, due to the conditions on  δ , in the distribution  a i j ( p ) | j = 1 N , for any  p 0 , there are three main actors:  a i i  and  a i i + 1 = a i + 1 i , which we denote by  a i ( p ) .
Let us reveal the uncertainty of the relation  ( M i ( t ) t i ) ( M i ( t 2 ) M i ( t ) 2 ) 1  in (A1) by expanding the numerator and denominator modulo  a i ( p ) :
1 a i i = 2 a i + o ( a i ) , M i ( t ) = a i i t i + a i ( t i 1 + t i + 1 ) + o ( a i ) = t i ( a i i + 2 a i ) + o ( a i ) , M i ( t ) 2 = t i 2 ( a i i + 2 a i ) 2 + o ( a i ) = t i 2 ( a i i 2 + 4 a i i a i + 4 a i 2 ) + o ( a i ) , M i ( t 2 ) = a i i t i 2 + a i ( t i 1 2 + t i + 1 2 ) + o ( a i ) = t i 2 + a i ( 2 t i 2 + 2 h 2 ) + o ( a i ) .
Numerator:
M i ( t ) t i = t i ( a i i + 2 a i ) t i + o ( a i ) = = t i ( a i i 1 ) + 2 a i t i + o ( a i ) = 2 a i t i + 2 a i t i + o ( a i ) = o ( a i ) .
Denominator:
M i ( t 2 ) M i ( t ) 2 = t i 2 + a i ( 2 t i 2 + 2 h 2 ) t i 2 ( a i i 2 + 4 a i i a i + 4 a i 2 ) + o ( a i ) = = a i i ( 1 a i i ) t i 2 4 a i i a i t i 2 + 2 a i t i 2 4 a i 2 t i 2 + 2 h 2 a i + o ( a i ) = = 2 a i ( 1 a i i ) t i 2 4 a i i a i t i 2 + 2 h 2 a i + o ( a i ) = = 4 a i i a i t i 2 4 a i i a i t i 2 + 2 h 2 a i + o ( a i ) = 2 h 2 a i + o ( a i ) .
Thus, as  p , the fraction  ( M i ( t ) t i ) ( M i ( t 2 ) M i ( t ) 2 ) 1  tends to zero, and the regression values  f δ p ( t i )  tends to  f ( t i ) .

Appendix A.2

The regression approach to derivatives continues into higher dimensions.
Let  f ( x )  be a function on the segment  [ 1 , 1 ]  having on it continuous derivatives  f i ( x ) i = 1 , , n + 1  up to and including order  n + 1 . Under these assumptions, the McLaren decomposition of nth order takes place for  f ( x ) :
f ( x ) = f ( 0 ) + f ( 0 ) 1 ! x + + f ( n ) ( 0 ) n ! x n + r n ( x ) ,
where  r n ( x )  is the remainder term in Lagrange form
r n ( x ) = f ( n + 1 ) ( θ ( x ) ) ( n + 1 ) ! x n + 1 , θ ( x ) [ 0 , x ] .
Let us denote by  T n f ( x )  the Taylor polynomial for  f ( x )  [31,35,36,37,38], so that
f ( x ) = T n f ( x ) + r n ( x ) , r n ( x ) = c ( x ) x ( n + 1 ) and c ( x ) < M evenly on [ 1 , 1 ] .
We fix  Δ ( 0 , 1 ) . Let us denote by  pr n f Δ  the projection of the restriction  f | [ Δ , Δ ]  onto the  ( n + 1 ) th subspace  P n [ Δ , Δ ]  of polynomials of degree  n  in the space  L 2 [ Δ , Δ ] pr n f Δ = j = 0 n b j ( f , Δ ) x j  is nth order quadratic regression of f on  [ Δ , Δ ] .
Statement A1.
lim Δ 0 b j ( f , Δ ) = f ( j ) ( 0 ) j ! , j = 0 , , n .
The proof follows from the tendency to zero as  Δ 0  of the regression  pr n ( r n ) Δ a 0 * ( Δ ) + a 1 * ( Δ ) x + + a n * ( Δ ) x n .
For simplicity of presentation, let us temporarily omit the dependence on  Δ  in the coefficients of the polynomials, setting  a i = a i ( Δ ) . The regression functional  P ( a 0 , , a n )  is the distance from  r n ( x )  to the polynomial  P ( x ) = a 0 + a 1 x + + a n x n  in the space  L 2 [ Δ , Δ ] :
P ( a 0 , , a n ) = Δ Δ ( a 0 + a 1 x + + a n x n r n ( x ) ) 2 d x
and the set  a 0 * , , a n *  gives its minimum.
The following equations arise
P a i = 0 Δ Δ x i ( a 0 + a 1 x + + a n x n r n ( x ) ) = 0 j = 0 n Δ Δ x i + j d x a j * = Δ Δ x i r n ( x ) d x ; i = 0 , , n
and the integral
Δ Δ x i + j d x = 2 i + j + 1 Δ i + j + 1 0 , if i + j even odd .
Therefore, the matrix  M = M ( Δ )  of system (A4) has the form
M = 2 Δ 0 2 3 Δ 3 0 2 5 Δ 5 0 2 3 Δ 3 0 2 5 Δ 5 2 3 Δ 3 0 2 5 Δ 5 0 2 5 Δ 5 2 5 Δ 5 .
A nontrivial contribution to the determinant of  det M  is made only by even strategies  σ = ( j , σ ( j ) ) , going along M from left to right: strategy  σ  is even ↔ the sum  j + σ ( j )  is even in j.
If  σ  is an even strategy, then the product  Π ( σ )  of its corresponding matrix elements satisfies the equality
Π ( σ ) = Π j = 0 n 2 Δ j + σ ( j ) + 1 j + σ ( j ) + 1 = 2 n + 1 K ( σ ) Δ ( n + 1 ) 2 ,
where  K ( σ ) = Π j = 0 n ( j + σ ( j ) + 1 ) 1 .
Because of
j = 0 n j = j = 0 n σ ( j ) = n ( n + 1 ) 2 ,
then
j = 0 n ( j + σ ( j ) + 1 ) = j = 0 n j + j = 0 n σ ( j ) + j = 0 n 1 = 2 n ( n + 1 ) 2 + n + 1 = ( n + 1 ) 2 .
Thus,
det M = det M ( Δ ) = ( 1 ) sgn σ K ( σ ) 2 n + 1 Δ ( n + 1 ) 2 ,
where  σ  are even strategies and  sgn σ  is the signature of the permutation  σ .
The alternative sum K in (A6) is necessarily nontrivial. This is a consequence of Euclidean geometry and linear algebra: the projection  r n ( x )  in the space  L 2 [ Δ , Δ ]  onto any of its subspaces always exists and is unique, which, in turn, is equivalent to the nontriviality of  det M ( Δ ) . Thus, the order of smallness of the determinant  det M ( Δ )  as  Δ 0  is equal to  ( n + 1 ) 2 .
The next step is to analyze the determinants  det M j *  of the auxiliary matrices  M j *  of system (A4), obtained from the main M by replacing the  j * th column with a column of free terms:
M j * = M j * ( Δ ) = 2 Δ 0 2 3 Δ 3 0 2 5 Δ 5 Δ Δ r n ( x ) d x 0 2 3 Δ 3 0 2 5 Δ 5 Δ Δ x r n ( x ) d x 2 3 Δ 3 0 2 5 Δ 5 Δ Δ x 2 r n ( x ) d x 0 2 5 Δ 5 Δ Δ x 3 r n ( x ) d x 2 5 Δ 5 Δ Δ x 4 r n ( x ) d x .
A nontrivial contribution to  det M j *  is also made only by even strategies: such  σ  must necessarily be even for  j j * , but always  j = 0 n ( j + σ ( j ) ) = n ( n + 1 ) , and therefore, the sum  j * + σ ( j * )  is also even.
Let  σ  be any even strategy; then, the product  Π ( σ , j * )  associated with it in  det M j *  is equal to
Π ( σ , j * ) = 2 n Π j j * 1 j + σ ( j ) + 1 Δ ( n + 1 ) 2 ( j * + σ ( j * ) + 1 ) Δ Δ x σ ( j * ) r n ( x ) d x .
According to assumption (A3) on f,
Δ Δ x σ ( j * ) r n ( x ) d x Δ Δ x σ ( j * ) r n ( x ) d x M Δ Δ x σ ( j * ) + n + 1 d x M ˜ Δ σ ( j * ) + n + 2 ;
therefore, the product  Π ( σ , j * )  is  o Δ ( n + 1 ) 2 , since  n + 1 j * > 0 :
Π ( σ , j * ) M Δ ( n + 1 ) 2 ( j * + σ ( j * ) + 1 ) Δ σ ( j * ) + n + 2 = M Δ ( n + 1 ) 2 n + 1 j * .
The determinant  det M j = det M j ( Δ )  is an alternative sum of the products  Π ( σ , j * )  and therefore is  o Δ ( n + 1 ) 2  and also relative to  det M ( Δ ) . The equality  a j * = a j * ( Δ ) = det M j ( Δ ) ( det M ) 1  completes the proof.

References

  1. Tanaka, H.; Uejima, S.; Asai, K. Linear regression analysis with fuzzy model. IEEE Trans. Syst. Man Cybern. 1982, 12, 903–907. [Google Scholar]
  2. Kacprzyk, J.; Wilbik, A.; Zadrożny, S. Linguistic summarization of time series by using the choquet integral. In Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2007; pp. 284–294. [Google Scholar]
  3. Pedrycz, W.; Smith, M.H. Granular correlation analysis in data mining. In Proceedings of the UZZ-IEEE’99, 1999 IEEE International Fuzzy Systems, Conference Proceedings (Cat. No.99CH36315), Seoul, Republic of Korea, 22–25 August 1999. [Google Scholar]
  4. Batyrshin, I.Z.; Nedosekin, A.O.; Stetsko, A.A. Fuzzy Hybrid Systems. Theory and Practice; Fizmatlit: Moscow, Russia, 2007. [Google Scholar]
  5. Yarushkina, N.G. Fundamentals of the Theory of Fuzzy and Hybrid Systems; Finance and Statistics: Moscow, Russia, 2004. [Google Scholar]
  6. Kovalev, S.M. Hybrid fuzzy-temporal models of time series in problems of analysis and identification of weakly formalized processes. In Integrated Models and Soft Computing in Artificial Intelligence, Proceedings of the IVth International Scientific and Practical Conference, Kolomna, Russia, 28–30 May 2007; Fizmatlit: Moscow, Russia, 2007; Volume 1, pp. 26–41. [Google Scholar]
  7. Yarushkina, N.G.; Yunusov, T.R.; Afanasyeva, T.V. Terminal-server traffic modeling based on fuzzy time series trend analysis. Softw. Prod. Syst. 2007, 4, 15–19. [Google Scholar]
  8. Shumway, R.H.; Stoffer, D.S. Time Series Analysis and Its Applications; Springer International Publishing: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
  9. Brockwell, P.J.; Davis, R.A. Introduction to Time Series and Forecasting; Springer International Publishing: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  10. Brockwell, P.J.; Davis, R.A. Time Series: Theory and Methods; Springer: New York, NY, USA, 1987. [Google Scholar]
  11. Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice; OTexts: Melbourne, Australia, 2018. [Google Scholar]
  12. Agayan, S.M.; Kamaev, D.A.; Bogoutdinov, S.R.; Aleksanyan, A.O.; Dzeranov, B.V. Time series analysis by fuzzy logic methods. Algorithms 2023, 16, 238. [Google Scholar] [CrossRef]
  13. Montgomery, D.C.; Jennings, C.L.; Kulahci, M. Introduction to Time Series Analysis and Forecasting, 2nd ed.; Wiley: Hoboken, NJ, USA, 2015. [Google Scholar]
  14. Cryer, J.D.; Chan, K.-S. Time Series Analysis; Springer: New York, NY, USA, 2008. [Google Scholar]
  15. Tsay, R.S. Analysis of Financial Time Series; Wiley: Hoboken, NJ, USA, 2005. [Google Scholar]
  16. Greene, W.H. Econometric Analysis; Prentice Hall: Hoboken, NJ, USA, 2003. [Google Scholar]
  17. Percival, D.B.; Walden, A.T. Wavelet Methods for Time Series Analysis; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
  18. Mallat, S. A Wavelet Tour of Signal Processing; Elsevier: Amsterdam, The Netherlands, 2009. [Google Scholar]
  19. Yager, R.R. Fuzzy Sets and Possibility Theory; Radio and communications; Pergamon Press: Oxford, UK, 1986. [Google Scholar]
  20. Zhu, Q.; Batista, G.; Rakthanmanon, T.; Keogh, E. A novel approximation to dynamic time warping allows anytime clustering of massive time series datasets. In Proceedings of the 2012 SIAM International Conference on Data Mining; Society for Industrial and Applied Mathematics, Anaheim, CA, USA, 26–28 April 2012. [Google Scholar]
  21. Giusti, R.; Batista, G.E. An empirical comparison of dissimilarity measures for time series classification. In Proceedings of the 2013 Brazilian Conference on Intelligent Systems, Fortaleza, Brazil, 19–24 October 2013; IEEE: Piscataway, NJ, USA, 2013. [Google Scholar]
  22. Ding, H.; Trajcevski, G.; Scheuermann, P.; Wang, X.; Keogh, E. Querying and mining of time series data: Experimental comparison of representations and distance measures. Proc. VLDB Endow. 2008, 1, 1542–1552. [Google Scholar] [CrossRef]
  23. Batyrshin, I.; Herrera-Avelar, R.; Sheremetov, L.; Panova, A. Moving approximation transform and local trend associations in time series data bases. In Perception-Based Data Mining and Decision Making in Economics and Finance; Springer: Berlin/Heidelberg, Germany, 2007; pp. 55–83. [Google Scholar]
  24. Almanza, V.; Batyrshin, I. On trend association analysis of time series of atmospheric pollutants and meteorological variables in mexico city metropolitan area. In Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2011; pp. 95–102. [Google Scholar]
  25. Agayan, S.M.; Bogoutdinov, S.R.; Dobrovolsky, M.N. Discrete perfect sets and their application in cluster analysis. Cybern. Syst. Anal. 2014, 50, 176–190. [Google Scholar] [CrossRef]
  26. Agayan, S.; Bogoutdinov, S.; Soloviev, A.; Sidorov, R. The study of time series using the DMA methods and geophysical applications. Data Sci. J. 2016, 15, 16. [Google Scholar] [CrossRef]
  27. Agayan, S.M.; Bogoutdinov, S.R.; Krasnoperov, R.I. Short introduction into DMA. Russ. J. Earth Sci. 2018, 18, 1–10. [Google Scholar] [CrossRef]
  28. Agayan, S.M.; Bogoutdinov, S.R.; Krasnoperov, R.I.; Efremova, O.V.; Kamaev, D.A. Fuzzy logic methods in the analysis of tsunami wave dynamics based on sea level data. Pure Appl. Geophys. 2022, 179, 4053–4062. [Google Scholar] [CrossRef]
  29. Agayan, S.M.; Bogoutdinov, S.R.; Dzeboev, B.A.; Dzeranov, B.V.; Kamaev, D.A.; Osipov, M.O. DPS clustering: New results. Appl. Sci. 2022, 12, 9335. [Google Scholar] [CrossRef]
  30. Kolmogorov, A.N.; Fomin, S.V. Elements of Function Theory and Functional Analysis; Nauka: Moscow, Russia, 1976. [Google Scholar]
  31. Fichtenholtz, G.M. Differential and Integral Calculus Course; Nauka: Moscow, Russia, 1969. [Google Scholar]
  32. Muzy, J.F.; Bacry, E.; Arneodo, A. Wavelets and multifractal formalism for singular signals: Application to turbulence data. Phys. Rev. Lett. 1991, 67, 3515–3518. [Google Scholar] [CrossRef] [PubMed]
  33. Muzy, J.F.; Bacry, E.; Arneodo, A. Multifractal formalism for fractal signals: The structure-function approach versus the wavelet-transform modulus-maxima method. Phys. Rev. E 1993, 47, 875–884. [Google Scholar] [CrossRef] [PubMed]
  34. Perfilieva, I.; Daňková, M.; Bede, B. Towards a higher degree f-transform. Fuzzy Sets Syst. 2011, 180, 3–19. [Google Scholar] [CrossRef]
  35. Rudin, U. Principles of Mathematical Analysis; McGraw-Hill: New York, NY, USA, 1976. [Google Scholar]
  36. Dieudonne, J. Foundations of Modern Analysis; Academic Press, Inc.: Cambridge, MA, USA, 1969. [Google Scholar]
  37. Schwartz, L. Analysis; Mir: Moscow, Russia, 1972. [Google Scholar]
  38. Shilov, G.E. Mathematical Analysis; GIFML: Moscow, Russia, 1961. [Google Scholar]
Figure 1. Proximity of  δ t ( p , r )  to node t for different p’s.
Figure 1. Proximity of  δ t ( p , r )  to node t for different p’s.
Mathematics 12 00284 g001
Figure 2. Results of smoothing  R ( p , r )  (solid line) and averaging  M ( p , r )  (dotted line) for smooth records (black line) at different scales p with quadratic residuals deviations:  p = 1  (red lines),  p = 12  (green) and  p = 35  (blue).
Figure 2. Results of smoothing  R ( p , r )  (solid line) and averaging  M ( p , r )  (dotted line) for smooth records (black line) at different scales p with quadratic residuals deviations:  p = 1  (red lines),  p = 12  (green) and  p = 35  (blue).
Mathematics 12 00284 g002
Figure 3. Results of smoothing  R ( p , r )  on a real recording (black line) at different scales p p = 1  (red line),  p = 12  (green line) and  p = 35  (blue line).
Figure 3. Results of smoothing  R ( p , r )  on a real recording (black line) at different scales p p = 1  (red line),  p = 12  (green line) and  p = 35  (blue line).
Mathematics 12 00284 g003
Figure 4. Preliminary solution of the problem of trends on a smooth record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of trend  τ r 1 f  with red–blue partition  T r 1 f . (d) Partition  T r 1 f  on smoothing  f 1 . (e) Partitioning  T r 1 f  into records f.
Figure 4. Preliminary solution of the problem of trends on a smooth record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of trend  τ r 1 f  with red–blue partition  T r 1 f . (d) Partition  T r 1 f  on smoothing  f 1 . (e) Partitioning  T r 1 f  into records f.
Mathematics 12 00284 g004
Figure 5. Preliminary solution of the problem of trends on a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of trend  τ r 12 f  with red–blue partition  T r 12 f . (d) Partition  T r 12 f  on smoothing  f 12 . (e) Partitioning  T r 12 f  into records f.
Figure 5. Preliminary solution of the problem of trends on a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of trend  τ r 12 f  with red–blue partition  T r 12 f . (d) Partition  T r 12 f  on smoothing  f 12 . (e) Partitioning  T r 12 f  into records f.
Mathematics 12 00284 g005
Figure 6. Preliminary solution of the problem of trends on a smooth record on a scale  p = 35 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 35 . (c) Measure of trend  τ r 35 f  with red–blue partition  T r 35 f . (d) Partition  T r 35 f  on smoothing  f 35 . (e) Partitioning  T r 35 f  into records f.
Figure 6. Preliminary solution of the problem of trends on a smooth record on a scale  p = 35 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 35 . (c) Measure of trend  τ r 35 f  with red–blue partition  T r 35 f . (d) Partition  T r 35 f  on smoothing  f 35 . (e) Partitioning  T r 35 f  into records f.
Mathematics 12 00284 g006
Figure 7. Preliminary solution of the problem of trends on a real record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of trend  τ r 1 f  with red–blue partition  T r 1 f . (d) Partition  T r 1 f  on smoothing  f 1 . (e) Partitioning  T r 1 f  into records f.
Figure 7. Preliminary solution of the problem of trends on a real record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of trend  τ r 1 f  with red–blue partition  T r 1 f . (d) Partition  T r 1 f  on smoothing  f 1 . (e) Partitioning  T r 1 f  into records f.
Mathematics 12 00284 g007
Figure 8. Preliminary solution of the problem of trends on a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of trend  τ r 12 f  with red–blue partition  T r 12 f . (d) Partition  T r 12 f  on smoothing  f 12 . (e) Partitioning  T r 12 f  into records f.
Figure 8. Preliminary solution of the problem of trends on a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of trend  τ r 12 f  with red–blue partition  T r 12 f . (d) Partition  T r 12 f  on smoothing  f 12 . (e) Partitioning  T r 12 f  into records f.
Mathematics 12 00284 g008
Figure 9. Stability of the preliminary solution to the trend problem. Red lines are positive trends, blue lines are negative ones. (a) Smooth notation (black) and its disturbance (green). (b) Solution for the smooth recording. (c) Solution to its disturbance.
Figure 9. Stability of the preliminary solution to the trend problem. Red lines are positive trends, blue lines are negative ones. (a) Smooth notation (black) and its disturbance (green). (b) Solution for the smooth recording. (c) Solution to its disturbance.
Mathematics 12 00284 g009
Figure 10. Adequacy of the preliminary solution to the trend problem. Red lines are positive trends, blue lines are negative ones. (a) Initial recording. (b) Mathematical solution to the trend problem. (c) Preliminary solution to the trend problem. (d) Mathematical solution to the trend problem (fragment). (e) Preliminary solution to the trend problem (fragment).
Figure 10. Adequacy of the preliminary solution to the trend problem. Red lines are positive trends, blue lines are negative ones. (a) Initial recording. (b) Mathematical solution to the trend problem. (c) Preliminary solution to the trend problem. (d) Mathematical solution to the trend problem (fragment). (e) Preliminary solution to the trend problem (fragment).
Mathematics 12 00284 g010
Figure 11. Partition inaccuracy  T r p f . (a) Original record. (b) Preliminarily solving the trend problem on a scale  p = 12 . (c) Extrema partition  T r 12 f  (highs are red, lows are blue, black is the original record).
Figure 11. Partition inaccuracy  T r p f . (a) Original record. (b) Preliminarily solving the trend problem on a scale  p = 12 . (c) Extrema partition  T r 12 f  (highs are red, lows are blue, black is the original record).
Mathematics 12 00284 g011
Figure 12. Partition of  E x p f  on a smooth record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of extremum  e x 1 f  with red–blue partition  E x 1 f . (d) Partition of  e x 1 f  on smoothing  f 1 . (e) Partition of  E x 1 f  into records f.
Figure 12. Partition of  E x p f  on a smooth record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of extremum  e x 1 f  with red–blue partition  E x 1 f . (d) Partition of  e x 1 f  on smoothing  f 1 . (e) Partition of  E x 1 f  into records f.
Mathematics 12 00284 g012
Figure 13. Partition of  E x p f  on a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of extremum  e x 12 f  with red–blue partition  E x 12 f . (d) Partition of  e x 12 f  on smoothing  f 12 . (e) Partition of  E x 12 f  into records f.
Figure 13. Partition of  E x p f  on a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of extremum  e x 12 f  with red–blue partition  E x 12 f . (d) Partition of  e x 12 f  on smoothing  f 12 . (e) Partition of  E x 12 f  into records f.
Mathematics 12 00284 g013
Figure 14. Partition of  E x p f  on a smooth record on a scale  p = 35 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 35 . (c) Measure of extremum  e x 35 f  with red–blue partition  E x 35 f . (d) Partition of  e x 35 f  on smoothing  f 35 . (e) Partition of  E x 35 f  into records f.
Figure 14. Partition of  E x p f  on a smooth record on a scale  p = 35 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 35 . (c) Measure of extremum  e x 35 f  with red–blue partition  E x 35 f . (d) Partition of  e x 35 f  on smoothing  f 35 . (e) Partition of  E x 35 f  into records f.
Mathematics 12 00284 g014
Figure 15. Partition of  E x p f  on a real record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of extremum  e x 1 f  with red–blue partition  E x 1 f . (d) Partition of  e x 1 f  on smoothing  f 1 . (e) Partition of  E x 1 f  into records f.
Figure 15. Partition of  E x p f  on a real record on a scale  p = 1 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 1 . (c) Measure of extremum  e x 1 f  with red–blue partition  E x 1 f . (d) Partition of  e x 1 f  on smoothing  f 1 . (e) Partition of  E x 1 f  into records f.
Mathematics 12 00284 g015
Figure 16. Partition of  E x p f  on a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of extremum  e x 12 f  with red–blue partition  E x 12 f . (d) Partition of  e x 12 f  on smoothing  f 12 . (e) Partition of  E x 12 f  into records f.
Figure 16. Partition of  E x p f  on a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Regression smoothing  f 12 . (c) Measure of extremum  e x 12 f  with red–blue partition  E x 12 f . (d) Partition of  e x 12 f  on smoothing  f 12 . (e) Partition of  E x 12 f  into records f.
Mathematics 12 00284 g016
Figure 17. The final solution of trends for a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Smoothing  f 12 . (c) Dashed extrema of a preliminary nature on the trend measure  τ r 12 f . (d) Dashed extrema of a preliminary nature on the trend measure  e x 12 f  and their solid corrections. (e) Final solution of trends using smoothing  f 12 . (f) Preliminary solution of trends using smoothing  f 12 . (g) Final solution of trends on record f.
Figure 17. The final solution of trends for a smooth record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Smoothing  f 12 . (c) Dashed extrema of a preliminary nature on the trend measure  τ r 12 f . (d) Dashed extrema of a preliminary nature on the trend measure  e x 12 f  and their solid corrections. (e) Final solution of trends using smoothing  f 12 . (f) Preliminary solution of trends using smoothing  f 12 . (g) Final solution of trends on record f.
Mathematics 12 00284 g017
Figure 18. The final solution of trends for a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Smoothing  f 12 . (c) Dashed extrema of a preliminary nature on the trend measure  τ r 12 f . (d) Dashed extrema of a preliminary nature on the trend measure  e x 12 f  and their solid corrections. (e) Final solution of trends using smoothing  f 12 . (f) Preliminary solution of trends using smoothing  f 12 . (g) Final solution of trends on record f.
Figure 18. The final solution of trends for a real record on a scale  p = 12 . Red lines are positive trends, blue lines are negative ones. (a) Original record f. (b) Smoothing  f 12 . (c) Dashed extrema of a preliminary nature on the trend measure  τ r 12 f . (d) Dashed extrema of a preliminary nature on the trend measure  e x 12 f  and their solid corrections. (e) Final solution of trends using smoothing  f 12 . (f) Preliminary solution of trends using smoothing  f 12 . (g) Final solution of trends on record f.
Mathematics 12 00284 g018
Figure 19. Multiscale solution of the trend problem on a synthetic record. (a) Original entry f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Figure 19. Multiscale solution of the trend problem on a synthetic record. (a) Original entry f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Mathematics 12 00284 g019
Figure 20. Multiscale solution of the trend problem on a real record. (a) Original entry f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Figure 20. Multiscale solution of the trend problem on a real record. (a) Original entry f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Mathematics 12 00284 g020
Figure 21. Multiscale rigorous mathematical solution to the problem of trends on a synthetic record. (a) Original record f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Figure 21. Multiscale rigorous mathematical solution to the problem of trends on a synthetic record. (a) Original record f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Mathematics 12 00284 g021
Figure 22. Multiscale rigorous mathematical solution to the problem of trends on a real record. (a) Original record f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Figure 22. Multiscale rigorous mathematical solution to the problem of trends on a real record. (a) Original record f. (b) Partition  T r p f . Red areas are positive trends, blue areas are negative ones. (c) Migration of extrema to  T r p f . Different colors correspond to different extrema. (d) Hierarchy of extrema on record f. Asterisks in different colors correspond to extrema on a scale  p = 50 .
Mathematics 12 00284 g022
Figure 23. Coding a record by measure  μ δ f . (a) original record f. (b) Its smoothing at  p = 1  with the manifestation of the measure  μ δ f .
Figure 23. Coding a record by measure  μ δ f . (a) original record f. (b) Its smoothing at  p = 1  with the manifestation of the measure  μ δ f .
Mathematics 12 00284 g023
Figure 24. Coding a record by measure  μ δ f : (a) original record f; (b) its smoothing at  p = 5  with the manifestation of the measure  μ δ f .
Figure 24. Coding a record by measure  μ δ f : (a) original record f; (b) its smoothing at  p = 5  with the manifestation of the measure  μ δ f .
Mathematics 12 00284 g024
Figure 25. Coding a record by measure  μ δ f : (a) original record f; (b) its smoothing at  p = 10  with the manifestation of the measure  μ δ f .
Figure 25. Coding a record by measure  μ δ f : (a) original record f; (b) its smoothing at  p = 10  with the manifestation of the measure  μ δ f .
Mathematics 12 00284 g025
Figure 26. (a) Record f. (b) Record g.
Figure 26. (a) Record f. (b) Record g.
Mathematics 12 00284 g026
Figure 27. Smoothing functions f and g at  p = 1  with selected areas’ correlations (red is where functions correlate). (a f 1 . (b g 1 .
Figure 27. Smoothing functions f and g at  p = 1  with selected areas’ correlations (red is where functions correlate). (a f 1 . (b g 1 .
Mathematics 12 00284 g027
Figure 28. Smoothing functions f and g at  p = 5  with selected areas’ correlations (red is where functions correlate). (a f 5 . (b g 5 .
Figure 28. Smoothing functions f and g at  p = 5  with selected areas’ correlations (red is where functions correlate). (a f 5 . (b g 5 .
Mathematics 12 00284 g028
Figure 29. Smoothing functions f and g at  p = 10  with selected areas’ correlations (red is where functions correlate). (a f 10 . (b g 10 .
Figure 29. Smoothing functions f and g at  p = 10  with selected areas’ correlations (red is where functions correlate). (a f 10 . (b g 10 .
Mathematics 12 00284 g029
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.

Share and Cite

MDPI and ACS Style

Agayan, S.; Bogoutdinov, S.; Kamaev, D.; Dzeboev, B.; Dobrovolsky, M. Trends and Extremes in Time Series Based on Fuzzy Logic. Mathematics 2024, 12, 284. https://doi.org/10.3390/math12020284

AMA Style

Agayan S, Bogoutdinov S, Kamaev D, Dzeboev B, Dobrovolsky M. Trends and Extremes in Time Series Based on Fuzzy Logic. Mathematics. 2024; 12(2):284. https://doi.org/10.3390/math12020284

Chicago/Turabian Style

Agayan, Sergey, Shamil Bogoutdinov, Dmitriy Kamaev, Boris Dzeboev, and Michael Dobrovolsky. 2024. "Trends and Extremes in Time Series Based on Fuzzy Logic" Mathematics 12, no. 2: 284. https://doi.org/10.3390/math12020284

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop