Data-driven local polynomial for the trend and its derivatives in economic time series
Y. Feng, T. Gries, M. Fritz, Journal of Nonparametric Statistics (2020) 510–533.