SlideShare a Scribd company logo
1 of 26
ARIMA
BOX JENKINS METHODOLOGY
When ARIMA is to be used
In many real world situations
• We do not know the variables determinants of
the variable to be forecast
• Or the data on these casual variables are
readily available
Box-Jenkins methodology is
• Technically sophisticated way of forecasting a
variable by looking only at the past pattern of
the time series
• It uses most recent observations as a starting
value
• Best suited for long range rather than short
range forecasting.
White noise
• White noise is a purely random series of
numbers
• The numbers are normally and independently
distributed
• There is no relationship between
consecutively observed values
• Previous values do not help in predicting
future values
Box-Jenkins methodology (continued)
• We start with the observed time series itself
• Examine its characteristics
• Get an idea how to transform the series into
white noise.
• If we get the white noise, we assume that it is
the correct model
Basic models
• Moving average (MA) models
• Autoregressive (AR) models
• Mixed autoregressive moving average (ARMA)
models
Moving average models
• Predicts Yt as a functions the past errors in
predicting Yt
• Yt = et + W1 et-1 + W2 et-2 +…..Wq et-q
• MA (1) series……………..Yt = et + W1 et-1
To know the order
• Autocorrelation—correlation between the
values of the time series at different periods
• Partial autocorrelation – measures the degree
of association between the variable and that
same variable in another time period after
partialing out the effect of the other lags
• If the ACF abruptly stops at some point, we
know the model is of MA type
• The number of spikes before the abrupt stop
is referred to as q
Autoregressive models
• Dependent variable Yt depends on its own
previous values rather than white noise or
residuals
• Yt = A1 Yt-1 + A2 Yt-2 +……+ApYt-p +et
• Yt = A1 Yt-1 +et…………AR (1) model
• Yt = A1 Yt-1 + A2 Yt-2 +et…………AR (2) model
• If the PACF stops abruptly at some point , the
model is of AR type
• The number of spikes before the abrupt stop
is equal to the order of the AR model.
• It is denoted by p
• Yt = A1 Yt-1 + A2 Yt-2 +……+ApYt-p +et + W1 et-1 +
W2 et-2 +…..Wq et-q
• Order = ARMA (p,q)
• Any of the four frames could be patterns that
could identify ARIMA (1,1) model
• Both ACF and PACF gradually fall to zero rather
than abruptly stop.
stationarity
• Two consecutive values in the series depend
only on the time interval between them and
not on time itself
Non stationary data
• Mean value of the time series changes over
time
• Variance of the time series changes over time
• Autocorrelations are usually significantly
different from zero at first and then gradually
fall to zero or show spurious pattern as the
lags are increased
How to remove non stationarity
• If caused by trend in series, differencing of the
series is done
• When there is change in variability, log of
actual series
• When differencing is used to make a time
series stationary, it is common to refer the
resulting model as ARIMA (p,d,q) type.
• The “I” refers to integrated or differencing
term
• d refers to the degree of differencing
Step I
• Identify
• If the ACF abruptly stops at some point- say,
after q spikes-then the appropriate model is
an MA(q) type.
• If the PACF abruptly stops at some point-say,
after p spikes-then the model is an AR(p) type
• If neither function falls off abruptly, but both
decline toward zero in some fashion, the
appropriate model is an ARMA (p,q) type
Step II
• Estimation
• Similar to fitting a standard regression
Step III
• Diagnose
• Determine whether the correct model has
been chosen
• Examine the ACF of residuals
• If the ACF of the residuals shows no spikes the
model chosen is the correct one
• If you are left with only white noise in the
residual series , the model chosen is likely to
be the correct one
Ljung-Box statistic test
• Tests whether the residual autocorrelations as
a set are significantly different from zero.
• If the residual autocorrelations as a set are
significantly different from zero, the model
specification should be reformulated.
Step IV
• Forecast
• Actually forecast using the chosen model
SPSS

More Related Content

Similar to Arima

Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...
Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...
Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...Meir TOLEDANO
 
ARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptREFOTDEBuea
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxMaiGaafar
 
6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdfssuserdca880
 
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
 
Long Memory presentation to SURF
Long Memory presentation to SURFLong Memory presentation to SURF
Long Memory presentation to SURFRichard Hunt
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive ModelsBhaskar T
 

Similar to Arima (16)

Arima
ArimaArima
Arima
 
Seasonal ARIMA
Seasonal ARIMASeasonal ARIMA
Seasonal ARIMA
 
Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...
Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...
Lightning fast time series modeling and prediction: (S)ARIMA on steroids - ST...
 
ARIMA
ARIMA ARIMA
ARIMA
 
ARIMA Model.ppt
ARIMA Model.pptARIMA Model.ppt
ARIMA Model.ppt
 
ARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.ppt
 
ARIMA Model.ppt
ARIMA Model.pptARIMA Model.ppt
ARIMA Model.ppt
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptx
 
6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf
 
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
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive Models
 
ARIMA.pptx
ARIMA.pptxARIMA.pptx
ARIMA.pptx
 
Av 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman FilterAv 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman Filter
 

Recently uploaded

Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfMichael Silva
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...Suhani Kapoor
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfHenry Tapper
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free DeliveryPooja Nehwal
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managmentfactical
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfAdnet Communications
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawlmakika9823
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Roomdivyansh0kumar0
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designsegoetzinger
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithAdamYassin2
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingAggregage
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarHarsh Kumar
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...First NO1 World Amil baba in Faisalabad
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...yordanosyohannes2
 

Recently uploaded (20)

Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdf
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
 
Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managment
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdf
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam Smith
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of Reporting
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh Kumar
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
 

Arima

  • 2. When ARIMA is to be used In many real world situations • We do not know the variables determinants of the variable to be forecast • Or the data on these casual variables are readily available
  • 3. Box-Jenkins methodology is • Technically sophisticated way of forecasting a variable by looking only at the past pattern of the time series • It uses most recent observations as a starting value • Best suited for long range rather than short range forecasting.
  • 4. White noise • White noise is a purely random series of numbers • The numbers are normally and independently distributed • There is no relationship between consecutively observed values • Previous values do not help in predicting future values
  • 5. Box-Jenkins methodology (continued) • We start with the observed time series itself • Examine its characteristics • Get an idea how to transform the series into white noise. • If we get the white noise, we assume that it is the correct model
  • 6. Basic models • Moving average (MA) models • Autoregressive (AR) models • Mixed autoregressive moving average (ARMA) models
  • 7. Moving average models • Predicts Yt as a functions the past errors in predicting Yt • Yt = et + W1 et-1 + W2 et-2 +…..Wq et-q • MA (1) series……………..Yt = et + W1 et-1
  • 8. To know the order • Autocorrelation—correlation between the values of the time series at different periods • Partial autocorrelation – measures the degree of association between the variable and that same variable in another time period after partialing out the effect of the other lags
  • 9.
  • 10. • If the ACF abruptly stops at some point, we know the model is of MA type • The number of spikes before the abrupt stop is referred to as q
  • 11. Autoregressive models • Dependent variable Yt depends on its own previous values rather than white noise or residuals • Yt = A1 Yt-1 + A2 Yt-2 +……+ApYt-p +et • Yt = A1 Yt-1 +et…………AR (1) model • Yt = A1 Yt-1 + A2 Yt-2 +et…………AR (2) model
  • 12. • If the PACF stops abruptly at some point , the model is of AR type • The number of spikes before the abrupt stop is equal to the order of the AR model. • It is denoted by p
  • 13.
  • 14. • Yt = A1 Yt-1 + A2 Yt-2 +……+ApYt-p +et + W1 et-1 + W2 et-2 +…..Wq et-q • Order = ARMA (p,q)
  • 15.
  • 16. • Any of the four frames could be patterns that could identify ARIMA (1,1) model • Both ACF and PACF gradually fall to zero rather than abruptly stop.
  • 17. stationarity • Two consecutive values in the series depend only on the time interval between them and not on time itself
  • 18. Non stationary data • Mean value of the time series changes over time • Variance of the time series changes over time • Autocorrelations are usually significantly different from zero at first and then gradually fall to zero or show spurious pattern as the lags are increased
  • 19. How to remove non stationarity • If caused by trend in series, differencing of the series is done • When there is change in variability, log of actual series
  • 20. • When differencing is used to make a time series stationary, it is common to refer the resulting model as ARIMA (p,d,q) type. • The “I” refers to integrated or differencing term • d refers to the degree of differencing
  • 21. Step I • Identify • If the ACF abruptly stops at some point- say, after q spikes-then the appropriate model is an MA(q) type. • If the PACF abruptly stops at some point-say, after p spikes-then the model is an AR(p) type • If neither function falls off abruptly, but both decline toward zero in some fashion, the appropriate model is an ARMA (p,q) type
  • 22. Step II • Estimation • Similar to fitting a standard regression
  • 23. Step III • Diagnose • Determine whether the correct model has been chosen • Examine the ACF of residuals • If the ACF of the residuals shows no spikes the model chosen is the correct one • If you are left with only white noise in the residual series , the model chosen is likely to be the correct one
  • 24. Ljung-Box statistic test • Tests whether the residual autocorrelations as a set are significantly different from zero. • If the residual autocorrelations as a set are significantly different from zero, the model specification should be reformulated.
  • 25. Step IV • Forecast • Actually forecast using the chosen model
  • 26. SPSS