BookmarkSubscribeRSS Feed
AmandaW
Calcite | Level 5

code:

data example2_1;
input freq@@;
cards;
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
;
proc arima data=example2_1;
identify var=freq NLAG=6;
run;

 the outcome in SAS studio:

屏幕截图 2021-03-16 110240.jpg

but i would like to have the picture like this:

2.jpg

is there any method?help me,please

1 REPLY 1
MichaelL_SAS
SAS Employee

Try turning off ODS graphics before the PROC ARIMA call:

 

ods graphics off;
proc arima data=example2_1 plots(unpack);
identify var=freq NLAG=6;
run;
ods graphics on; 

I believe (but am not 100% sure) that when ODS graphics is enabled the paneled plots are returned by default, but if ODS graphics is off, the tabular output you want is produced. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 833 views
  • 0 likes
  • 2 in conversation