SlideShare a Scribd company logo
Non seasonal arima
How many differences do I need to take?
Some simple rules
1. If the series has positive autocorrelations out to a high number of lags (say, 10 or more), then it
probably needs a higher order of differencing.
2. If the lag-1 autocorrelation is zero or negative, or the autocorrelations are all small and patternless,
then the series does not need a higher order of differencing. If the lag-1 autocorrelation is -0.5 or
more negative, the series may be overdifferenced. BEWARE OF OVERDIFFERENCING.
3. The optimal order of differencing is often the order of differencing at which the standard deviation
is lowest.
Do models change if I change the order of
differentiation?
Knowing what to expect
1. Model equivalence
a) A model with no orders of differencing assumes that the original series is stationary (among
other things, mean-reverting).
b) A model with one order of differencing assumes that the original series has a constant
average trend (e.g. a random walk or SES-type model, with or without growth).
c) A model with two orders of total differencing assumes that the original series has a time-
varying trend (e.g. a random trend or LES-type model).
2. Constant term
a. A model with no orders of differencing normally includes a constant term (which allows for a
non-zero mean value).
b. In a model with one order of total differencing, a constant term should be included if the series
has a non-zero average trend.
c. A model with two orders of total differencing normally does not include a constant term.
Model equivalence, continued
• ARIMA(p,d,q) forecasting equation
ARIMA(1,0,0) = first-order autoregressive model
ARIMA(0,1,0) = random walk
ARIMA(1,1,0) = differenced first-order autoregressive model
ARIMA(0,1,1) without constant = simple exponential smoothing
ARIMA(0,1,1) with constant = simple exponential smoothing with
growth
ARIMA(0,2,1) or (0,2,2) without constant = linear exponential
smoothing
ARIMA(1,1,2) with constant = damped-trend linear exponential
smoothing
http://people.duke.edu/~rnau/Slides_on_ARIMA_models--Robert_Nau.pdf
Do you need both AR and MA terms?
In general, you don’t. Rough rules of thumb:
• If the stationarized series has positive autocorrelation at lag 1, AR terms often work best.
• If it has negative autocorrelation at lag 1, MA terms often work best.
An MA(1) term often works well to fine-tune the effect of a nonseasonal difference, while an AR(1)
term often works well to compensate for the lack of a nonseasonal difference, so the choice between
them may depend on whether a difference has been used.
arima - tips

More Related Content

Viewers also liked

Semana 15 procesos estocásticos series de tiempo
Semana 15 procesos estocásticos series de tiempoSemana 15 procesos estocásticos series de tiempo
Semana 15 procesos estocásticos series de tiempo
Sergio Jurado
 
Series de tiempo estacionarias
Series de tiempo estacionariasSeries de tiempo estacionarias
Series de tiempo estacionarias
Juan Carlos Campuzano
 
Componentes de una serie de tiempo
Componentes de una serie de tiempoComponentes de una serie de tiempo
Componentes de una serie de tiempo
Elbano Mibelli Sanabria
 
Forecasting - Principles of Management
Forecasting - Principles of ManagementForecasting - Principles of Management
Timeseries forecasting
Timeseries forecastingTimeseries forecasting
Timeseries forecasting
Venkata Reddy Konasani
 
ARIMA
ARIMA ARIMA
Managerial Economics- Demand Forecasting PPT
Managerial Economics- Demand Forecasting PPTManagerial Economics- Demand Forecasting PPT
Managerial Economics- Demand Forecasting PPT
Dr. Durgaprasad Navulla
 
Series de Tiempo en R parte I (Series estacionarias)
Series de Tiempo en R parte I (Series estacionarias)Series de Tiempo en R parte I (Series estacionarias)
Series de Tiempo en R parte I (Series estacionarias)
Juan Carlos Campuzano
 

Viewers also liked (8)

Semana 15 procesos estocásticos series de tiempo
Semana 15 procesos estocásticos series de tiempoSemana 15 procesos estocásticos series de tiempo
Semana 15 procesos estocásticos series de tiempo
 
Series de tiempo estacionarias
Series de tiempo estacionariasSeries de tiempo estacionarias
Series de tiempo estacionarias
 
Componentes de una serie de tiempo
Componentes de una serie de tiempoComponentes de una serie de tiempo
Componentes de una serie de tiempo
 
Forecasting - Principles of Management
Forecasting - Principles of ManagementForecasting - Principles of Management
Forecasting - Principles of Management
 
Timeseries forecasting
Timeseries forecastingTimeseries forecasting
Timeseries forecasting
 
ARIMA
ARIMA ARIMA
ARIMA
 
Managerial Economics- Demand Forecasting PPT
Managerial Economics- Demand Forecasting PPTManagerial Economics- Demand Forecasting PPT
Managerial Economics- Demand Forecasting PPT
 
Series de Tiempo en R parte I (Series estacionarias)
Series de Tiempo en R parte I (Series estacionarias)Series de Tiempo en R parte I (Series estacionarias)
Series de Tiempo en R parte I (Series estacionarias)
 

Recently uploaded

一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
eoxhsaa
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
Vietnam Cotton & Spinning Association
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
oaxefes
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
Vineet
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
NABLAS株式会社
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
cjimenez2581
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 

Recently uploaded (20)

一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 

arima - tips

  • 2. How many differences do I need to take? Some simple rules 1. If the series has positive autocorrelations out to a high number of lags (say, 10 or more), then it probably needs a higher order of differencing. 2. If the lag-1 autocorrelation is zero or negative, or the autocorrelations are all small and patternless, then the series does not need a higher order of differencing. If the lag-1 autocorrelation is -0.5 or more negative, the series may be overdifferenced. BEWARE OF OVERDIFFERENCING. 3. The optimal order of differencing is often the order of differencing at which the standard deviation is lowest.
  • 3. Do models change if I change the order of differentiation? Knowing what to expect 1. Model equivalence a) A model with no orders of differencing assumes that the original series is stationary (among other things, mean-reverting). b) A model with one order of differencing assumes that the original series has a constant average trend (e.g. a random walk or SES-type model, with or without growth). c) A model with two orders of total differencing assumes that the original series has a time- varying trend (e.g. a random trend or LES-type model). 2. Constant term a. A model with no orders of differencing normally includes a constant term (which allows for a non-zero mean value). b. In a model with one order of total differencing, a constant term should be included if the series has a non-zero average trend. c. A model with two orders of total differencing normally does not include a constant term.
  • 4. Model equivalence, continued • ARIMA(p,d,q) forecasting equation ARIMA(1,0,0) = first-order autoregressive model ARIMA(0,1,0) = random walk ARIMA(1,1,0) = differenced first-order autoregressive model ARIMA(0,1,1) without constant = simple exponential smoothing ARIMA(0,1,1) with constant = simple exponential smoothing with growth ARIMA(0,2,1) or (0,2,2) without constant = linear exponential smoothing ARIMA(1,1,2) with constant = damped-trend linear exponential smoothing
  • 6. Do you need both AR and MA terms? In general, you don’t. Rough rules of thumb: • If the stationarized series has positive autocorrelation at lag 1, AR terms often work best. • If it has negative autocorrelation at lag 1, MA terms often work best. An MA(1) term often works well to fine-tune the effect of a nonseasonal difference, while an AR(1) term often works well to compensate for the lack of a nonseasonal difference, so the choice between them may depend on whether a difference has been used.