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

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

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.