Abstract
This chapter provides an introduction to time series and foundational algorithms related to and for forecasting. We adopt a pragmatic, first-order approach aimed at capturing the dominant attributes of the time series useful for prediction. Two forecasting methods are developed: Holt-Winters exponential forecasting and linear regression with time-varying coefficients. The first two tutorials, using complaints received by the U.S. Consumer Financial Protection Bureau, instruct the reader on processing data with time attributes and computing autocorrelation coefficients. The following tutorials guide the reader through forecasting using economic and stock price series.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Chapter 12 discusses computational aspects of processing streaming data.
- 2.
We used these data in Sect. 6.5
- 3.
Exercise 9.5 of Chap. 9 asked the reader to program a moving average.
- 4.
This is an example of a time series with time steps of distinctly different lengths.
- 5.
As would be done if the data were arriving in a stream.
- 6.
We’ll do just this in the Chap. 12.
- 7.
The Python function with the same purpose is named type.
- 8.
It’s not necessary to stagger the data because the data set has been constructed from staggered data pairs.
- 9.
This statement is mathematically vague—the influence of recent errors on the determination of \(\widehat{\boldsymbol{\beta }}_{n}^{{\ast}}\) depends on α.
References
A.C. Harvey, Forecasting, Structural Time Series and the Kalman Filter (Cambridge University Press, Cambridge, 1989)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Steele, B., Chandler, J., Reddy, S. (2016). Forecasting. In: Algorithms for Data Science. Springer, Cham. https://doi.org/10.1007/978-3-319-45797-0_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-45797-0_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-45795-6
Online ISBN: 978-3-319-45797-0
eBook Packages: Computer ScienceComputer Science (R0)