尝试运行面板数据回归时出现错误“系统在计算上是单一的”

问题描述

我正在使用>>> text = "[22.190894440000001,-100.99684750999999] 6 2011-08-28 19:48:11 @Karymitaville you can dance you can give having the time of my life(8) ABBA :D" >>> lat,lang,value,date,time,text = text.split(maxsplit=5) >>> lat,text ('[22.190894440000001,','-100.99684750999999]','6','2011-08-28','19:48:11','@Karymitaville you can dance you can give having the time of my life(8) ABBA :D') >>> lat = lat.strip('[').rstrip(',') >>> lang = lang.rstrip(']') >>> lat,text ('22.190894440000001','-100.99684750999999','@Karymitaville you can dance you can give having the time of my life(8) ABBA :D') 包在具有不平衡数据集的面板回归中进行双向测试。我已经读过有关此错误的信息,但没有弄清楚如何解决此问题:

plm

我使用5个独立变量。其中3个是非常大的数字,其他2个是比率。以前,我使用了3个独立变量(x2,x4和x5)的日志,并且可以完美地运行而没有任何错误消息。可能是由于多重共线性造成的,我是否应该实际使用对数数据集?

Error in solve.default(vcov(x)[names(coefs_wo_int),names(coefs_wo_int)],: 
 system is computationally singular: reciprocal condition number = 4.98421e-17

解决方法

将装置更改为解决方法可以解决该问题。