IDEAS home Printed from https://ideas.repec.org/a/spr/qualqt/v59y2025i3d10.1007_s11135-024-02000-x.html
   My bibliography  Save this article

Detecting patterns in financial data through weighted time-frequency domain clustering

Author

Listed:
  • Antonio Balzanella

    (University of Campania Luigi Vanvitelli)

  • Francesca Fortuna

    (Roma Tre University)

  • Alessia Naccarato

    (Roma Tre University)

Abstract

The paper introduces a strategy for identifying representative patterns in financial time series data from both temporal and frequency perspectives. To this end, a wavelet transformation of the time series is adopted as pre-processing step. Wavelets provide a multi-resolution representation of the time series, which is represented as the sum of a coarse approximation and a set of multiscale detail coefficients providing information about the temporal data at different frequency levels. This allows highlighting trends and cycles in the time domain, also assessing variance at different frequency levels. The contribution of this paper is the development of a clustering method for time series, represented as a matrix of wavelet coefficients to discover interesting patterns. To this end, an optimally weighted Euclidean distance is proposed, giving weights to frequency components. Thus, a new clustering objective function and an algorithm that allows optimizing it are proposed. The effectiveness of the method is evaluated on real and simulated data. The real dataset consists of a set of time series that record the Purchase Price for End Customers (PUN) of the Italian electricity market from 2016 to 2023, while the simulated dataset consists of time series generated by overlapping sinusoids with different amplitudes, frequencies, and phases.

Suggested Citation

  • Antonio Balzanella & Francesca Fortuna & Alessia Naccarato, 2025. "Detecting patterns in financial data through weighted time-frequency domain clustering," Quality & Quantity: International Journal of Methodology, Springer, vol. 59(3), pages 2069-2089, June.
  • Handle: RePEc:spr:qualqt:v:59:y:2025:i:3:d:10.1007_s11135-024-02000-x
    DOI: 10.1007/s11135-024-02000-x
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s11135-024-02000-x
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s11135-024-02000-x?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Ramsey James B. & Lampart Camille, 1998. "The Decomposition of Economic Relationships by Time Scale Using Wavelets: Expenditure and Income," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 3(1), pages 1-22, April.
    2. Lahmiri, Salim, 2016. "Clustering of Casablanca stock market based on hurst exponent estimates," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 456(C), pages 310-318.
    3. John Elder & Apostolos Serletis, 2008. "Long memory in energy futures prices," Review of Financial Economics, John Wiley & Sons, vol. 17(2), pages 146-155.
    4. Jorge Caiado & Nuno Crato, 2010. "Identifying common dynamic features in stock returns," Quantitative Finance, Taylor & Francis Journals, vol. 10(7), pages 797-807.
    5. Otranto, Edoardo, 2008. "Clustering heteroskedastic time series by model-based procedures," Computational Statistics & Data Analysis, Elsevier, vol. 52(10), pages 4685-4698, June.
    6. Ramsey, James B. & Lampart, Camille, 1998. "Decomposition Of Economic Relationships By Timescale Using Wavelets," Macroeconomic Dynamics, Cambridge University Press, vol. 2(1), pages 49-71, March.
    7. Ramsey, J.B., 2002. "Wavelets in Economics and Finance: Past and Future," Working Papers 02-02, C.V. Starr Center for Applied Economics, New York University.
    8. Coussin, Maximilien, 2022. "Singular spectrum analysis for real-time financial cycles measurement," Journal of International Money and Finance, Elsevier, vol. 120(C).
    9. John Elder & Hyun J. Jin, 2007. "Long memory in commodity futures volatility: A wavelet perspective," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 27(5), pages 411-437, May.
    10. Elizabeth Ann Maharaj & Pierpaolo D’Urso & Don Galagedera, 2010. "Wavelet-based Fuzzy Clustering of Time Series," Journal of Classification, Springer;The Classification Society, vol. 27(2), pages 231-275, September.
    11. Ramsey James B., 2002. "Wavelets in Economics and Finance: Past and Future," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 6(3), pages 1-29, November.
    12. Roy Cerqueti & R. Mattera, 2023. "Fuzzy clustering of time series with time-varying memory," Post-Print hal-04321357, HAL.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Luís Aguiar-Conraria & Maria Joana Soares, 2014. "The Continuous Wavelet Transform: Moving Beyond Uni- And Bivariate Analysis," Journal of Economic Surveys, Wiley Blackwell, vol. 28(2), pages 344-375, April.
    2. Patrick M. Crowley, 2007. "A Guide To Wavelets For Economists," Journal of Economic Surveys, Wiley Blackwell, vol. 21(2), pages 207-267, April.
    3. Hassan Farazmand & Amin Mansouri & Morteza Afghah, 2014. "Choosing the best type of wavelet: Case study-business cycle in Iran," Asian Journal of Empirical Research, Asian Economic and Social Society, vol. 4(5), pages 293-314, May.
    4. Kim, Sangbae & In, Francis, 2005. "The relationship between stock returns and inflation: new evidence from wavelet analysis," Journal of Empirical Finance, Elsevier, vol. 12(3), pages 435-444, June.
    5. Habimana, Olivier, 2017. "The multiscale relationship between exchange rates and fundamentals differentials: Empirical evidence from Scandinavia," MPRA Paper 75956, University Library of Munich, Germany.
    6. Patrick Crowley, 2005. "An intuitive guide to wavelets for economists," Econometrics 0503017, University Library of Munich, Germany.
    7. Patrick Crowley, 2005. "An intuitive guide to wavelets for economists," Econometrics 0503017, University Library of Munich, Germany.
    8. Xiaojie Xu, 2018. "Intraday price information flows between the CSI300 and futures market: an application of wavelet analysis," Empirical Economics, Springer, vol. 54(3), pages 1267-1295, May.
    9. Masih, Mansur & Alzahrani, Mohammed & Al-Titi, Omar, 2010. "Systematic risk and time scales: New evidence from an application of wavelet approach to the emerging Gulf stock markets," International Review of Financial Analysis, Elsevier, vol. 19(1), pages 10-18, January.
    10. Avishek BHANDARI, 2017. "Wavelets based multiscale analysis of select global equity returns," Theoretical and Applied Economics, Asociatia Generala a Economistilor din Romania / Editura Economica, vol. 0(4(613), W), pages 75-88, Winter.
    11. Bekiros Stelios & Nguyen Duc Khuong & Uddin Gazi Salah & Sjö Bo, 2015. "Business cycle (de)synchronization in the aftermath of the global financial crisis: implications for the Euro area," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(5), pages 609-624, December.
    12. Marco Gallegati & Meghnad Desai, 2024. "Stagflation and inflationary regimes: Long cycles in historical perspective," Journal of Evolutionary Economics, Springer, vol. 34(4), pages 709-737, December.
    13. Xiaojie Xu, 2018. "Causal structure among US corn futures and regional cash prices in the time and frequency domain," Journal of Applied Statistics, Taylor & Francis Journals, vol. 45(13), pages 2455-2480, October.
    14. Fernandez, Viviana, 2007. "A postcard from the past: The behavior of U.S. stock markets during 1871–1938," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 386(1), pages 267-282.
    15. Spelta, Alessandro & De Giuli, Maria Elena, 2023. "Does renewable energy affect fossil fuel price? A time–frequency analysis for the Europe," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 626(C).
    16. Mundra, Sruti & Bicchal, Motilal, 2024. "Financial cycle comovement with monetary and macroprudential policy and global factors: Evidence from India," The North American Journal of Economics and Finance, Elsevier, vol. 71(C).
    17. Sun, Edward W. & Chen, Yi-Ting & Yu, Min-Teh, 2015. "Generalized optimal wavelet decomposing algorithm for big financial data," International Journal of Production Economics, Elsevier, vol. 165(C), pages 194-214.
    18. Huang, Yuting & Li, Qiang & Liow, Kim Hiang & Zhou, Xiaoxia, 2020. "Is Housing the Business Cycle? A Multiresolution Analysis for OECD Countries," Journal of Housing Economics, Elsevier, vol. 49(C).
    19. repec:zbw:bofrdp:2005_001 is not listed on IDEAS
    20. Gandjon Fankem, Gislain Stéphane & Fouda Mbesa, Lucien Cédric, 2023. "Business cycle synchronization and African monetary union: A wavelet analysis," Journal of Macroeconomics, Elsevier, vol. 77(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:qualqt:v:59:y:2025:i:3:d:10.1007_s11135-024-02000-x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.