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
288 views
in Technique[技术] by (71.8m points)

r - OpenBUGS中节点错误的多种定义(multiple definitions of node error in OpenBUGS)

I want to estimate of three parameter log-normal distribution in OpenBUGS.

(我想估计OpenBUGS中的三个参数对数正态分布。)

The model is sintatically correct and data are loaded, but when I compile, software output is "multiple definitions of node x".

(该模型在语言上是正确的,并且已加载数据,但是在我编译时,软件输出是“节点x的多个定义”。)

I don't know how to solve the problem.

(我不知道如何解决这个问题。)

This is the model:

(这是模型:)

model{
x <- y + a
y ~ dlnorm(mu, tau)
mu ~ dnorm(0, 0.00001)
tau ~ dgamma(0.00001, 0.00001)
a ~ dnorm(0, 0.00001)
}

#data
list(x =22.9189488817953)

Thanks to everyone that will answer.

(谢谢大家的回答。)

  ask by r.reza 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

...