Calculate plugin pD from a JAGS model with univariate likelihood for studies with repeated measurements