[英]SAS Proc Arima forecast graph with actuals
Does proc Arima allow for the forecast plot to show actuals and forecast. proc Arima是否允许预测图显示实际值和预测。 I haven't been able to find any option.
我一直找不到任何选择。 So far I have been merging forecast data to the actual data and plotting it.
到目前为止,我一直在将预测数据与实际数据合并并进行绘图。 It is just an additional step that I want to avoid.
这只是我要避免的另一步骤。
thanks 谢谢
Yup. 对。 You want the FORECAST(FORECAST) plot (confusing, I agree).
您需要FORECAST(FORECAST)绘图(我同意,令人困惑)。
Try this: 尝试这个:
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.