Forecasting using SAS Forecast Server, SAS/ETS, and more

SAS Proc arima (p,d,q) (P,D,Q)1 (P,D,Q)2 specification

Posts: 40

SAS Proc arima (p,d,q) (P,D,Q)1 (P,D,Q)2 specification

Hello, I have an unusual time series:

The first time series has a seasonality of 24 and 168 (24x7). How would we specify this in Proc ARIMA ?

For instance if my assumed model is (1,1,2) X (1,1,2)24 X (2,2,1)168, how would I doe this in SAS proc arima ?

The second time series has a seasonality of 52 but within the 52 weekly we have 4 seasonal cycles (13 X 4 = 52), can you please let me know how I would specify these in Proc ARIMA ?


SAS Employee
Posts: 340

Re: SAS Proc arima (p,d,q) (P,D,Q)1 (P,D,Q)2 specification

Maybe this:

identify var=y(1,24,168,168); /*double differencing at lag 168??*/

estimate p=(1)(24)(168 336) q=(1 2)(24 48)(168);

I am not sure about the 13x4 case. It depends on your model. But you can difference the series at different lags as much as you like, and specify AR and MA coefficients. Or use seasonal dummy variables.

SAS Employee
Posts: 49

Re: SAS Proc arima (p,d,q) (P,D,Q)1 (P,D,Q)2 specification

Hello Forecaster,

Your problems appear a little involved.  There are a few different ways to approach this and besides ARIMA, we might be able to use UCM procedure for these problems.  Is it possible to take this discussion offline where you provide me additional details and possibly your data (if necessary suitably altered to keep it private).  I support ARIMA and UCM.  Once you get a satisfactory answer, we could post it again (or not) in this list.  Send me an email at


Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation