See Holt-Winters' exponential smoothing method.