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

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
 
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
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办fqiuho152
 
Financial institutions facilitate financing, economic transactions, issue fun...
Financial institutions facilitate financing, economic transactions, issue fun...Financial institutions facilitate financing, economic transactions, issue fun...
Financial institutions facilitate financing, economic transactions, issue fun...Avanish Goel
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHenry Tapper
 
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
 
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一S SDS
 
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
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
Chapter 2.ppt of macroeconomics by mankiw 9th edition
Chapter 2.ppt of macroeconomics by mankiw 9th editionChapter 2.ppt of macroeconomics by mankiw 9th edition
Chapter 2.ppt of macroeconomics by mankiw 9th editionMuhammadHusnain82237
 
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spiritegoetzinger
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...yordanosyohannes2
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Sapana Sha
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyTyöeläkeyhtiö Elo
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

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...
 
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
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
 
Financial institutions facilitate financing, economic transactions, issue fun...
Financial institutions facilitate financing, economic transactions, issue fun...Financial institutions facilitate financing, economic transactions, issue fun...
Financial institutions facilitate financing, economic transactions, issue fun...
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview document
 
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...
 
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Saharanpur Anushka 8250192130 Independent Escort Se...
 
Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
 
🔝+919953056974 🔝young Delhi Escort service Pusa Road
🔝+919953056974 🔝young Delhi Escort service Pusa Road🔝+919953056974 🔝young Delhi Escort service Pusa Road
🔝+919953056974 🔝young Delhi Escort service Pusa Road
 
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
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
Chapter 2.ppt of macroeconomics by mankiw 9th edition
Chapter 2.ppt of macroeconomics by mankiw 9th editionChapter 2.ppt of macroeconomics by mankiw 9th edition
Chapter 2.ppt of macroeconomics by mankiw 9th edition
 
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spirit
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
 

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