A simple nonlinear filter for economic time series analysis