# NOT RUN {
y <- Turnover$actual.data
from <- -500
to <- 500
by <- .01
xx <- seq(from, to, by)
priors <- matrix(NA,ncol=4,nrow=length(xx))
for(i in 1:4){
priors[,i] <- dnorm(xx, Turnover$expert.priors[i ,1], Turnover$expert.priors[i, 2])
}
# }
# NOT RUN {
out <- DAC.normal(from = from, to = to, by = by, data = Turnover$actual.data,
priors = priors ,mean.bench = 0, sd.bench = 100, n.iter = 1000)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab