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?

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1994 views
  • 3 likes
  • 2 in conversation