SAS中文论坛

标题: 请教一个问题~~~ [打印本页]

作者: shiyiming    时间: 2005-5-2 00:28
标题: 请教一个问题~~~
proc model data=inma2;
      parms a b ma1 ma2;
      y = a + b * x + ma1 * zlag1( resid.y ) +
          ma2 * zlag2( resid.y );
      fit;
   run;

where MA1 and MA2 are the moving average parameters.

Note that RESID.Y is automatically defined by PROC MODEL as

   pred.y = a + b * x + ma1 * zlag1( resid.y ) +
          ma2 * zlag2( resid.y );
   resid.y = actual.y - pred.y;

Note that RESID.Y is .
现在我想用程序输出pred.y和resid.y的所有值,该怎么做呢?
非常感谢
作者: shiyiming    时间: 2005-5-2 09:52
标题: @
[code:684e7]/p. r.[/code:684e7]
作者: shiyiming    时间: 2005-5-2 11:21
标题: e
可以具体一点么?谢谢




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2