Visualizing uncertainty with hypothetical outcomes plots
summary
Demonstrates an R workflow that generates and animates alternative model outcomes so viewers see the range of plausible results rather than one line. Implements bootstrapper and sampler helpers that inject resamples directly into ggplot layers, a stat_smooth_draw for drawing many fitted draws from a normal approximation, and uses gganimate transitions to cycle 20–25 draws. Shows a concrete result (Canada beats US ~53% of sampled chocolate-pair comparisons) and working code that produces static or animated HOPs.
AI-written summary · about
chapters (6)
related talks
01h 01m50 ways to show your data
18mFrom idea to code to image: Creative data visualizations in R
01h 21mInteractive Data Visualization Tools in R
05mVisualizing distributions and uncertainty using ggdist
34mVisualising Multi Dimensional Data
01h 38mEffective Data Visualization
02h 23mEffective Data Visualization
43mVisualising Machine Learning Models
