BookmarkSubscribeRSS Feed
ERIKAGARCIA
Calcite | Level 5

I am running following data set:

PROC arima data= actuals_1c;

identify var=wrty_ut_sum nlag=8;

by product_line;

run;

estimate P=1 Q=1; RUN;

Forecast out= forecast_ARIMA(rename=(forecast=forecast_arima))

lead=78 id=date interval=week.7 ; run;

quit;

Then the estimation is not done and I get the ERROR: Forecasting was not performed because estimation was not done.

I am pretty sure is due to the BY statement on the PROC Arima, however I have tried different ways to fix it but I am not successful. I need the BY due to after this I am working with groups.

Any help or idea would be great :smileygrin:

ERIKA G

1 REPLY 1
gergely_batho
SAS Employee

I think it is because for some of your by groups the  estimation of the model failed.

Does each by group contain enough observations?

What else do you have in the log window?

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1668 views
  • 3 likes
  • 2 in conversation