search for: example_5_5

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

Did you mean: example_5
2008 Jan 31
1
R2WinBUGS is broken
...windows XP, and all the R packages are most current ones. schools.bug can be found at http://www.stat.columbia.edu/~gelman/bugsR/runningbugs.html . Can anyone help me to figure out what's going wrong? rm(list=ls()) library(R2WinBUGS) library ('BRugs') setwd('C:/bayesian/bda/codes/example_5_5') data(schools) J <- nrow(schools) y <- schools$estimate sigma.y <- schools$sd data <- list(J=J, y=y, sigma.y=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...