If I create a model in WinBUGS, specify the parameters, and don't enter
data, then WinBUGS will simulate data, e.g.
model
{
mu <- 2
tau <- 1
for (i in 1:N) {
}
What I'd like to do is:
Is there a way to specify a model that will do this? Or do I have
to write some kind of script/batch file to do the iterations of the
simulation?
Thanks,
Bill Simpson