© Kim Berg Hansen 2020
K. Berg HansenPractical Oracle SQLhttps://doi.org/10.1007/978-1-4842-5617-6_15

15. Forecasting with Linear Regression

Kim Berg Hansen1 
(1)
Middelfart, Denmark
 

Some years ago at the retail company I worked at then, our data analyst came up to me. She was working on forecasting how much each of our products would sell in the next 12 months and wanted to know if I could help develop a piece of SQL to do this.

Such forecasting can be done with a multitude of different models, each suitable to different types of data and circumstances. She had experimented with tools and researched and ran tests of the models on selected products and done whatever magic analysts do to make discoveries in our data. In the course of this, she found ...

Get Practical Oracle SQL: Mastering the Full Power of Oracle Database now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.