BookmarkSubscribeRSS Feed
Kyle75
Calcite | Level 5

Hi All-

I am using SAS 9.3 TS Level 1M2.  I've been using PROC ARIMA for a while now, but would like to get the plots with color.  All I can seem to get are the basic line printer plots.  I have looked in tools -> options, and validate that the ODS Graphics is on.  I have also tried using the 'ods graphics on;' statement.  But all I can get is the same result.

 

Could someone please give me some guidance as to what I may be missing?

 

Much appreciated!

-Kyle

2 REPLIES 2
Rick_SAS
SAS Super FREQ

Post the code that you are using to call PROC ARIMA.  Are you specifying the PLOTS= option on the PROC ARIMA statement?

 

There is an example in the documentation that shows how to request ODS graphics: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_arima_details5...

 

Kyle75
Calcite | Level 5

Hi Rick-

Thanks for the reply.  I have tried various ways, including the plots=option as well as 'ods graphics on;'.  Below are three versions of code that provide me with the same output.

 

*example #1;
proc arima data=arima_data;
identify var=sw(52) nlag=24 scan esacf stationarity=(adf=(0,1,2,3,4));
estimate p=1 q=1;
forecast lead=21 id=t2 out=arima_fc;
run;
quit;

 

*example #2;
proc arima data=arima_data
plots(unpack)=all;
identify var=sw(52) nlag=24 scan esacf stationarity=(adf=(0,1,2,3,4));
estimate p=1 q=1;
forecast lead=21 id=t2 out=arima_fc;
run;
quit;

 

*example #3;
proc arima data=arima_data
plots(only)=(residual(smooth) forecast(forecasts));
identify var=sw(52) nlag=24 scan esacf stationarity=(adf=(0,1,2,3,4));
estimate p=1 q=1;
forecast lead=21 id=t2 out=arima_fc;
run;
quit;

 

Log Results same for each piece of code above:

NOTE: The data set WORK.ARIMA_FC has 230 observations and 7 variables.
NOTE: The PROCEDURE ARIMA printed pages 57-62.
NOTE: PROCEDURE ARIMA used (Total process time):
real time 0.08 seconds
cpu time 0.01 seconds

 

Thanks again,

Kyle

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1131 views
  • 0 likes
  • 2 in conversation