+
Plotting
+
+
WISCA results can be visualised in several ways. All plot functions
+work on the output of wisca() (or
+antibiogram(..., wisca = TRUE)).
+
Below we use the wisca_out object that was generated
+above.
+
+
Coverage with credible intervals
+
+
The extended autoplot() method from the
+ggplot2() package produces a point-and-interval plot
+showing the coverage estimate and 95% credible interval for each
+regimen, grouped by syndromic stratum. This is the most direct way to
+compare regimens: overlapping intervals suggest clinical
+non-inferiority, non-overlapping intervals indicate a meaningful
+difference.
+
+

+
+
+
Susceptibility vs. incidence weight
+
+
wisca_plot() produces a scatter plot of the Monte Carlo
+simulation draws, showing each pathogen’s susceptibility (x-axis)
+against its incidence weight (y-axis) for each regimen. Each dot
+represents one of 1,000 simulated draws, so the spread reflects
+posterior uncertainty. This plot reveals why a regimen achieves
+its coverage: you can see which pathogens dominate the syndrome (high on
+the y-axis), how susceptible they are (position on the x-axis), and how
+uncertain both estimates are (spread of the cloud). The dashed vertical
+lines denote the point estimates, i.e., the coverage percentages. The
+ribbon behind the dashed lines denote the credible interval, which is
+95% at default.
+
+

+
+
+
Posterior coverage distributions
+
+
Setting wisca_plot_type = "posterior_coverage" shows the
+full posterior distribution of coverage for each regimen as a density
+curve. This is the most complete representation of what the Bayesian
+model produces: each curve shows the relative likelihood of each
+coverage value across all 1,000 simulations. Narrow, tall peaks indicate
+high certainty; wide, flat curves indicate greater uncertainty. Where
+two curves overlap, the regimens cannot be confidently
+distinguished.
+
+wisca_plot(wisca_out, wisca_plot_type = "posterior_coverage")
+

+
+
Sensible defaults, which can be customised
@@ -554,7 +615,7 @@ by any clinical variable
intervals that honestly communicate uncertainty
It is available in the AMR package via either:
-
+
@@ -593,7 +654,7 @@ of weighted-incidence syndromic combination antibiograms (WISCA).