BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ecotrix
Calcite | Level 5

I wanted to understand the difference between error correction term (Nlag in Proc Autoreg) and Moving Average Errors in Proc Arima.

1 ACCEPTED SOLUTION

Accepted Solutions
YueLi
SAS Employee

FYI, you can find some detailed concept descriptions in http://www2.sas.com/proceedings/sugi28/252-28.pdf and the relationship between stationary AR model and MA model in https://www.otexts.org/fpp/8/4.

View solution in original post

2 REPLIES 2
Puwang
Obsidian | Level 7

AR model: An autoregression mode is a regression of the variable against itself (past values of the forecast variable). An autoregressive model of order p, AR(p) can be written as yt=c+ϕ1yt1+ϕ2yt2++ϕpytp+et, where c is a constant and et is white noise.

MA model: In contrast to the AR model, a moving average model uses past forecast errors in a regression-like model. A moving average model of order q, MA(q) can be written as yt=c+et+θ1et1+θ2et2++θqetq, where et is white noise.

In both cases, the error term is white noise. And from the formula above, we can clearly see how error terms are modeled differently in the two models.

In an AR model, the lagged values of yt are predictors. And the error term et in the model is just like the error term in a multiple linear regression.

In an MA model, the past forecast errors are predictors.

One thing to notice is that It is possible to write any stationary AR(p) model as an infinite MA model, and an (invertible) MA(p) can be written as an infinite AR.

YueLi
SAS Employee

FYI, you can find some detailed concept descriptions in http://www2.sas.com/proceedings/sugi28/252-28.pdf and the relationship between stationary AR model and MA model in https://www.otexts.org/fpp/8/4.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 3721 views
  • 0 likes
  • 3 in conversation