全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
4612 3
2006-10-13

我用R建AR模型,但有几个数据不知道怎么得

开始是file.ar=ar(....)

file.ar$order是32

file.ar$aic是aic的值

file.ar是32个系数和sigma square的值

我现在想知道这32个系数的估计值各自的standard error用哪个命令? 怎么check这个模型好不好呢?

另外怎么用R把这个公式直接打出来呢,比如显示成Xt=......,因为我想复制到word里

我看用s-plus都会有个像anova一样的table有value, std.error, t value, p-value. 怎么用R就没有呢?

谢谢!


[此贴子已经被作者于2006-10-13 17:30:37编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2006-10-14 03:34:00

no one use R here?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2006-10-14 03:51:00

I use R, but I never resort to the help of R's function. Give you some hint:

V(b)=Sxx^(-1) (*) omega

where (*) means kronecker product.

For simple univariate case, that is,

V(b)=T*sum(Xt*Xt')^(-1)*sig^2

where (Xt*Xt') is k by k matrix, which is the outer product of the regressors of time t. sig^2 is the estimate of variance of innovation. Then, certain V(bi) is the ith diagnal element of the matrix V(b)(k by k).

Is that clear?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-4-10 18:55:50
很nice!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群