1. Lazar

    Cross-classification BUGS

    Hi All, I have a hierarchical Bayes model that looks like: model{ #Overaching model for (i in 1:n){ y[i] ~ dnorm (yHat[i], tau.y) yHat[i] <- a[id[i]] + b.group*group[i] + b.wave*wave[i] + b.int*wave[i]*group[i] } #Fixed Effects b.group ~ dnorm(0, .0001) b.wave ~...
  2. H

    [WinBUGS] - model is right, code won't run (gen.inits() cannot be executed)

    Hi everyone, I'm new to bugs, calling it from R, and my model won't run. Here are the logs: display(log) check(C:/Users/Chris/AppData/Local/Temp/RtmpoZoYto/model678418be.txt) model is syntactically correct data(C:/Users/Chris/AppData/Local/Temp/RtmpoZoYto/data.txt) data loaded compile(1)...