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