jags

I am trying to apply Benedict Escoto's method from the paper "Bayesian Claim Severity with Mixed Distributions," published in Variance. I seem to be running into a JAGS simulation problem. When I run the code, JAGS gives me the following error:
Error in node ones[1] Node inconsistent with...

Dear Bayesians.
I'm starting my way in the Bayesian world, and I'm trying to build a simple model for estimating the mean and variance of a normal distribution. I assume that:
y=rnorm(100,50,4) # This would be the data
mu0=0 #Prior of mean
var0=100 #Prior for the variance
#I continue...

I have a dataset consisting of two groups of participants (25 participants in one group and 26 in the other), with each participating in two conditions, and resulting a single binary outcome for each condition. I'm trying to analyze this model using JAGS, by combining some of Kruschke's...

Hi all,
Thank you in advance for help.
Usually, I set a seed in r script to make the result of analysis repeatable. However, if I use "rjags" package, the results are slightly difference every time I re-ran it even if the seed is set in R script. I guess I should do something in either the...