Displaying 1 result from an estimated 1 matches for "taue".
Did you mean:
take
2010 Jun 23
1
A question about R2Winbugs
...="C:/Users/t-wec/Desktop/WinBUGS14",codaPkg=T,debug=T)
mcmcout=read.bugs(model.sim)
summary(mcmcout)
------------------------------------------------------------------------------------------------------------------------
model
{
# cluster parameters mu and tau
tau1 <- (1-a*a)*taue
taue <- 1/sigmae
for (k in 1:K)
{
# cluster mean mu
mu[k,1] ~ dnorm(m,tau1)
for (t in 2:T)
{
mu[k,t] ~ dnorm(meanmu[k,t],taue)
meanmu[k,t] <- m*(1-a)+a*mu[k,t-1]
}
# cluster varicance tau
sigma0.r...