Programming the statistical procedures from SAS

About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done.

Reply
New Contributor
Posts: 2

About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done.

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

SAS Employee
Posts: 340

Re: About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done.

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?

Ask a Question
Discussion stats
  • 1 reply
  • 337 views
  • 3 likes
  • 2 in conversation