【问题标题】:SAS Proc Arima forecast graph with actualsSAS Proc Arima 预测图与实际值
【发布时间】:2014-02-28 22:23:01
【问题描述】:

proc Arima 是否允许预测图显示实际值和预测值。我一直找不到任何选择。到目前为止,我一直在将预测数据合并到实际数据并绘制它。这只是我想避免的额外步骤。

谢谢

【问题讨论】:

    标签: sas


    【解决方案1】:

    是的。你想要 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;
    

    【讨论】:

      猜你喜欢
      • 2018-10-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-08
      • 2020-04-18
      相关资源
      最近更新 更多