Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
527 views
in Technique[技术] by (71.8m points)

r - R中的pSEM:错误“模型是递归的。 删除反馈循环!”返回(pSEM in R: Error “Model is recursive. Remove feedback loops!” is returned)

I am applying structural equation modeling on ecological data.

(我正在对生态数据应用结构方程模型。)

However, then I run the code the error "Model is recursive. Remove feedback loops!".

(但是,然后我运行代码,错误为“模型是递归的。请删除反馈循环!”。)

I have drawn the structural model to find the recursivity, but haven't discovered the problem yet.

(我已经绘制了结构模型以找到递归,但尚未发现问题。)

library(piecewiseSEM)
dSep(psem(
    lm(y1 ~ x2 + x3 + x1, data = dat.2),
    lm(y2 ~ y1 + x3 + x1, data = dat.2),
    lm(x3 ~ x1, data = dat.2)
    ))

The problem lies in the linckage between x3 and y1, but removing this path leeds to a significant Fisher's C test using the original data.

(问题出在x3和y1之间,这点很麻烦,但是删除该路径会导致使用原始数据进行重大的Fisher C测试。)

I have drawn the structural model to find the recursivity, but haven't discovered the problem yet.

(我已经绘制了结构模型以找到递归,但尚未发现问题。)

Can anybody tell me, how to avoid the feedback loop?

(谁能告诉我,如何避免反馈循环?)

Thanks, Martin

(谢谢马丁)

  ask by martin translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...