search for: schoolsmodel

Displaying 1 result from an estimated 1 matches for "schoolsmodel".

2010 Jan 19
1
Help on using WinBUGS on Mac
...", "sigma.y") inits <- function() {list (theta=rnorm(J,0,100), mu.theta=rnorm(1,0,100), sigma.theta=runif(1,0,100))} parameters <- c("theta", "mu.theta", "sigma.theta") schools.sim <- bugs (data, inits, parameters, model.file="schoolsmodel.bug", n.chains=3, n.iter=1000, bugs.directory="/Applications/WinBUGS14", WINE="/Applications/Darwine/Wine.bundle/Contents/bin/wine", WINEPATH="/Applications/Darwine/Wine.bundle/Contents/bin/winepath", useWINE=TRUE,clearWD=FALSE) It still did not...