Skip to content

Ridge Plot

Ridge plots are a useful tool for visualizing the full distribution of prevalence estimates across different areas, especially when uncertainty is a significant factor. The peaks of each curve in a ridge plot indicate where the true value of the prevalence is most likely to be, offering an intuitive sense of the estimate's concentration. By comparing curves acorss regions, we can identify areas where estimates are notably higher or lower in an informal yet informative way. Overlapping curves suggest that the estimates are not significantly different when accounting for uncertainty, while distinct, non-overlapping curves indicate clear differences between regions.

To enhance visual clarity, we avoid comparing too many regions at once, as this would result in a cluttered display. In the Shiny app, users can generate customized ridge plots by selecting from the following options:

  • All regions within an Admin-1 level, useful when the country has a manageable number of Admin-1 regions.
  • All finer-scale regions within a selected upper Admin region, such as all Admin-3 regions within a particular Admin-2 region.
  • Regions with extreme values at a selected Admin level, where users can freely choose the number of regions (e.g., top 3, 4, etc.) to display, focusing on those with the highest and lowest estimates.

The ridge plot above highlights the 5 regions with the most extreme prevalence estimates—both the lowest and highest—among over 100 Admin-3 regions in Rwanda. Regions with the highest and lowest estimates clearly demonstrate significant differences, as their posterior distributions show minimal overlap. However, within the group of highest or lowest regions, the distributions are similar, indicating no significant differences among them. Notably, all regions with the lowest estimates are concentrated within the same Admin-2 region, Rusizi.