[英]SAS Proc Arima forecast graph with actuals
proc Arima是否允許預測圖顯示實際值和預測。 我一直找不到任何選擇。 到目前為止,我一直在將預測數據與實際數據合並並進行繪圖。 這只是我要避免的另一步驟。
謝謝
對。 您需要FORECAST(FORECAST)繪圖(我同意,令人困惑)。
嘗試這個:
data seriesg;
set sashelp.air;
xlog = log(air);
run;
proc arima data=seriesg plots(only)=(forecast(FORECAST));
identify var=xlog(1,12);
estimate q=(1)(12) noint method=ml;
forecast id=date interval=month printall out=b;
run;
quit;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.