UW Interactive Data Lab
Papers
Eunice Jun, Maureen Daum, Jared Roesch, Sarah E. Chasins, Emery Berger, René Just, Katharina Reinecke
Sample Tea program. The specification outlines an experiment to analyze the relationship between geographic location (‘So’) and probability of imprisonment (‘Prob’) in a common USCrime data set [49, 24]. See Section 2 for an explanation of the code. Tea programs specify 1) data, 2) variables, 3) study design, 4) assumptions, and 5) hypotheses.
Abstract
Though statistical analyses are centered on research questions and hypotheses, current statistical analysis tools are not. Users must first translate their hypotheses into specific statistical tests and then perform API calls with functions and parameters. To do so accurately requires that users have statistical expertise. To lower this barrier to valid, replicable statistical analysis, we introduce Tea, a high-level declarative language and runtime system. In Tea, users express their study design, any parametric assumptions, and their hypotheses. Tea compiles these high-level specifications into a constraint satisfaction problem that determines the set of valid statistical tests and then executes them to test the hypothesis. We evaluate Tea using a suite of statistical analyses drawn from popular tutorials. We show that Tea generally matches the choices of experts while automatically switching to non-parametric tests when parametric assumptions are not met. We simulate the effect of mistakes made by non-expert users and show that Tea automatically avoids both false negatives and false positives that could be produced by the application of incorrect statistical tests.
Materials
Citation
Eunice Jun, Maureen Daum, Jared Roesch, Sarah E. Chasins, Emery Berger, René Just, Katharina Reinecke
ACM User Interface Software & Technology (UIST), 2019