SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

12
返回列表 发新帖
楼主: shiyiming
打印 上一主题 下一主题

请教ar(1)模型

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
11#
 楼主| 发表于 2004-3-2 01:17:39 | 只看该作者

Re: 请教ar(1)模型

刚看到这个很久的留言,其实可以用AUTOREG就可以解决,试试:
proc autoreg data=test;
model y=x1 x2 x3/nlag=1;
run;

个人认为,象时间序列,自相关,联立方程等经济模型,使用EVIEWS是最有效的,功能集中而且齐全,自相关在EVIEWS中可以很简单的就用CORRELOGRAM选项检验,从低阶到高阶。在EVIEWS中,象你上述的模型可以直接用一般线性回归,只用加上自回归阶数就可以了。(y c x1 x2 x3 ar(1))选择普通线性回归选项就能处理了。
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
12#
 楼主| 发表于 2004-3-2 05:07:26 | 只看该作者
I have not checked into it, but if you like to form the problem as a time series question, you can try to use PROC ARIMA in SAS/ETS.  Both MA (miving average) and AR (Autoregressive) are special case for ARIMA model.
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
13#
 楼主| 发表于 2004-3-4 12:53:11 | 只看该作者
非常感谢 onon 和 xic 老师。搁了这么就 ,你们还不吝赐教。

我曾用 EVIEWS 做 时间序列的问题,很好的。但我当时想 sas也应该可以做时间序列的分析,希望都能学习一点,所以在sas中如何实现这个问题就提了出来。

many thanks to you !

romae
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
14#
 楼主| 发表于 2004-3-5 00:34:16 | 只看该作者
I would like you to check out PROC ARIMA in SAS/ETS, it is supposed to be the procedure to handle ARMA model.  Besides, I would like to bring your attention that the AR or MA model of higher order can be re-formaulted as a multi-dimensional model of order 1, by introducing more than one state variable.  For example, write [x(t),x(t-1),x(t-2)] as z(t).
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
15#
 楼主| 发表于 2004-3-5 18:11:02 | 只看该作者
[quote="xic":81300]Besides, I would like to bring your attention that the AR or MA model of higher order can be re-formaulted as a multi-dimensional model of order 1, by introducing more than one state variable.  For example, write [x(t),x(t-1),x(t-2)] as z(t).[/quote:81300]

i am sorry for my ability.I could not understand what's the mean.
Would you like to make some more explanation?

Many thanks!

romae
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2025-5-3 04:34 , Processed in 0.097179 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表