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

Newey, W. K. and K. D. West (1987): \A Simple, Positive Semi-Denite, Heteroskedasticity and Autocorrelation Consistent Covariance Matrix", Econometrica 55, 703-708.

就是如何估计newey-west(1987)一文的式(5)?

敬请指教!

二维码

扫码加我 拉你入群

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

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

全部回复
2015-1-24 11:48:55
得到newey west 调整后的统计数值
可以试试这段命令
   
library("sandwich")
library("lmtest")
........................................
model1     = lm(Ri ~ MktRF + SMB + HML + AGG_LIQ)
neweywest <- coeftest(model1, vcov = NeweyWest(model1, lag = 1))
print(neweywest)


出来的数据的形式:
   
t test of coefficients:

             Estimate Std. Error t value  Pr(>|t|)   
(Intercept) -0.033148   0.019524 -1.6978 0.1333559   
MktRF       -2.189634   0.455803 -4.8039 0.0019574 **
SMB         -0.984162   0.246534 -3.9920 0.0052431 **
HML         -1.994266   0.285168 -6.9933 0.0002128 ***
AGG_LIQ      0.499178   0.107696  4.6351 0.0023835 **
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
二维码

扫码加我 拉你入群

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

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

2016-4-5 19:49:59
NeweyWest returns the same type of object as vcovHAC which is typically just the covariance matrix.
NeweyWest返回相同类型的对象作为vcovHAC这是典型的协方差矩阵。
http://www.biostatistic.net/thread-79756-1-1.html
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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