Selection of a linear interpolator for time series