# Signal Detection Theory model{ # Observed counts h ~ dbin(thetah,s) f ~ dbin(thetaf,n) # Reparameterization using equal-variance Gaussian SDT thetah <- phi(d/2-c) thetaf <- phi(-d/2-c) # These priors over discriminability and bias correspond # to uniform Priors over the hit and false alarm rates d ~ dnorm(0,0.5) c ~ dnorm(0,2) }