楼主: bridog
2566 4

多重共线性的诊断 [推广有奖]

  • 0关注
  • 2粉丝

博士生

84%

还不是VIP/贵宾

-

威望
0
论坛币
1 个
通用积分
4.3500
学术水平
0 点
热心指数
3 点
信用等级
0 点
经验
4748 点
帖子
255
精华
0
在线时间
273 小时
注册时间
2008-11-29
最后登录
2024-3-24

楼主
bridog 发表于 2009-12-1 19:38:51 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
在非线性回归模型中如何进行多种共线性的诊断? 比如我下面的代码,怎么添加诊断:
option nocenter;
dm 'log;clear;output;clear';
proc import datafile="c:\data.xls" replace
     out=one;
     getnames=yes;
data one;  set one;
proc nlin data=one;         
  parms b1=0.3 b2=-0.1 b3=-0.4 b4=0.1 b5=-0.8 b6=0.02 b7=0.06 b8=-0.02;
   
faNew = exp(b1+b2*tmax+b3*hmin+b4*wmax+b5*wa+b6*ev+b7*p+b8*tmm);                     

  model fa = faNew;         
  output out=two predicted=fahat

谢谢各位了!
二维码

扫码加我 拉你入群

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

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

关键词:多重共线性 多重共线 共线性 Predicted replace 诊断 线性

回帖推荐

goodbody 发表于4楼  查看完整内容

3# bridog I think it is just the same as in linear models, because it is about the relationship among independent variables. 1. High correlation between any two independent variables suggests multicollinearity. In SAS, the CORR procedure is used to computes Pearson correlation coefficients. PROC CORR statement invokes the CORR procedure and specifies the data set to be analyzed. The VAR s ...

本帖被以下文库推荐

沙发
goodbody 发表于 2009-12-2 04:58:05
Are you going to diagnose the multicollinearity among the seven variables:
tmax, hmin, wmax, wa, ev, p and tmm ?

藤椅
bridog 发表于 2009-12-2 09:14:34
Yes, I want  to diagnose the multicollinearity among the seven variables:
tmax, hmin, wmax, wa, ev, p and tmm .

Can you help me? Thank you.

板凳
goodbody 发表于 2009-12-2 13:36:29
3# bridog

I think it is just the same as in linear models, because it is about the relationship among independent variables.

1. High correlation between any two independent variables suggests multicollinearity.
In SAS, the CORR procedure is used to computes Pearson correlation coefficients. PROC CORR statement invokes the CORR procedure and specifies the data set to be analyzed. The VAR statement identifies variables to correlate and their order in the correlation matrix.
proc corr data=one;
var  Tmax hmin wmax wa ev p  tmm ;
run;

2. We speak about strong multicollinearity if the largest VIF, variance inflation factor, is larger than 10 or if the mean of the VIF values is considerably larger then 1.
In SAS, the VIF option for MODEL statement in PROC REG requests the calculation of the variance inflation factors.

proc reg data= one;

model fa= Tmax hmin wmax wa ev p  tmm /vif;

run;


3. The eigenvalues of the correlation matrix is another tool to detect multicollinearity. If there is perfect multicollinearity, some of the eigenvalues are zero. Near collinearity is associated with small eigenvalues. In SAS, the COLLINOINT option for MODEL statement in PROC REG provides analysis of the correlation matrix for the original data.

proc reg data= one;

model fa= Tmax hmin wmax wa ev p  tmm /collinoint;

run;

已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10   查看全部评分

报纸
bridog 发表于 2009-12-3 10:50:39
Thank you! I know what you mean. But I want to add the code of multicollinearity diagnose to the nonlinear model. So what can I do?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 17:03