SlideShare a Scribd company logo
1 of 10
BUSINESS ANALYTICS FOUNDATION WITH R
TOOLS
Lesson 4 - Predictive Modeling Techniques
Copyright 2016,Beamsync, All rights reserved.
• Box-Jenkins forecasting models are based on statistical concepts and principles and are able to
model a wide spectrum of time series behavior.
• The Box-Jenkins ARMA model is a combination of the AR and MA models
• The Box-Jenkins model assumes that the time series is stationary.
• Box and Jenkins recommend differencing non-stationary series one or more times to achieve stationarity.
Doing so produces an ARIMA model, with the "I" standing for "Integrated".
• Some formulations transform the series by subtracting the mean of the series from each data point.
This yields a series with a mean of zero.
• The models can be extended to include seasonal autoregressive and seasonal moving average terms.
Although this complicates the notation, the terms are similar to the non-seasonal autoregressive and moving
average terms.
• The most general Box-Jenkins model - difference operators, autoregressive terms, moving average terms, seasonal
difference operators, seasonal autoregressive terms, and seasonal moving average terms.
BOX-JENKINS MODEL
Copyright 2016,Beamsync, All rights reserved.
• Three primary stages in building a Box-Jenkins time series model:
• Model Identification
• Model Estimation
• Model Validation
• Box-Jenkins models are quite flexible due to the inclusion of both autoregressive and moving
average terms.
• Based on the Wold decomposition theorem, a stationary process can be approximated by an ARMA
model. In practice, finding that approximation may not be easy.
• Building good ARIMA models generally requires more experience than commonly used statistical
methods such as regression.
BOX –JENKINS (CONTD.)
Copyright 2016,Beamsync, All rights reserved.
• The autoregressive (AR) process models the conditional mean of Yt as a function of past
observations of Y.
• An AR process that depends on p past observations is called an AR model of degree p, denoted by
AR(p).
• AR model can be given by:
Yt = α0 + β1Yt-1 + β2Yt-2 +… + βpYt-p +et
where, et is a series of whitenoise,
α0, β1,β2, …,βp arecoefficients.
• ACF decays down to zero as lag increases.
• PACF is non zero till k=p.
• For k>p, PACF = 0.
AUTO-REGRESSIVE (AR) MODELS
Copyright 2016,Beamsync, All rights reserved.
MOVING AVERAGE (MA) MODELS
• The moving average (MA) model captures serial autocorrelation in a time series Yt by expressing the
conditional mean of Yt as a function of pastinnovations.
• An MA model that depends on q past innovations is called an MA model of degree q, denoted by MA(q).
• MA model can be given by:
Yt = et + γ1et-1 + γ2et-2 +…+ γpet-p where, et
is a series of white noise ,
γ1 ,γ2 , … ,γp are coefficients.
• In reality et is not observed, so we estimate these by Zt, where Zt YtYt
• So the MA(q) model boils down to: Yt = et + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q
• ACF is non-zero till k = q.
• For k > q, ACF iszero.
• PACF decays down to zero as lag increases.
Copyright 2016,Beamsync, All rights reserved.
• ARMA models are used in forecasting stationary models (whose mean and variance remain constant
through time, i.e., no trend effect).
• For some observed time series, a very high-order AR or MA model is needed to model the
underlying process well. In this case, a combined autoregressive moving average (ARMA) model can
sometimes be a more parsimonious choice.
• An ARMA model expresses the conditional mean of Yt as a function of both past observations, and
past innovations.
• An ARMA(p,q) model is given by:
Yt = α0 + β1Yt-1 + β2Yt-2 + … +βpYt-p + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q + et
where, p denotes AR order
q denotes MA order.
ARMA
Copyright 2016,Beamsync, All rights reserved.
• AutoRegressive Integrated Moving Average models are a general class of models for forecasting
time series of non stationary models that can be converted to stationary models using logging or
differentiating.
• The models include an explicit statistical model for the irregular component of a time series, that
allows for non-zero autocorrelations in the irregular component.
• Therefore, if you start off with a non-stationary time series, you will first need to ‘difference’ the
time series until you obtain a stationary time series.
• Todifference the time series d times to obtain a stationary series, then there is an ARIMA(p,d,q)
model, where d is the order of differencing used.
• Todifference a time series using R use the “diff()” function.
ARIMA
Copyright 2016,Beamsync, All rights reserved.
ARIMA (CONTD.)
• Suppose we consider the Yt series which are known to be non-stationary. For Yt we calculate Wt as
below:
Wt = Yt+1 – Yt = Δ1 Yt
where, Wt is known as first order difference of Yt.
Now, if we say Wt follow ARMA(p,q) then we say Yt follow ARIMA(p,1,q).
In general if we say Yt follws ARIMA of order p,d,q, then
Wt = α0 + β1Wt-1 + β2Wt-2 +… + βpWt-p + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q +et
Wt = Δd Yt and Zt  Wt Wt
• Second order difference is given by:
Wt = Δ2 Yt = Δ1 Yt+1 – Δ1 Yt = (Yt+2-Yt+1) – (Yt+1-Yt)
Copyright 2016,Beamsync, All rights reserved.
FORECASTING METHODS – SUMMARIZED TABLE
levels trend seasonality
Exponential
Smoothing
X X
Holt’s X
HoltWinters
ARIMA
Copyright 2016,Beamsync, All rights reserved.
Thank You
Beamsync is one of the top institutes from Bangalore, and if you are looking
for business analytics training in Bangalore, consult Beamsync. You will get
certification along with training courses. For more details click here:
http://beamsync.com/business-analytics-training-bangalore/
Copyright 2016,Beamsync, All rights reserved.

More Related Content

What's hot

A non-interpolating semi-Lagrangian scheme for the continuity equation of the...
A non-interpolating semi-Lagrangian scheme for the continuity equation of the...A non-interpolating semi-Lagrangian scheme for the continuity equation of the...
A non-interpolating semi-Lagrangian scheme for the continuity equation of the...Tomás Morales
 
Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...AmiSakakibara
 
Optimal Control System Design
Optimal Control System DesignOptimal Control System Design
Optimal Control System DesignM Reza Rahmati
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Niharika Varshney
 
弱値の半古典論
弱値の半古典論弱値の半古典論
弱値の半古典論tanaka-atushi
 
Application of differentiation
Application   of   differentiationApplication   of   differentiation
Application of differentiationDhanush Kumar
 
11.[1 11]a seasonal arima model for nigerian gross domestic product
11.[1 11]a seasonal arima model for nigerian gross domestic product11.[1 11]a seasonal arima model for nigerian gross domestic product
11.[1 11]a seasonal arima model for nigerian gross domestic productAlexander Decker
 
11.a seasonal arima model for nigerian gross domestic product
11.a seasonal arima model for nigerian gross domestic product11.a seasonal arima model for nigerian gross domestic product
11.a seasonal arima model for nigerian gross domestic productAlexander Decker
 

What's hot (10)

A non-interpolating semi-Lagrangian scheme for the continuity equation of the...
A non-interpolating semi-Lagrangian scheme for the continuity equation of the...A non-interpolating semi-Lagrangian scheme for the continuity equation of the...
A non-interpolating semi-Lagrangian scheme for the continuity equation of the...
 
Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...Supervisory control of discrete event systems for linear temporal logic speci...
Supervisory control of discrete event systems for linear temporal logic speci...
 
Optimal Control System Design
Optimal Control System DesignOptimal Control System Design
Optimal Control System Design
 
Lect6 csp
Lect6 cspLect6 csp
Lect6 csp
 
CaseBreach
CaseBreachCaseBreach
CaseBreach
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
 
弱値の半古典論
弱値の半古典論弱値の半古典論
弱値の半古典論
 
Application of differentiation
Application   of   differentiationApplication   of   differentiation
Application of differentiation
 
11.[1 11]a seasonal arima model for nigerian gross domestic product
11.[1 11]a seasonal arima model for nigerian gross domestic product11.[1 11]a seasonal arima model for nigerian gross domestic product
11.[1 11]a seasonal arima model for nigerian gross domestic product
 
11.a seasonal arima model for nigerian gross domestic product
11.a seasonal arima model for nigerian gross domestic product11.a seasonal arima model for nigerian gross domestic product
11.a seasonal arima model for nigerian gross domestic product
 

Viewers also liked

10 inspirational quotes for office
10 inspirational quotes for office 10 inspirational quotes for office
10 inspirational quotes for office Purvi Jain
 
henok updated resume 2016
henok updated resume 2016henok updated resume 2016
henok updated resume 2016Henok Workayehu
 
Las macropolíticas para la integración de las tic
Las macropolíticas para la integración de las ticLas macropolíticas para la integración de las tic
Las macropolíticas para la integración de las ticsamanthabl25
 
Presentación del Programa Sembrando Oportunidades de la STP a cargo de Eunic...
Presentación del Programa Sembrando Oportunidades de la STP a cargo de  Eunic...Presentación del Programa Sembrando Oportunidades de la STP a cargo de  Eunic...
Presentación del Programa Sembrando Oportunidades de la STP a cargo de Eunic...Gobierno Abierto Paraguay
 

Viewers also liked (8)

ROSCOspread (1)
ROSCOspread (1)ROSCOspread (1)
ROSCOspread (1)
 
UPDATED RESUME 3-8-2016
UPDATED RESUME 3-8-2016UPDATED RESUME 3-8-2016
UPDATED RESUME 3-8-2016
 
10 inspirational quotes for office
10 inspirational quotes for office 10 inspirational quotes for office
10 inspirational quotes for office
 
henok updated resume 2016
henok updated resume 2016henok updated resume 2016
henok updated resume 2016
 
English ppt
English ppt English ppt
English ppt
 
Las macropolíticas para la integración de las tic
Las macropolíticas para la integración de las ticLas macropolíticas para la integración de las tic
Las macropolíticas para la integración de las tic
 
Presentación del Programa Sembrando Oportunidades de la STP a cargo de Eunic...
Presentación del Programa Sembrando Oportunidades de la STP a cargo de  Eunic...Presentación del Programa Sembrando Oportunidades de la STP a cargo de  Eunic...
Presentación del Programa Sembrando Oportunidades de la STP a cargo de Eunic...
 
TRABAJO EN EQUIPO
TRABAJO EN EQUIPO TRABAJO EN EQUIPO
TRABAJO EN EQUIPO
 

Similar to Business Analytics Foundation with R tool - Part 5

Similar to Business Analytics Foundation with R tool - Part 5 (20)

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
 
Arima model (time series)
Arima model (time series)Arima model (time series)
Arima model (time series)
 
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
 
Long Memory presentation to SURF
Long Memory presentation to SURFLong Memory presentation to SURF
Long Memory presentation to SURF
 
Arima model
Arima modelArima model
Arima model
 
arimamodel-170204090012.pdf
arimamodel-170204090012.pdfarimamodel-170204090012.pdf
arimamodel-170204090012.pdf
 
Seasonal ARIMA
Seasonal ARIMASeasonal ARIMA
Seasonal ARIMA
 
Arima
ArimaArima
Arima
 
Arima
ArimaArima
Arima
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
Project time series ppt
Project time series pptProject time series ppt
Project time series ppt
 
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 ...
 
ARIMA
ARIMA ARIMA
ARIMA
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
Arima
ArimaArima
Arima
 
Time series forecasting
Time series forecastingTime series forecasting
Time series forecasting
 
ACF.ppt
ACF.pptACF.ppt
ACF.ppt
 
Time series Modelling Basics
Time series Modelling BasicsTime series Modelling Basics
Time series Modelling Basics
 
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
 
ARIMA.pptx
ARIMA.pptxARIMA.pptx
ARIMA.pptx
 

More from Beamsync

Business Analytics Foundation with R Tools - Part 3
Business Analytics Foundation with R Tools - Part 3Business Analytics Foundation with R Tools - Part 3
Business Analytics Foundation with R Tools - Part 3Beamsync
 
Business Analytics Foundation with R tools - Part 2
Business Analytics Foundation with R tools - Part 2Business Analytics Foundation with R tools - Part 2
Business Analytics Foundation with R tools - Part 2Beamsync
 
Business Analytics Foundation with R Tools Part 1
Business Analytics Foundation with R Tools Part 1Business Analytics Foundation with R Tools Part 1
Business Analytics Foundation with R Tools Part 1Beamsync
 
Basic Analytic Techniques - Using R Tool - Part 1
Basic Analytic Techniques - Using R Tool - Part 1Basic Analytic Techniques - Using R Tool - Part 1
Basic Analytic Techniques - Using R Tool - Part 1Beamsync
 
Introduction to Business Analytics Course Part 10
Introduction to Business Analytics Course Part 10Introduction to Business Analytics Course Part 10
Introduction to Business Analytics Course Part 10Beamsync
 
Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Beamsync
 
Introduction to Business Analytics Course Part 7
Introduction to Business Analytics Course Part 7Introduction to Business Analytics Course Part 7
Introduction to Business Analytics Course Part 7Beamsync
 
Introduction to Business Analytics Part 1
Introduction to Business Analytics Part 1Introduction to Business Analytics Part 1
Introduction to Business Analytics Part 1Beamsync
 

More from Beamsync (8)

Business Analytics Foundation with R Tools - Part 3
Business Analytics Foundation with R Tools - Part 3Business Analytics Foundation with R Tools - Part 3
Business Analytics Foundation with R Tools - Part 3
 
Business Analytics Foundation with R tools - Part 2
Business Analytics Foundation with R tools - Part 2Business Analytics Foundation with R tools - Part 2
Business Analytics Foundation with R tools - Part 2
 
Business Analytics Foundation with R Tools Part 1
Business Analytics Foundation with R Tools Part 1Business Analytics Foundation with R Tools Part 1
Business Analytics Foundation with R Tools Part 1
 
Basic Analytic Techniques - Using R Tool - Part 1
Basic Analytic Techniques - Using R Tool - Part 1Basic Analytic Techniques - Using R Tool - Part 1
Basic Analytic Techniques - Using R Tool - Part 1
 
Introduction to Business Analytics Course Part 10
Introduction to Business Analytics Course Part 10Introduction to Business Analytics Course Part 10
Introduction to Business Analytics Course Part 10
 
Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9
 
Introduction to Business Analytics Course Part 7
Introduction to Business Analytics Course Part 7Introduction to Business Analytics Course Part 7
Introduction to Business Analytics Course Part 7
 
Introduction to Business Analytics Part 1
Introduction to Business Analytics Part 1Introduction to Business Analytics Part 1
Introduction to Business Analytics Part 1
 

Recently uploaded

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

Business Analytics Foundation with R tool - Part 5

  • 1. BUSINESS ANALYTICS FOUNDATION WITH R TOOLS Lesson 4 - Predictive Modeling Techniques Copyright 2016,Beamsync, All rights reserved.
  • 2. • Box-Jenkins forecasting models are based on statistical concepts and principles and are able to model a wide spectrum of time series behavior. • The Box-Jenkins ARMA model is a combination of the AR and MA models • The Box-Jenkins model assumes that the time series is stationary. • Box and Jenkins recommend differencing non-stationary series one or more times to achieve stationarity. Doing so produces an ARIMA model, with the "I" standing for "Integrated". • Some formulations transform the series by subtracting the mean of the series from each data point. This yields a series with a mean of zero. • The models can be extended to include seasonal autoregressive and seasonal moving average terms. Although this complicates the notation, the terms are similar to the non-seasonal autoregressive and moving average terms. • The most general Box-Jenkins model - difference operators, autoregressive terms, moving average terms, seasonal difference operators, seasonal autoregressive terms, and seasonal moving average terms. BOX-JENKINS MODEL Copyright 2016,Beamsync, All rights reserved.
  • 3. • Three primary stages in building a Box-Jenkins time series model: • Model Identification • Model Estimation • Model Validation • Box-Jenkins models are quite flexible due to the inclusion of both autoregressive and moving average terms. • Based on the Wold decomposition theorem, a stationary process can be approximated by an ARMA model. In practice, finding that approximation may not be easy. • Building good ARIMA models generally requires more experience than commonly used statistical methods such as regression. BOX –JENKINS (CONTD.) Copyright 2016,Beamsync, All rights reserved.
  • 4. • The autoregressive (AR) process models the conditional mean of Yt as a function of past observations of Y. • An AR process that depends on p past observations is called an AR model of degree p, denoted by AR(p). • AR model can be given by: Yt = α0 + β1Yt-1 + β2Yt-2 +… + βpYt-p +et where, et is a series of whitenoise, α0, β1,β2, …,βp arecoefficients. • ACF decays down to zero as lag increases. • PACF is non zero till k=p. • For k>p, PACF = 0. AUTO-REGRESSIVE (AR) MODELS Copyright 2016,Beamsync, All rights reserved.
  • 5. MOVING AVERAGE (MA) MODELS • The moving average (MA) model captures serial autocorrelation in a time series Yt by expressing the conditional mean of Yt as a function of pastinnovations. • An MA model that depends on q past innovations is called an MA model of degree q, denoted by MA(q). • MA model can be given by: Yt = et + γ1et-1 + γ2et-2 +…+ γpet-p where, et is a series of white noise , γ1 ,γ2 , … ,γp are coefficients. • In reality et is not observed, so we estimate these by Zt, where Zt YtYt • So the MA(q) model boils down to: Yt = et + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q • ACF is non-zero till k = q. • For k > q, ACF iszero. • PACF decays down to zero as lag increases. Copyright 2016,Beamsync, All rights reserved.
  • 6. • ARMA models are used in forecasting stationary models (whose mean and variance remain constant through time, i.e., no trend effect). • For some observed time series, a very high-order AR or MA model is needed to model the underlying process well. In this case, a combined autoregressive moving average (ARMA) model can sometimes be a more parsimonious choice. • An ARMA model expresses the conditional mean of Yt as a function of both past observations, and past innovations. • An ARMA(p,q) model is given by: Yt = α0 + β1Yt-1 + β2Yt-2 + … +βpYt-p + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q + et where, p denotes AR order q denotes MA order. ARMA Copyright 2016,Beamsync, All rights reserved.
  • 7. • AutoRegressive Integrated Moving Average models are a general class of models for forecasting time series of non stationary models that can be converted to stationary models using logging or differentiating. • The models include an explicit statistical model for the irregular component of a time series, that allows for non-zero autocorrelations in the irregular component. • Therefore, if you start off with a non-stationary time series, you will first need to ‘difference’ the time series until you obtain a stationary time series. • Todifference the time series d times to obtain a stationary series, then there is an ARIMA(p,d,q) model, where d is the order of differencing used. • Todifference a time series using R use the “diff()” function. ARIMA Copyright 2016,Beamsync, All rights reserved.
  • 8. ARIMA (CONTD.) • Suppose we consider the Yt series which are known to be non-stationary. For Yt we calculate Wt as below: Wt = Yt+1 – Yt = Δ1 Yt where, Wt is known as first order difference of Yt. Now, if we say Wt follow ARMA(p,q) then we say Yt follow ARIMA(p,1,q). In general if we say Yt follws ARIMA of order p,d,q, then Wt = α0 + β1Wt-1 + β2Wt-2 +… + βpWt-p + γ1Zt-1 + γ2Zt-2 +…+ γpZt-q +et Wt = Δd Yt and Zt  Wt Wt • Second order difference is given by: Wt = Δ2 Yt = Δ1 Yt+1 – Δ1 Yt = (Yt+2-Yt+1) – (Yt+1-Yt) Copyright 2016,Beamsync, All rights reserved.
  • 9. FORECASTING METHODS – SUMMARIZED TABLE levels trend seasonality Exponential Smoothing X X Holt’s X HoltWinters ARIMA Copyright 2016,Beamsync, All rights reserved.
  • 10. Thank You Beamsync is one of the top institutes from Bangalore, and if you are looking for business analytics training in Bangalore, consult Beamsync. You will get certification along with training courses. For more details click here: http://beamsync.com/business-analytics-training-bangalore/ Copyright 2016,Beamsync, All rights reserved.