# Observation model for replicated counts
for (i in 1:n) { # Loops over all n observations
C[i] ~ dbin(p[i], N[site.p[i]]) # counts follow a beta-binomial distribution
p[i]~dbeta(alpha.p,beta.p) # detection probability p follows a beta distribution
}
--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nimble-users/3b8f5b64-1d3d-413d-978e-422d23d64003n%40googlegroups.com.