The economic cycle of the Dynamic Time Warping

– Expansion and payment periods or finance markets – lie in the heart of the macroeconomic analysis. Where countries have a common income, such as the eurozone, synced cycles are required for the size of one size – all the financial policy to work. The idea began to be placed by Robert Mundell (1961), the Optimum Family Dad. If, for example, in the problem and Spanish increases, as it happened after the Thousand Year Change, the European Central Bank (ECB) cannot set up the amount of interest in both countries. The lowest interest rate will lead to excessively economical in Spain, and higher interest rates can increase the difficulties in Germany.
Traditional Synchronization methods usually rely on simple communication. But what happens if the two economy follows the same businesses or financial patterns, but only “hands” or “behind” some of the few rooms?
Enter the motivated time with the warping (DTW), the process that has been formed at the beginning of the speech but is very increasing in the science of data comparing the time series at the same time. In our paper, “business wars and financing in the euro area” (Bugdalle & Peifer, 2025), weighing the Euro-Area business and financial cycles and how these cycles meet. Our suitable financial position (OCA) Monitor makes it possible to track the cycle of the actual time – and to see class lags without aggravated punishment as metrics.
Capturing the Section shifts and the variations of amplitude
Multiple courses of the cycle synchronization do three things that can be a problem:
- General treatment of cycles: For example, methods of styles release (as a HP filter) Remove Cyclical components from data. Even in the most sophisticated editions – such as state post models that allow cyclicality – the cycle itself is always fixed.
- The use of meaning: Indicators of general disparations such as variables or regular deviations regularly translate the “Optimum”. In other words, the reasons are not measured among the two cycles, but related to a direct or reference cycle. This hides the pliny. For example, if our cycles actually fall into two (or more) parties, the Centroid will sleep between them – region where existing distances will look moderately, although the cycles of different descent groups.
- Category Shits: Many ways of distance by Euclidean. For example, two cycles can be changed over time in full content. This point can be especially important to the financial policy. Many OCA indicators eventually investigate, especially during times when economists are “almost” synced for a few months or place.
A Powerful Time
DTW non-parametric algorithm receiving good alignment (or “wrapping”) within two years of allowing a single session or compression on time to comply with so. In our position, DTW is used in each relevance of the Indices of a smooth Cylecle Indices, which means one measure similarities is estimated by each type of cycle. Inside the section of each cycle, DTW shows the alignment method πillustration In each country me including + do do ye that reduces the joint distance between two cycles:
[D(mathbf{x}_i, mathbf{x}_j) = min{pi_{ij}} sum_{(t, s) in pi_{ij}} left| mathbf{x}_{i,t} – mathbf{x}_{j,s} right|^2,]
where xme including x+ do do ye Cycle prices are scheduled in time t including cheeks Abroad me including jrespectively. Expensive distance D(xme, x+ do do ye) Holds the quality of the same, in small amounts showing the closest synchronization of two cycles. To ensure that DTW comparison reflects cyclical movement, the alignment is made on the local window (Sakoe-Chiba band) is defined for a period of rate. Finally, combining all DTW distances in one Euro-Area index, including the meaning of GDP-weight D(xme, x+ do do ye). This weight is weighted by the Defergence indicator shown below (Figure 3).
Important DTW benefits with Sakoe-Chiba Band in Economic-Cycle context:
- Phase-connection. Small lags or lead does not automatically assist the main Divegence scores. One quarter change will not punish the distance if the lower patterns remain the same.
- Increasing empathy. DTW stores information about amplitude, modification, and “structure” related to booms and busts. The two countries meet the sharp debt of the boom – even if the other is past the quarter – you will still be considered the most.
- The fluctuation of time. Through DTW over the wrapping window (eg a place band of the area of residential areas
Building a corporate business and financial cycles
Displaying DTW's power, first to form two-cycle indices for each country of euro
- The Index of Business Cycle Index: General GDP's growth, the growth of private use, total growth of the largest city, and job creation.
- Financial Index Cycle: The real quarter of credit growth (bank loan), pricing, pricing growth, and pricing growth.
Using a non-parametric method presented by Schüler et al. . This avoids strong injuries and keeps changing changes.
Numbers 1 and 2

Note: Business cycles and financial cycles such as deviation from their historical growth – 0.5 corresponds to the level of long-term growth. The coating cycle of the coating includes the Credit-on-Quarter growth in debt, the prices of the house, prices and bond prices – showing band-pass-filter series using band-pass-chression uses. Summed Business Cycle Movers Circuit-on-Quart-quarte growth in GDP, use, investment, and unemployment
From distances repeated by distilled distances in Aggregate Divince Monitor
Where each country's business and financial cycles are estimated, it includes the same distances between countries (eg Germany vs. Spain, etc. vs.). To make a single euro-Area Subject “Dippergence,” they take a GDP-weighing rating of all the same distances in DTW. The value of the high indication means a variation in all the cycles of the whole country; The lower value means difficult sync.
Figure 3

Note: The figure reflects the Cycle Diversity Levels of the euro area from 1985-20234. Depherd Suple Pusple Purple Purples Mighty Mighty Growth (DTW) grade in all the National-Cycleices; The full blue line shows the equivalent of the business indices-cycle. The strong black line is a measure of GDP for the second series, our Divesence Monitor monitor. Gray belts are colored Mark the OECDs for the cost of eurozone. High amounts show a significant division in a member of the member's state
When planning this series (Fig Fig 3), several patterns appear:
- 1990s conversion: Business-Cycle Dippergenence fell as much as modes of conversion under the Maastricht held.
- Pre-2008 DIPPERGENE DIPPERGENCE: Financial cycles is actually devastating before the World Financial Traffic – that arise in Divespere is not visible in the metric mathematics or amplitude.
- Post-2010 repair: ECB financial policy (OMT, QE) is accompanied by meeting in business and financial cycles.
- Tit-2021 UPTICK: Since Covis-19 shocked, the division has started back, as some countries may recover faster than others.
Takeaaways for data scientists and economic scholars
- Compatibility of flexible pattern: If you compare economic series (or other) that may be involved in the same “formation”.
- Management of unstable frequency: Business and finance cycles does not arrive with beautiful packages, limited length. DTW power to adapt to various clission conditions that protect actual world turning points.
You're interested in the code test or follow the “Divegence Monitor” Live EURO Location? See Data, Python textbooks, and a practical note that allows you to see how the synony is since the 1980s.
References:
Bugdalle, T., Pfeifer, M. (2025). Warpings During: Business Synchronization and financial performance in the euro area. SSN a primeint. Link to the App Port
Sakoe, H., Chiba, S. (1978). The most beautiful algorithm system of the recognition of words spoken. IEEE transactions in acoustics, in a speech, and signal operations, 26(1), 43-49. Link to the paper
Schüler, YS, PP Hiebert, Note Peltonen (2020). Financial cycles: Import and actual ratio. Journal of International Money and Finance 100. Link on paper
Mundell, R. (1961). Of theory of the correct resources. American Economic Review, 51(4), 657-665. Link to the paper



