hi, I am trying to check arima(2,1,1) model for a given data set. is my programming below correct? i'm quite new to SAS but i cannot seem to tell difference between arima model and arma model here
data mortg;
You are almost there. Providing some model specification examples:
proc arima data=sashelp.air plots=none;
/* ARIMA(2, 1, 1) NOINT */
identify var=air(1) noprint; /* specify d=1 */
estimate p=2 q=1 noconstant method=cls;
run;
/* ARIMA(0, 0, 1)(1, 0, 1)12 */
identify var=air noprint; /* no differencing */
estimate p=(12) q=(1)(12) method=cls;
run;
/* ARIMA(0, 1, 1)(0, 1, 1)12 NOINT */
identify var=air(1, 12) noprint; /* differencing orders 1, 12 */
estimate q=(1)(12) NOINT method=cls;
quit;
You are almost there. Providing some model specification examples:
proc arima data=sashelp.air plots=none;
/* ARIMA(2, 1, 1) NOINT */
identify var=air(1) noprint; /* specify d=1 */
estimate p=2 q=1 noconstant method=cls;
run;
/* ARIMA(0, 0, 1)(1, 0, 1)12 */
identify var=air noprint; /* no differencing */
estimate p=(12) q=(1)(12) method=cls;
run;
/* ARIMA(0, 1, 1)(0, 1, 1)12 NOINT */
identify var=air(1, 12) noprint; /* differencing orders 1, 12 */
estimate q=(1)(12) NOINT method=cls;
quit;
many thanks Rselukar! that really helps. can I further ask what it means by differencing order 1 and 12? is it supposed to remove the seasonal effect? or should it be using var=air(0,12) to remove the seasonal effect? thanks!
hi, can I check why is it NOINT in the airline case? as in based on what information, we decide to omit the mean value?
I have the attached data and I can want to check ARIMA(0,0,1)(1,0,1) with period 12. is my code below correct? should I also use NOINT here?
I can see the Dec1 is already stationary, so I guess I don't need to use Dec1(0,12) because the seasonality is modeled in p and q in the estimate?
data crsp;
infile "My SAS Files\m-dec1-8006.txt" firstobs=1;
input Date Dec1;
proc arima data=crsp plots=all;
identify var=Dec1;
estimate p=(12) q=(1)(12) method=cls;
run;
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.