Epistemic Interactions Lab

Paper

multiverse: Multiplexing Alternative Data Analyses in R Notebooks

Abhraneel Sarma, Alex Kale, Michael Moon, Nathan Taback, Fanny Chevalier, Jessica Hullman, Matthew Kay ACM Human Factors in Computing Systems (CHI) 2023 Best Paper Honorable Mention
User can define procedural dependencies between options with the %when% operator. Users can also reuse parameter names for decisions which manifest in more than one location.

User can define procedural dependencies between options with the %when% operator. Users can also reuse parameter names for decisions which manifest in more than one location.

Abstract

There are myriad ways to analyze any given dataset. But which one to trust? In the face of such uncertainty, analysts adopt multiverse analysis: running all reasonable analyses on the dataset. Yet this is cognitively and technically difficult with existing tools—how does one specify and execute all combinations of reasonable analyses of a dataset?—and often requires discarding existing workflows. We present multiverse, a tool for implementing multiverse analyses in R with expressive syntax supporting existing computational notebook workflows. Informed by iterative user testing, multiverse supports building up a multiverse through local changes to a single analysis and optimises execution by pruning redundant computations. We evaluate four existing multiverse tools (including multiverse) using principles of cognitive ergonomics.We identify design tradeoffs (e.g. flexibility in locally defining decisions versus making it easy to understand a multiverse’s global structure), and suggest future directions for multiverse tool design, like more effective debugging support.

Citation

BibTeX

@inproceedings{sarma2023multiverse,
  title={multiverse: Multiplexing alternative data analyses in R notebooks},
  author={Sarma, Abhraneel and Kale, Alex and Moon, Michael Jongho and Taback, Nathan and Chevalier, Fanny and Hullman, Jessica and Kay, Matthew},
  booktitle={Proceedings of the 2023 CHI conference on human factors in computing systems},
  pages={1--15},
  year={2023}
}