• Stars
    star
    106
  • Rank 314,497 (Top 7 %)
  • Language
    HTML
  • Created over 5 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Uncertainty visualization examples

Uncertainty Examples

Often, when someone asks me an uncertainty visualization question I throw together an RMarkdown document to work through the problem. I have started to collect some of those examples in this repository.

If you are looking for more examples, check out the tidybayes documentation as well — the tidybayes+brms vignette in particular has some things not included here.

Index

These are typically pretty roughly thrown together, and are in a bit of a stream-of-consciousness style. You have been warned.

  • proportions: demo of using hypothetical outcome plots (HOPs) and quantile dotplots to display uncertainty in some proportions

  • linear-regression: a variety of approaches applied to a linear regression: HOPs, density+interval, and quantile dotplots of coefficients; multiple uncertainty bands, spaghetti plots, and HOPs for uncertainty in the fit line; and posterior predictive intervals for predictive uncertainty.

  • multivariate-regression: a meandering attempt to improve on correlation heatmaps, including the use of gradients within density plots and a “dithering” approach.

  • barbarella: visualizations for a survey with a 10-point rating scale analyzed with an ordinal regression model. Includes some posterior predictive checks, HOPs (animated uncertainty), quantile dotplots, and density+interval (“half-eye”) plots.

  • arima: visualizations of forecasts for a simple autoregressive time series model. Includes spaghetti plots and HOPs, plus demos the use of not-explicitly-supported packages with tidybayes (in this case, bsts—Bayesian structural time series).

  • snowfall: quantile dotplots and HOPs for a snowfall prediction.

  • mtcars: Some spaghetti plots and HOPs with mtcars data.

  • mcse_dotplots: Quantile dotplots that “blur” each quantile according to its Monte Carlo standard error

More Repositories

1

ggdist

Visualizations of distributions and uncertainty
R
752
star
2

tidybayes

Bayesian analysis + tidy data + geoms (R package)
R
700
star
3

ggblend

Support for blend modes in ggplot2
R
160
star
4

ARTool

R Package for Aligned Rank Transform for Nonparametric Factorial ANOVAs
R
51
star
5

when-ish-is-my-bus

Data and code for "When (ish) is My Bus? User-centered Visualizations of Uncertainty in Everyday, Mobile Predictive Systems" (CHI 2016)
R
45
star
6

election-galton-board

Plinko boards for the 2020 US Presidential election predictions
HTML
28
star
7

tidybayes.rethinking

R package to allow tidybayes to work with the rethinking package
R
25
star
8

uncertainty-vis-course

24
star
9

uncertainty-vis-book

Uncertainty Visualization book
TeX
20
star
10

gender-in-image-search

Data and analysis of unequal representation and gender stereotypes in image search results for occupations
HTML
18
star
11

by_row

A proposal for an alternative to rowwise() and mutate() + map()
9
star
12

ggbuilder

An (experimental) alternative way to build ggplot layers
R
6
star
13

acceptability-of-accuracy

Code for generating surveys and fitting models of acceptability of accuracy
CSS
6
star
14

wordle_solver

A simple solver for Wordles
5
star
15

ggdist-paper

Source and supplement for the ggdist paper
HTML
5
star
16

explodeAssign

Explode assignment operators for R
R
4
star
17

plinko

Animated plinko boards in R
R
4
star
18

bayes-for-chi

Data and code for "Researcher-Centered Design of Statistics: Why Bayesian Statistics Better Fit the Culture and Incentives of HCI" (CHI 2016)
R
4
star
19

dots

Copy ellipsis arguments from one set of functions to a wrapper function in R
R
2
star
20

metroidvania-ranks

2
star
21

linear-in-probit

Linear in probit subjective probability transformations
1
star
22

vax

1
star
23

gatherplots-data

Recreation of charts from the gatherplots paper
HTML
1
star
24

bayes_plots

1
star