繁体   English   中英

SAS Proc Arima预测值与实际值

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM