Functional nonparametric model for time series: a fractal approach for dimension reduction