Abstract
Some years ago a data analyst was working on forecasting how much each of the companys products would sell in the next 12 months, using an Excel spreadsheet to implement one specific version of a time series forecasting model with seasonal adjustment and exponential smoothing. Using a spreadsheet worked nicely for a single product but not for doing sales forecasting of a hundred thousand products. This chapter implements the same time series model in SQL for efficient mass forecasting.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Kim Berg Hansen
About this chapter
Cite this chapter
Berg Hansen, K. (2020). Forecasting with Linear Regression. In: Practical Oracle SQL. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5617-6_15
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5617-6_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5616-9
Online ISBN: 978-1-4842-5617-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books