全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
25377 5
2008-08-18
想要检验多元线性模型变量的多重共线性和模型的显著性,stata有没有现成的命令可用?怎么检验呢?请指教,谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2008-8-18 10:01:00

vif

test

二维码

扫码加我 拉你入群

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

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

2008-8-18 14:20:00
多重共线性诊断可用collin,需要下载安装。
二维码

扫码加我 拉你入群

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

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

2008-8-18 22:41:00
test x1 x2 ...
二维码

扫码加我 拉你入群

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

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

2013-9-14 21:14:07
liuxb 发表于 2008-8-18 14:20
多重共线性诊断可用collin,需要下载安装。
请问一下:collin命令的格式是什么呢??谢谢啊!
二维码

扫码加我 拉你入群

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

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

2013-9-17 13:25:10
help for collin
------------------------------------------------------------------------------------------------------------------

Collinearity Diagnostics
------------------------

    collin varlist  [if exp] [in range] [, corr rinv]



Description
-----------

collin computes several collinearity diagnostic measures including
       VIF, tolerance, eigenvalues, condition index, and R-squared.  
       It will compute the eigenvalues and condition index on either
       the raw SSCP with an intercept (default) or the deviation SSCP
       without an intercept.

Option
------

corr   Eigenvalues and condition index computed from correlation matrix
         without a constant.
        
      By default the eigenvalues and condition index are computed on the
      scaled raw score SSCP matrix with an intercept.
        
rinv  display inverse of correlation matrix.

Examples
--------

. collin read write math
. collin read write math, corr rinv
. collin read write math if gender==1
. ^collin read write math if e(sample)



Author
------

      Philip B. Ender
      UCLA Department of Education
      UCLA, Academic Technology Services
      ender@ucla.edu


Also see
--------

Manual:  [R] regression diagnostics
On-line:  help for vif


另外,coldiag2 也可以
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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