Displaying 1 result from an estimated 1 matches for "jinmodel".
2012 Oct 03
1
Errors when saving output from WinBUGS to R
...lt;- list(Y20=y,x1=x1, x2=x2, x3=x3, N=N)
inits<- function(){
list(beta0=0, beta1=0, beta2=0, beta3=0)}
parameters <- c("beta0", "beta1", "beta2", "beta3")
#call winbugs using bugs() function
model <- bugs(data, inits, parameters,
model.file="C:/Jinmodel/test_codes/model_poisson.txt", n.chains=1,
n.iter=30, n.burnin=0,n.thin=1, codaPkg=TRUE, DIC=TRUE, debug=TRUE,
bugs.directory="C:/Users/Yiyi/Desktop/winbugs14/WinBUGS14")
###########################################
I can get pretty good traceplots & parameter estimate outputs...