This report provides diagnostic visualizations for the Bayesian hierarchical model. The following plots are presented for a selection of Statistical Area 2 (SA2) units to assess model performance and convergence.
Understanding the Plots
- Down-Sampled Trace Plot: This plot shows the sequence of estimated values from the Gibbs sampler for each iteration. A healthy trace plot should resemble "white noise" with no discernible trends, indicating that the sampler has converged on a stable posterior distribution.
- Empirical CDF (ECDF): This plot represents the model's complete belief about the true value. For any count on the x-axis, the y-axis shows the model's calculated probability that the true value is less than or equal to that count. The median and Maximum A Posteriori (MAP) estimates are shown as lines, and the originally observed value is marked with a star.
Selection of Examples
The SA2s included in this report were chosen to illustrate a range of model behaviors and serve as exemplars for cases with varying levels of uncertainty. The selected areas are: Inlets Far North District, Mangawhai Rural, and Takapuna West.