{"id":13425312,"url":"https://github.com/mjskay/uncertainty-examples","last_synced_at":"2026-01-28T04:35:20.589Z","repository":{"id":47434389,"uuid":"145140235","full_name":"mjskay/uncertainty-examples","owner":"mjskay","description":"Uncertainty visualization examples","archived":false,"fork":false,"pushed_at":"2024-10-14T16:40:45.000Z","size":41234,"stargazers_count":108,"open_issues_count":2,"forks_count":15,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-11T00:44:55.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjskay.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-17T15:58:51.000Z","updated_at":"2024-10-14T16:40:49.000Z","dependencies_parsed_at":"2025-01-11T00:44:58.808Z","dependency_job_id":"91e58769-3427-42b0-ac23-1e8c107d32a0","html_url":"https://github.com/mjskay/uncertainty-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjskay%2Funcertainty-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjskay%2Funcertainty-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjskay%2Funcertainty-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjskay%2Funcertainty-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjskay","download_url":"https://codeload.github.com/mjskay/uncertainty-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101302,"owners_count":19909878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T00:01:09.757Z","updated_at":"2026-01-28T04:35:20.564Z","avatar_url":"https://github.com/mjskay.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"---\ntitle: \"Uncertainty Examples\"\noutput: github_document\n---\n\nOften, 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. \n\nIf you are looking for more examples, check out the [tidybayes](http://mjskay.github.io/tidybayes/) documentation as well --- the [tidybayes+brms vignette](http://mjskay.github.io/tidybayes/articles/tidy-brms.html) in particular has some things not included here.\n\n\n## Index\n\nThese are typically pretty roughly thrown together, and are in a bit of a stream-of-consciousness style. You have been warned.\n\n\n- [proportions](proportions.md): demo of using hypothetical outcome plots (HOPs) and quantile dotplots to display uncertainty in some proportions\n\n- [linear-regression](linear-regression.md): 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.\n\n- [multivariate-regression](multivariate-regression.md): a meandering attempt to improve on correlation heatmaps, including the use of gradients within density plots and a \"dithering\" approach.\n\n- [barbarella](barbarella.md): 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.\n\n- [arima](arima.md): 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).\n\n- [snowfall](snowfall.md): quantile dotplots and HOPs for a snowfall prediction.\n\n- [mtcars](mtcars.md): Some spaghetti plots and HOPs with mtcars data.\n\n- [mcse_dotplots](mcse_dotplots.md): Quantile dotplots that \"blur\" each quantile according to its Monte Carlo standard error\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjskay%2Funcertainty-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjskay%2Funcertainty-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjskay%2Funcertainty-examples/lists"}