全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
7773 3
2014-02-11
原数据不便贴出,先给出代码

> sem1<-'
+ mb=~mbc+mbn
+ soil=~soc+tn
+ climate=~map+mat
+ '
> fit<-cfa(sem1,estimator="MLR",data=grad)
Error in solve.default(E) :
  system is computationally singular: reciprocal condition number = 3.27078e-22
In addition: Warning messages:
1: In lav_data_full(data = data, group = group, group.label = group.label,  :
  lavaan WARNING: some observed variances are (at least) a factor 1000 times larger than others; use varTable(fit) to investigate
2: In estimateVCOV(lavaanModel, samplestats = lavaanSampleStats, options = lavaanOptions,  :
  lavaan WARNING: could not compute standard errors!

另,google组里也有人问这事,但是跟我的情况不太一样

还有,结构方程计算前需要如何处理数据?


二维码

扫码加我 拉你入群

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

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

全部回复
2014-2-12 08:43:37
提示: 作者被禁止或删除 内容自动屏蔽
二维码

扫码加我 拉你入群

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

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

2014-2-12 08:57:40
提示: 作者被禁止或删除 内容自动屏蔽
二维码

扫码加我 拉你入群

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

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

2020-7-15 10:25:21
Nicolle 发表于 2014-2-12 08:57
You got a Singularity Issue which means that a matrix is mathematically singular iff its determinant ...
I got the same question,your words made a work.but it have a new question,while i operated the code,i got a new warnning: lavaan WARNING: fit measures not available if test = "none",which means there were no statistic test,only estimate value were calculated.my code is:
model3<-"pra=~i1+i2+i3
                    mor=~i4+i5+i6+i7+i8
                    cog=~i9+i10+i11
                    lgtm=~i1+i2+i3+i4+i5+i6+i7+i8+i9+i10+i11"
model3.fit<-cfa(model3,data=lgtm,do.fit=F)
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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