|
也可以下载collin命令,coldiag2命令
. use auto
(1978 Automobile Data)
. collin price mpg rep78 headroom trunk weight length
Collinearity Diagnostics
SQRT R-
Variable VIF VIF Tolerance Squared
----------------------------------------------------
price 1.86 1.36 0.5374 0.4626
mpg 3.15 1.78 0.3172 0.6828
rep78 1.43 1.20 0.6989 0.3011
headroom 1.86 1.36 0.5378 0.4622
trunk 2.92 1.71 0.3425 0.6575
weight 14.13 3.76 0.0708 0.9292
length 13.82 3.72 0.0724 0.9276
----------------------------------------------------
Mean VIF 5.60
Cond
Eigenval Index
---------------------------------
1 7.5283 1.0000
2 0.2392 5.6096
3 0.1292 7.6345
4 0.0474 12.6046
5 0.0292 16.0512
6 0.0215 18.7089
7 0.0046 40.5132
8 0.0007 107.2420
---------------------------------
Condition Number 107.2420
Eigenvalues & Cond Index computed from scaled raw sscp (w/ intercept)
Det(correlation matrix) 0.0037
|