Predicting US Recessions: A Dynamic Time Warping Exercise in Economics

41 Pages Posted: 7 Oct 2017

See all articles by Tasneem Raihan

Tasneem Raihan

University of California, Riverside (UCR), College of Humanities, Arts, & Social Sciences, Department of Economics

Date Written: September 10, 2017

Abstract

Dynamic Time Warping (DTW) is a widely used algorithm in speech recognition for measuring similarity between two time series. This non-parametric technique overcomes the problems associated with Pearson's correlation coefficient by allowing a non-linear mapping of one sequence to another obtained through the minimization of the distance between the two. Despite its superiority as a similarity measure, its application in the field of economics is almost non-existent. This paper seeks to fill this gap in the economics literature by providing a self-contained description of the method. In addition, it demonstrates an application of DTW to the prediction of recessions in US using Treasury term spread data. The exercise shows that DTW is successful in predicting the recessions of both 1999 and 2007. The predictions are stronger when asymmetric step-pattern is adopted. Also, compared to other non-parametric methods, DTW raises significantly fewer false signals of recessions. Finally, DTW concludes that given the current state of the economy there is a zero probability of a recession in the next one year.

Keywords: Dynamic Time Warping, similarity measure, non-parametric method, forecasting recession

JEL Classification: C01, C14, C53, E44

Suggested Citation

Raihan, Tasneem, Predicting US Recessions: A Dynamic Time Warping Exercise in Economics (September 10, 2017). Available at SSRN: https://ssrn.com/abstract=3047649 or http://dx.doi.org/10.2139/ssrn.3047649

Tasneem Raihan (Contact Author)

University of California, Riverside (UCR), College of Humanities, Arts, & Social Sciences, Department of Economics ( email )

900 University Avenue
4136 Sproul Hall
Riverside, CA 92521
United States

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
616
Abstract Views
2,081
Rank
93,624
PlumX Metrics