SlideShare une entreprise Scribd logo
1  sur  56
Télécharger pour lire hors ligne
Learnings from 	

Forecasting - Principles and Practice
www.otexts.org/fpp
Basic Modeling
Intro & 	

simple theory
Forecasting
Forecast+Model
www.otexts.org/fpp
Code at:	

https://github.com/thiakx/Forecasting_DSSG
Adapted from the Forecasting: Principles and Practice book
Judgmental Forecasts Machine Generated Forecasts
Judgmental Forecasts
The Basics
Judgmental Forecasts - Principles
Set the forecasting task 	

clearly and concisely
Implement a systematic approach:	

-Document and justify	

-Systematically evaluate forecasts
Segregate forecasters and users
Judgmental Forecasts - How to
Delphi Method - 	

Panel of experts
Ask the executives, staff, 	

customers
Use a proxy 	

(similar cases, best / worst case)
Nate Silver
Machine Generated Forecasts
The Basics
The Basics -Time Series Decomposition
12 month	

seasonal	

trend
The Basics - Seasonality
The Basics - Seasonality +Trend
The Basics - Remainder / Random Error
The Basics - Seasonal sub-series plot
The Basics
The Basics -Time Series Decomposition
then re-seasonalize with thisTrain model with this
The Basics -Time Series Decomposition
then re-seasonalize with thisTrain model with this
The Basics -Time Series Decomposition
95% confidence
80% confidence
then re-seasonalize with thisTrain model with this
The Basics -Time Series Decomposition
then re-seasonalize with thisTrain model with this
Seasonal andTrend decomposition using Loess (STL) code
Córdoba
Using seasonal-trend decomposition based on loess (STL) to	

explore temporal patterns of pneumonic lesions in finishing	

pigs slaughtered in England, 2005–2011
Córdoba
Using seasonal-trend decomposition based on loess (STL) to	

explore temporal patterns of pneumonic lesions in finishing	

pigs slaughtered in England, 2005–2011
STL is suitable as the overall trend fluctuates a fair bit
Machine Generated Forecasts
Time Series Forecasting:	

Exponential smoothing
Time Series Forecasts - Holts-Winters
Time Series Forecasts - Exponential Smoothing
Time Series Forecasts - Exponential Smoothing
More relevantLess relevant
Something to represent fall in relevance?
Time Series Forecasts - Exponential Smoothing
Smoothing Parameter α = 0.8
0.8
0.16
0.032
0.064
T1
T2
T3
T4
T1-T4
Time Series Forecasts - Exponential Smoothing
T1-T4
Smoothing Parameter α = decided by minimizing error rate
Time Series Forecasts - Damping
Undamped projection
Damped projection
Time Series Forecasts - Additive vs Multiplicative
The additive method is
preferred when the
seasonal variations are
roughly constant
through the series,
while the multiplicative
method is preferred
when the seasonal
variations are changing
proportional to the
level of the series.
Time Series Forecasts - Holts-Winters
Link to: Usage of Modified Holt-Winters Method in the 	

Anomaly Detection of NetworkTraffic: Case Studies
Link to: Usage of Modified Holt-Winters Method in the 	

Anomaly Detection of NetworkTraffic: Case Studies
Holt-Winter is suitable as the most recent behavior that deviates from
norm is worth a lot more than past behavior
Machine Generated Forecasts
Time Series Forecasting:	

ARIMA Models	

(AutoRegressive Integrated Moving Average)
Time Series Forecasts - ARIMA with Drift
ARIMA(3,1,1)(0,1,1)[12] with drift
Time Series Forecasts - ARIMA with Drift
ARIMA(3,1,1)(0,1,1)[12] with drift
Allow forecasts to
change over time
Number of periods	

per season.
}
}
Non-	

Seasonal	

Part
Seasonal	

Part
Time Series Forecasts - ARIMA with Drift
ARIMA(3,1,1)(0,1,1)[12] with drift
Allow forecasts to
change over time
Number of periods	

per season.
p = order of the autoregressive part;	

d = degree of first differencing involved;	

q = order of the moving average part.
}
}
Non-	

Seasonal	

Part
Seasonal	

Part
}
(p,d,q)
}
(p,d,q)
Time Series Forecasts - Auto Regression
In a multiple regression model, we forecast the variable of interest
using a linear combination of predictors. 	

!
vs	

!
In an autoregression model, we forecast the variable of interest using
a linear combination of past values of the variable 	

(regression of the variable against itself)
Time Series Forecasts - Auto Regression
In a multiple regression model, we forecast the variable of interest
using a linear combination of predictors. 	

!
vs	

!
In an autoregression model, we forecast the variable of interest using
a linear combination of past values of the variable 	

(regression of the variable against itself)
Order = no. of past values
Time Series Forecasts - Differencing
What we doing in (b) is differencing by computing the differences
between consecutive observations. 	

The goal is to eliminate trend and seasonality.
(a) Dow Jones index (b) Daily change in Dow Jones index
Time Series Forecasts - Differencing
What we doing in (b) is differencing by computing the differences
between consecutive observations. 	

(a) Dow Jones index (b) Daily change in Dow Jones index
Order = no. of difference needed
Time Series Forecasts - Moving Average
Rather than use past values of the forecast variable in a regression, a
moving average model uses past forecast errors in a regression-like
model (a weighted moving average of the past few forecast errors).
Time Series Forecasts - Moving Average
Rather than use past values of the forecast variable in a regression, a
moving average model uses past forecast errors in a regression-like
model (a weighted moving average of the past few forecast errors).
Order = no. of past values
Time Series Forecasts - ARIMA with Drift
ARIMA(3,1,1)(0,1,1)[12] with drift
Link to Seasonal ARIMA for
Forecasting Air Pollution Index:
A Case Study (Johor Malaysia)
Link to Seasonal ARIMA for
Forecasting Air Pollution Index:
A Case Study (Johor Malaysia)
ARIMA is one of the most popular time series forecasting methods. 	

It is very flexible and can handle complex scenarios
Time Series Forecasts - Comparison of Accuracy
Time Series Forecasts - Comparison of Accuracy
Kudos to the awesome designers on thenounproject.com
Folder by Christina W
Checklist by João Marcelo Ribeiro
Fence by José Hernandez
Robot by Simon Child
Conference by Wilson Joseph
Meeting by Olivier Guin
Employee Evaluation by Miroslav Koša
People by iconoci
STL
ARIMA
Holt-Winters

Contenu connexe

Tendances

Rational Sub-Grouping
Rational Sub-GroupingRational Sub-Grouping
Rational Sub-GroupingMatt Hansen
 
Forecasting & time series data
Forecasting & time series dataForecasting & time series data
Forecasting & time series dataJane Karla
 
MSA – Attribute ARR Test
MSA – Attribute ARR TestMSA – Attribute ARR Test
MSA – Attribute ARR TestMatt Hansen
 
Exponential smoothing
Exponential smoothingExponential smoothing
Exponential smoothingJairo Moreno
 
Automatic algorithms for time series forecasting
Automatic algorithms for time series forecastingAutomatic algorithms for time series forecasting
Automatic algorithms for time series forecastingRob Hyndman
 
MSA – Gage R&R Test
MSA – Gage R&R TestMSA – Gage R&R Test
MSA – Gage R&R TestMatt Hansen
 
Identify Root Causes – Building the DCP
Identify Root Causes – Building the DCPIdentify Root Causes – Building the DCP
Identify Root Causes – Building the DCPMatt Hansen
 
MSA – Improving the Measurement System
MSA – Improving the Measurement SystemMSA – Improving the Measurement System
MSA – Improving the Measurement SystemMatt Hansen
 
Quantitative methods of demand forecasting
Quantitative methods of demand forecastingQuantitative methods of demand forecasting
Quantitative methods of demand forecastinganithagrahalakshmi
 
ForecastIT 3. Simple Exponential Smoothing
ForecastIT 3. Simple Exponential SmoothingForecastIT 3. Simple Exponential Smoothing
ForecastIT 3. Simple Exponential SmoothingDeepThought, Inc.
 
2b. forecasting linear trend
2b. forecasting   linear trend2b. forecasting   linear trend
2b. forecasting linear trendSudipta Saha
 
Variation Over Time (Short/Long Term Data)
Variation Over Time (Short/Long Term Data)Variation Over Time (Short/Long Term Data)
Variation Over Time (Short/Long Term Data)Matt Hansen
 
Calculating a Sample Size
Calculating a Sample SizeCalculating a Sample Size
Calculating a Sample SizeMatt Hansen
 
Time Series Analysis: Theory and Practice
Time Series Analysis: Theory and PracticeTime Series Analysis: Theory and Practice
Time Series Analysis: Theory and PracticeTetiana Ivanova
 
ForecastIT 5. Winters' Exponential Smoothing
ForecastIT 5. Winters' Exponential SmoothingForecastIT 5. Winters' Exponential Smoothing
ForecastIT 5. Winters' Exponential SmoothingDeepThought, Inc.
 

Tendances (20)

Rational Sub-Grouping
Rational Sub-GroupingRational Sub-Grouping
Rational Sub-Grouping
 
Forecasting & time series data
Forecasting & time series dataForecasting & time series data
Forecasting & time series data
 
Forecasting
ForecastingForecasting
Forecasting
 
MSA – Attribute ARR Test
MSA – Attribute ARR TestMSA – Attribute ARR Test
MSA – Attribute ARR Test
 
Exponential smoothing
Exponential smoothingExponential smoothing
Exponential smoothing
 
Chap003 Forecasting
Chap003    ForecastingChap003    Forecasting
Chap003 Forecasting
 
Automatic algorithms for time series forecasting
Automatic algorithms for time series forecastingAutomatic algorithms for time series forecasting
Automatic algorithms for time series forecasting
 
FORECASTING MODELS
FORECASTING MODELSFORECASTING MODELS
FORECASTING MODELS
 
MSA – Gage R&R Test
MSA – Gage R&R TestMSA – Gage R&R Test
MSA – Gage R&R Test
 
Demand forecasting
Demand forecastingDemand forecasting
Demand forecasting
 
Identify Root Causes – Building the DCP
Identify Root Causes – Building the DCPIdentify Root Causes – Building the DCP
Identify Root Causes – Building the DCP
 
MSA – Improving the Measurement System
MSA – Improving the Measurement SystemMSA – Improving the Measurement System
MSA – Improving the Measurement System
 
Quantitative methods of demand forecasting
Quantitative methods of demand forecastingQuantitative methods of demand forecasting
Quantitative methods of demand forecasting
 
ForecastIT 3. Simple Exponential Smoothing
ForecastIT 3. Simple Exponential SmoothingForecastIT 3. Simple Exponential Smoothing
ForecastIT 3. Simple Exponential Smoothing
 
2b. forecasting linear trend
2b. forecasting   linear trend2b. forecasting   linear trend
2b. forecasting linear trend
 
Variation Over Time (Short/Long Term Data)
Variation Over Time (Short/Long Term Data)Variation Over Time (Short/Long Term Data)
Variation Over Time (Short/Long Term Data)
 
Calculating a Sample Size
Calculating a Sample SizeCalculating a Sample Size
Calculating a Sample Size
 
Time Series Analysis: Theory and Practice
Time Series Analysis: Theory and PracticeTime Series Analysis: Theory and Practice
Time Series Analysis: Theory and Practice
 
Shewhart
ShewhartShewhart
Shewhart
 
ForecastIT 5. Winters' Exponential Smoothing
ForecastIT 5. Winters' Exponential SmoothingForecastIT 5. Winters' Exponential Smoothing
ForecastIT 5. Winters' Exponential Smoothing
 

En vedette

PyDataDC- Forecasting critical food violations at restaurants using open data
PyDataDC- Forecasting critical food violations at restaurants using open dataPyDataDC- Forecasting critical food violations at restaurants using open data
PyDataDC- Forecasting critical food violations at restaurants using open dataNicole A. Donnelly, CMCP
 
Deductor Implementation Results
Deductor Implementation ResultsDeductor Implementation Results
Deductor Implementation ResultsKadimov Mansur
 
Shahid Lecture-9- MKAG1273
Shahid Lecture-9- MKAG1273Shahid Lecture-9- MKAG1273
Shahid Lecture-9- MKAG1273nchakori
 
Relat%c3%b3rio%20 final%20fgv%20sp
Relat%c3%b3rio%20 final%20fgv%20spRelat%c3%b3rio%20 final%20fgv%20sp
Relat%c3%b3rio%20 final%20fgv%20sparnaldoromera
 
BIM_2010_20_Bioinformatics_Project
BIM_2010_20_Bioinformatics_ProjectBIM_2010_20_Bioinformatics_Project
BIM_2010_20_Bioinformatics_ProjectSagar Nikam
 
ForecastIT 4. Holt's Exponential Smoothing
ForecastIT 4. Holt's Exponential SmoothingForecastIT 4. Holt's Exponential Smoothing
ForecastIT 4. Holt's Exponential SmoothingDeepThought, Inc.
 
Business forecasting decomposition & exponential smoothing - bhawani nandan...
Business forecasting   decomposition & exponential smoothing - bhawani nandan...Business forecasting   decomposition & exponential smoothing - bhawani nandan...
Business forecasting decomposition & exponential smoothing - bhawani nandan...Bhawani N Prasad
 
Moving Average
Moving AverageMoving Average
Moving Averageelboone
 
Time series Analysis & fpp package
Time series Analysis & fpp packageTime series Analysis & fpp package
Time series Analysis & fpp packageDr. Fiona McGroarty
 
Trend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho dsTrend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho dsKiran Hanjar
 
Scipy 2011 Time Series Analysis in Python
Scipy 2011 Time Series Analysis in PythonScipy 2011 Time Series Analysis in Python
Scipy 2011 Time Series Analysis in PythonWes McKinney
 
Forecasting-Exponential Smoothing
Forecasting-Exponential SmoothingForecasting-Exponential Smoothing
Forecasting-Exponential Smoothingiceu novida adinata
 
Time series analysis
Time series analysisTime series analysis
Time series analysisFaltu Focat
 
A General Framework for Enhancing Prediction Performance on Time Series Data
A General Framework for Enhancing Prediction Performance on Time Series DataA General Framework for Enhancing Prediction Performance on Time Series Data
A General Framework for Enhancing Prediction Performance on Time Series DataHopeBay Technologies, Inc.
 
Classical decomposition
Classical decompositionClassical decomposition
Classical decompositionAzzuriey Ahmad
 
Chapter 16
Chapter 16Chapter 16
Chapter 16bmcfad01
 

En vedette (20)

forecast
forecastforecast
forecast
 
PyDataDC- Forecasting critical food violations at restaurants using open data
PyDataDC- Forecasting critical food violations at restaurants using open dataPyDataDC- Forecasting critical food violations at restaurants using open data
PyDataDC- Forecasting critical food violations at restaurants using open data
 
Deductor Implementation Results
Deductor Implementation ResultsDeductor Implementation Results
Deductor Implementation Results
 
Shahid Lecture-9- MKAG1273
Shahid Lecture-9- MKAG1273Shahid Lecture-9- MKAG1273
Shahid Lecture-9- MKAG1273
 
ForecastIT 7. Decomposition
ForecastIT 7. DecompositionForecastIT 7. Decomposition
ForecastIT 7. Decomposition
 
Relat%c3%b3rio%20 final%20fgv%20sp
Relat%c3%b3rio%20 final%20fgv%20spRelat%c3%b3rio%20 final%20fgv%20sp
Relat%c3%b3rio%20 final%20fgv%20sp
 
BIM_2010_20_Bioinformatics_Project
BIM_2010_20_Bioinformatics_ProjectBIM_2010_20_Bioinformatics_Project
BIM_2010_20_Bioinformatics_Project
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
ForecastIT 4. Holt's Exponential Smoothing
ForecastIT 4. Holt's Exponential SmoothingForecastIT 4. Holt's Exponential Smoothing
ForecastIT 4. Holt's Exponential Smoothing
 
Business forecasting decomposition & exponential smoothing - bhawani nandan...
Business forecasting   decomposition & exponential smoothing - bhawani nandan...Business forecasting   decomposition & exponential smoothing - bhawani nandan...
Business forecasting decomposition & exponential smoothing - bhawani nandan...
 
Moving Average
Moving AverageMoving Average
Moving Average
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
Time series Analysis & fpp package
Time series Analysis & fpp packageTime series Analysis & fpp package
Time series Analysis & fpp package
 
Trend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho dsTrend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho ds
 
Scipy 2011 Time Series Analysis in Python
Scipy 2011 Time Series Analysis in PythonScipy 2011 Time Series Analysis in Python
Scipy 2011 Time Series Analysis in Python
 
Forecasting-Exponential Smoothing
Forecasting-Exponential SmoothingForecasting-Exponential Smoothing
Forecasting-Exponential Smoothing
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
A General Framework for Enhancing Prediction Performance on Time Series Data
A General Framework for Enhancing Prediction Performance on Time Series DataA General Framework for Enhancing Prediction Performance on Time Series Data
A General Framework for Enhancing Prediction Performance on Time Series Data
 
Classical decomposition
Classical decompositionClassical decomposition
Classical decomposition
 
Chapter 16
Chapter 16Chapter 16
Chapter 16
 

Similaire à Forecasting Techniques - Data Science SG

Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsAjay Ohri
 
Forecasting Models & Their Applications
Forecasting Models & Their ApplicationsForecasting Models & Their Applications
Forecasting Models & Their ApplicationsMahmudul Hasan
 
Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model AkarshAvinash
 
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...Simplilearn
 
Ecm time series forecast
Ecm time series forecastEcm time series forecast
Ecm time series forecastAyapparaj SKS
 
Different Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLDifferent Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLVijaySharma802
 
Auto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADBAuto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADBDatabricks
 
Service Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen DemandService Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen Demandirrosennen
 
Forecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxForecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxMOINDALVS
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniquesguest865c0e0c
 
ADaM datasets for graphs (paper)
ADaM datasets for graphs (paper)ADaM datasets for graphs (paper)
ADaM datasets for graphs (paper)Kevin Lee
 
timeseries cheat sheet with example code for R
timeseries cheat sheet with example code for Rtimeseries cheat sheet with example code for R
timeseries cheat sheet with example code for Rderekjohnson549253
 
Time Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and AzureTime Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and AzureMarco Parenzan
 
Product Design Forecasting Techniquesision.ppt
Product Design Forecasting Techniquesision.pptProduct Design Forecasting Techniquesision.ppt
Product Design Forecasting Techniquesision.pptavidc1000
 

Similaire à Forecasting Techniques - Data Science SG (20)

Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of Forecasts
 
Forecasting Models & Their Applications
Forecasting Models & Their ApplicationsForecasting Models & Their Applications
Forecasting Models & Their Applications
 
Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model
 
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
 
Ecm time series forecast
Ecm time series forecastEcm time series forecast
Ecm time series forecast
 
Different Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLDifferent Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIML
 
Forecasting
ForecastingForecasting
Forecasting
 
Auto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADBAuto-Train a Time-Series Forecast Model With AML + ADB
Auto-Train a Time-Series Forecast Model With AML + ADB
 
Service Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen DemandService Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen Demand
 
Time series
Time seriesTime series
Time series
 
Forecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxForecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptx
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
 
2a. forecasting
2a. forecasting2a. forecasting
2a. forecasting
 
ADaM datasets for graphs (paper)
ADaM datasets for graphs (paper)ADaM datasets for graphs (paper)
ADaM datasets for graphs (paper)
 
timeseries cheat sheet with example code for R
timeseries cheat sheet with example code for Rtimeseries cheat sheet with example code for R
timeseries cheat sheet with example code for R
 
Time series deep learning
Time series   deep learningTime series   deep learning
Time series deep learning
 
ARIMA.pptx
ARIMA.pptxARIMA.pptx
ARIMA.pptx
 
Time Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and AzureTime Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and Azure
 
Product Design Forecasting Techniquesision.ppt
Product Design Forecasting Techniquesision.pptProduct Design Forecasting Techniquesision.ppt
Product Design Forecasting Techniquesision.ppt
 

Dernier

+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...Health
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...kumargunjan9515
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1ranjankumarbehera14
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样wsppdmt
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdfkhraisr
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...gajnagarg
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...gajnagarg
 
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...HyderabadDolls
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubaikojalkojal131
 
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...HyderabadDolls
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowgargpaaro
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.pptibrahimabdi22
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...gajnagarg
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...HyderabadDolls
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareGraham Ware
 

Dernier (20)

+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...
Charbagh + Female Escorts Service in Lucknow | Starting ₹,5K To @25k with A/C...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 

Forecasting Techniques - Data Science SG

  • 1. Learnings from Forecasting - Principles and Practice
  • 3. Basic Modeling Intro & simple theory Forecasting Forecast+Model www.otexts.org/fpp
  • 4. Code at: https://github.com/thiakx/Forecasting_DSSG Adapted from the Forecasting: Principles and Practice book
  • 5.
  • 6. Judgmental Forecasts Machine Generated Forecasts
  • 8. Judgmental Forecasts - Principles Set the forecasting task clearly and concisely Implement a systematic approach: -Document and justify -Systematically evaluate forecasts Segregate forecasters and users
  • 9. Judgmental Forecasts - How to Delphi Method - Panel of experts Ask the executives, staff, customers Use a proxy (similar cases, best / worst case)
  • 10.
  • 12.
  • 13.
  • 14.
  • 16. The Basics -Time Series Decomposition
  • 18. The Basics - Seasonality +Trend
  • 19. The Basics - Remainder / Random Error
  • 20. The Basics - Seasonal sub-series plot
  • 22. The Basics -Time Series Decomposition then re-seasonalize with thisTrain model with this
  • 23. The Basics -Time Series Decomposition then re-seasonalize with thisTrain model with this
  • 24. The Basics -Time Series Decomposition 95% confidence 80% confidence then re-seasonalize with thisTrain model with this
  • 25. The Basics -Time Series Decomposition then re-seasonalize with thisTrain model with this
  • 26. Seasonal andTrend decomposition using Loess (STL) code
  • 27. Córdoba Using seasonal-trend decomposition based on loess (STL) to explore temporal patterns of pneumonic lesions in finishing pigs slaughtered in England, 2005–2011
  • 28. Córdoba Using seasonal-trend decomposition based on loess (STL) to explore temporal patterns of pneumonic lesions in finishing pigs slaughtered in England, 2005–2011 STL is suitable as the overall trend fluctuates a fair bit
  • 29. Machine Generated Forecasts Time Series Forecasting: Exponential smoothing
  • 30. Time Series Forecasts - Holts-Winters
  • 31. Time Series Forecasts - Exponential Smoothing
  • 32. Time Series Forecasts - Exponential Smoothing More relevantLess relevant Something to represent fall in relevance?
  • 33. Time Series Forecasts - Exponential Smoothing Smoothing Parameter α = 0.8 0.8 0.16 0.032 0.064 T1 T2 T3 T4 T1-T4
  • 34. Time Series Forecasts - Exponential Smoothing T1-T4 Smoothing Parameter α = decided by minimizing error rate
  • 35. Time Series Forecasts - Damping Undamped projection Damped projection
  • 36. Time Series Forecasts - Additive vs Multiplicative The additive method is preferred when the seasonal variations are roughly constant through the series, while the multiplicative method is preferred when the seasonal variations are changing proportional to the level of the series.
  • 37. Time Series Forecasts - Holts-Winters
  • 38. Link to: Usage of Modified Holt-Winters Method in the Anomaly Detection of NetworkTraffic: Case Studies
  • 39. Link to: Usage of Modified Holt-Winters Method in the Anomaly Detection of NetworkTraffic: Case Studies Holt-Winter is suitable as the most recent behavior that deviates from norm is worth a lot more than past behavior
  • 40. Machine Generated Forecasts Time Series Forecasting: ARIMA Models (AutoRegressive Integrated Moving Average)
  • 41. Time Series Forecasts - ARIMA with Drift ARIMA(3,1,1)(0,1,1)[12] with drift
  • 42. Time Series Forecasts - ARIMA with Drift ARIMA(3,1,1)(0,1,1)[12] with drift Allow forecasts to change over time Number of periods per season. } } Non- Seasonal Part Seasonal Part
  • 43. Time Series Forecasts - ARIMA with Drift ARIMA(3,1,1)(0,1,1)[12] with drift Allow forecasts to change over time Number of periods per season. p = order of the autoregressive part; d = degree of first differencing involved; q = order of the moving average part. } } Non- Seasonal Part Seasonal Part } (p,d,q) } (p,d,q)
  • 44. Time Series Forecasts - Auto Regression In a multiple regression model, we forecast the variable of interest using a linear combination of predictors. ! vs ! In an autoregression model, we forecast the variable of interest using a linear combination of past values of the variable (regression of the variable against itself)
  • 45. Time Series Forecasts - Auto Regression In a multiple regression model, we forecast the variable of interest using a linear combination of predictors. ! vs ! In an autoregression model, we forecast the variable of interest using a linear combination of past values of the variable (regression of the variable against itself) Order = no. of past values
  • 46. Time Series Forecasts - Differencing What we doing in (b) is differencing by computing the differences between consecutive observations. The goal is to eliminate trend and seasonality. (a) Dow Jones index (b) Daily change in Dow Jones index
  • 47. Time Series Forecasts - Differencing What we doing in (b) is differencing by computing the differences between consecutive observations. (a) Dow Jones index (b) Daily change in Dow Jones index Order = no. of difference needed
  • 48. Time Series Forecasts - Moving Average Rather than use past values of the forecast variable in a regression, a moving average model uses past forecast errors in a regression-like model (a weighted moving average of the past few forecast errors).
  • 49. Time Series Forecasts - Moving Average Rather than use past values of the forecast variable in a regression, a moving average model uses past forecast errors in a regression-like model (a weighted moving average of the past few forecast errors). Order = no. of past values
  • 50. Time Series Forecasts - ARIMA with Drift ARIMA(3,1,1)(0,1,1)[12] with drift
  • 51. Link to Seasonal ARIMA for Forecasting Air Pollution Index: A Case Study (Johor Malaysia)
  • 52. Link to Seasonal ARIMA for Forecasting Air Pollution Index: A Case Study (Johor Malaysia) ARIMA is one of the most popular time series forecasting methods. It is very flexible and can handle complex scenarios
  • 53. Time Series Forecasts - Comparison of Accuracy
  • 54. Time Series Forecasts - Comparison of Accuracy
  • 55.
  • 56. Kudos to the awesome designers on thenounproject.com Folder by Christina W Checklist by João Marcelo Ribeiro Fence by José Hernandez Robot by Simon Child Conference by Wilson Joseph Meeting by Olivier Guin Employee Evaluation by Miroslav Koša People by iconoci STL ARIMA Holt-Winters