全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
9068 1
2009-03-19
请问怎么检查模型的自相关和多重共线性问题呢,使用什么命令呢
二维码

扫码加我 拉你入群

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

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

全部回复
2009-3-24 01:26:00

1). 自相关

Autocorrelation

Iterated GLS with autocorrelation does not produce the maximum likehood estimates, so we cannot use the likelihood-ratio test procedure, as with heteroskedasticity. However, Wooldridge (2002, 282–283) derives a simple test for autocorrelation in panel-data models. Drukker (2003) provides simulation results showing that the test has good size and power properties in reasonably sized samples.

There is a user-written program, called xtserial, written by David Drukker to perform this test in Stata. To install this user-written program, type

 . findit xtserial . net sj 3-2 st0039 (or click on st0039) . net install st0039 (or click on click here to install) 

To use xtserial, you simply specify the dependent and independent variables:

 . xtserial depvar indepvars 

A significant test statistic indicates the presence of serial correlation.

2). 多重共线性

Multicolinearity

Stata provides a built-in measure of multicolinearity, the variance inflation factor (VIF). To use the VIF, first estimate the regression equation, then type the command vif. below is an example:

reg y x5-x7
vif

As a rule of thumb, a variable whose VIF values are greater than 10 may merit further investigation. Tolerance, defined as 1/VIF, is used by many researchers to check on the degree of collinearity. A tolerance value lower than 0.1 is comparable to a VIF of 10. It means that the variable could be considered as a linear combination of other independent variables.

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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