8730 19

[回归分析求助] cmp运行相关问题求助 [推广有奖]

  • 1关注
  • 1粉丝

本科生

70%

还不是VIP/贵宾

-

威望
0
论坛币
177 个
通用积分
12.0006
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
265 点
帖子
28
精华
0
在线时间
189 小时
注册时间
2016-6-22
最后登录
2024-12-11

楼主
谢尚自能鸲鹆舞3 发表于 2019-1-16 21:06:03 |AI写论文
30论坛币
在使用如下命令
cmp (cy = ha  i.hu sex age agesq dangyuan ///
eduyear hukou marry1 zjxy lnincome zfmj urban_pop1 dqgdpdex houprice finance_worker) ///
(ha = i.hu sex age agesq dangyuan eduyear hukou marry1 zjxy lnincome ///
zfmj urban_pop1 dqgdpdex houprice finance_worker shid), ///
ind($cmp_probit $cmp_oprobit)
后面两个回归后提示:
Warning: regressor matrix for cyequation appears ill-conditioned. (Condition number = 19615.187.)
This might prevent convergence. If it does, and if you have not done so already, you may need to remove nearly
collinear regressors to achieve convergence. Or you may need to add a nrtolerance(#) or nonrtolerance option to the command line.
See cmp tips.


Warning: regressor matrix for _cmp_y2 equation appears ill-conditioned. (Condition number = 17590.818.)
This might prevent convergence. If it does, and if you have not done so already, you may need to remove nearly
collinear regressors to achieve convergence. Or you may need to add a nrtolerance(#) or nonrtolerance option to the command line.
See cmp tips.
后面直接就是如下的结果:
Fitting constant-only model for LR test of overall model fit.

我按照说明 看了tips ,使用加逗号,加括号等等方式在后面加入 nonrtolerance 或者nrtolerance(#) 都不行,请问是什么原因呢?


最佳答案

youxm 查看完整内容

按照tips在回归结果后面加入了一条命令,但是依然会出现warning部分。仔细看了一下英文tips,貌似出现这个情况是因为变量中存在多重共线性的问题,因为我的模型里有多个虚拟变量,可能从数据的角度上是存在多重共线性的。我觉得这个问题应该不是主要矛盾,关键还是从经济意义上看自己模型设定的是否合理。不知道楼主是怎么理解的,也希望有大牛们能给我们指点迷津啊。
关键词:CMP Convergence Conditioned Tolerance condition

沙发
youxm 发表于 2019-1-16 21:06:04
谢尚自能鸲鹆舞3 发表于 2019-1-24 19:15
并没有 你按照他的tips做了吗
按照tips在回归结果后面加入了一条命令,但是依然会出现warning部分。仔细看了一下英文tips,貌似出现这个情况是因为变量中存在多重共线性的问题,因为我的模型里有多个虚拟变量,可能从数据的角度上是存在多重共线性的。我觉得这个问题应该不是主要矛盾,关键还是从经济意义上看自己模型设定的是否合理。不知道楼主是怎么理解的,也希望有大牛们能给我们指点迷津啊。

藤椅
谢尚自能鸲鹆舞3 发表于 2019-1-16 21:07:56
因为cy变量是二分变量,后面ha是有序五分变, 所以在ind()中分别加入$cmp_probit和$cmp_oprobit 。请大家多多指教啊

板凳
youxm 发表于 2019-1-21 16:42:04
和楼主出现同样的问题,warning部分怎么解决啊?请问楼主解决了吗?

报纸
谢尚自能鸲鹆舞3 发表于 2019-1-24 19:15:37
youxm 发表于 2019-1-21 16:42
和楼主出现同样的问题,warning部分怎么解决啊?请问楼主解决了吗?
并没有 你按照他的tips做了吗

地板
HJ13 发表于 2019-5-1 11:57:47
请问楼主最后如何处理这个问题的?求分享,万分感谢

7
whanhan87 发表于 2019-7-9 18:06:47
同问。。。

8
大鱼@wings 发表于 2019-9-18 15:12:26
同问 我的还出现了The indicators() option must contain 2 variables, one for each equation. 的错误提示

9
13262792318 发表于 2020-3-28 18:56:00
大鱼@wings 发表于 2019-9-18 15:12
同问 我的还出现了The indicators() option must contain 2 variables, one for each equation. 的错误提示 ...
请问你解决了吗,我也有这个问题,而且为什么我用cmp做出来的结果跟用biprobit 做出来的结果不一样呢

10
13262792318 发表于 2020-3-28 18:56:18
HJ13 发表于 2019-5-1 11:57
请问楼主最后如何处理这个问题的?求分享,万分感谢
请问你解决这个问题了吗

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-29 14:26