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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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