Displaying 1 result from an estimated 1 matches for "taueps".
Did you mean:
takes
2008 Aug 22
2
WinBUGS with R
...parametric regression and use WinBUGS to sample
posteriors.
The code to call Winbugs is as follows:
data <- list("y","X","n","m") #My variables
inits.beta <- rep(0,K)
inits.beta0 <- 0
inits <- function(){list(beta=inits.beta,beta0=inits.beta0,taueps=1.0E-3)}
parameters <- list("sigma","beta","beta0","y.star")
fitm <- bugs(data,inits,parameters,model.file="model.bug",
n.chains=3, n.iter=n.iter, n.burnin=n.burnin, n.thin = n.thin,
debug=FALSE,DIC=FALSE,digit=5,codaPkg=FALSE,...