= Solution
For each plate use its conditional fitted intensity, including the fitted <random effect>. At a <posterior> draw $s$ form the <Pearson residual>
$$
\boxed{r_{ij}^{(s)}=\frac{y_{ij}-\mu_{ij}^{(s)}}{\sqrt{\mu_{ij}^{(s)}}}.}
$$
A simpler plot uses $\widehat\mu_{ij}$ in this expression, but posterior draws also display uncertainty in the fitted values. Look for residuals centred around zero, unexpectedly large tails or isolated outliers, and patterns with dose, fitted intensity or plate grouping. For known conditional parameters the <Poisson distribution> gives mean zero and variance one for this residual; approximate normality is reasonable only at adequate count sizes. Fitting the same data and estimating latent effects changes its calibration, so compare the diagnostics with residuals from conditional <posterior predictive checks>, rather than treating them as independent exact standard normals.
This checks the plate-level Poisson sampling layer given the effects and can reveal remaining unmodelled variation. It does not by itself establish the population dose-response curve: fitted plate effects can absorb departures from that curve.
Back to article page