Interactive and Automated Data Analysis: thoughts from Di Cook, Hadley Wickham, Jessica Hullman, and others

As discussed last week, I recently participated in a workshop at the Turing Institute in London with Jessica and others on the topic of interactive and automated data analysis, organized by Cagatay Turkay and Roger Beecham.

One of the products of that workshop was a series of short papers:

Some risks and opportunities of automated data analysis, by Daniel Archambault, Roger Beecham, Andrew Gelman, Jessica Hullman, and Edwin Pos

Navigating the Foggy Garden of Forking Paths, by Benjamin Bach, Hadley Wickham, Jo Wood, Kai Xu

Humans all the way down: statistical reflection and self-critique for interactive data analysis, by Di Cook, Rachel Franklin, Cagatay Turkay, Mari-Cruz Villa-Uriol, Levi Wolf

Forking paths and workflow in statistical practice and communication, by Andrew Gelman

Enjoy.

Forking paths in LLMs for data analysis

This is Jessica. I spent last week at a workshop where we were asked to prepare a short provocation related to interactive data analysis (same workshop Andrew mentioned already).  In thinking about what could be said about the future of data analysis on the way there, I decided one can’t really consider the future of data analysis, including how to address issues of forking paths and replicability, without considering LLMs. 

This seemed like the right direction given that they asked for a provocation. After all, what better way to put people on edge these days than the cliche and annoying move of changing the topic of what is meant to be a serious academic conversation to focus on LLMs? 

But I was also being sincere. After I started thinking about it, the thought of spending a week thinking and talking about the future of interactive data analysis without engaging at all with language models seemed irresponsible in light of the current moment. 

For one, LLMs are already being used for scientific purposes beyond just writing and coding suggestions. Summarization and qualitative analysis of text corpora, simulating outcomes of large social systems, generating digital twins for individuals to estimate individual-level counterfactuals in medical trials, and so on. And so naturally researchers are exploring their use as general purpose tools for data-driven analysis and visualization. Wrapper systems that take a high level analysis goal like “analyze last year’s sales data” and interface with an LLM (and access to other statistical tools, e.g., for fitting the models) for the user are being developed. 

And some people are already doing exploratory forms of data analysis with them. For instance, OpenAI has a page on their site dedicated to their expanding features for ChatGPT-supported data analysis, with quotes like this:

ChatGPT is part of my toolkit for analyzing customer data, which has become too large and complex for Excel. It helps me sift through massive datasets, allowing me to conduct more data exploration on my own and reduce the time it takes to reach valuable insights.

Or this:

ChatGPT walks me through data analysis and helps me better understand insights. It makes my job more fulfilling, helps me learn, and frees up my time to focus on more strategic parts of my job.

To many people who care a lot about data analysis this may seem horrifying. But increasing the level of automation in data analysis workflows has been happening for years. It’s often our goal in our own personal practice to automate the tedious steps of modeling workflow and identify patterns and protocols to guide us through the harder decisions. So I find it interesting to reflect on why we might react especially negatively to the idea of incorporating greater levels of assistance and automation via LLMs. 

As a thinking prompt, imagine yourself before you knew much about stats. You have some data to analyze and can get help from either:

  1. A rule-driven assistant that has you answer some multiple choice questions about your goals and data spec and then recommends a modeling approach or test
  2. A (human) statistics consultant with an advanced stats degree who has a conversation with you then makes recommendations and is available to provide review as you complete your analysis.
  3. An LLM that attempts to perform the same role as the human consultant. 

What makes these options seem different, and do any of these differences lead us to believe one is much better than the others? 

One difference would seem to be that two of these things are blackboxes, which we might expect to be more unpredictable in output than the other. It seems easier to evaluate how #1 could fail. Its specification is more concise and interpretable. We would expect #2 and #3 to produce output for a much wider range of inputs, and the outputs might vary a bit depending on how you approach them, when you ask them, etc., making evaluation harder. Comparing the human consultant to the LLM, we would expect the LLM to have ingested a lot more examples, good and bad, and a lot more statistics texts. There’s potentially a huge amount of signal and a huge amount of noise in all this, and we don’t understand fully how it’s getting combined. The human’s training data and synthesis process is also hard to delineate. But maybe still more debuggable in that we might expect them to respond based on some smaller set of principles or protocols or heuristics that they refer to to organize their behavior. 

There are many other dimensions we could compare them along – learning rate, awareness of conventions across different domains, etc. Are any of the dimensions on which they vary enough to make one of them seem necessarily better? Do we believe that whatever level of machine assistance we are using now is the optimal level, and that an LLM couldn’t improve upon it? I don’t necessarily have answers or even strong opinions, but I find it interesting to think about.

I suspect some of the resistance to LLMs as analysis assistants stems from fears of further ratcheting up mindlessness in data analysis. We know that regardless of our noble attempts as researchers to educate on what good modeling practice looks like, many people seem to prefer a ritualized approach where statistical analysis is a black box that takes in data and spits out answers. LLMs are threatening because they would seem to make this kind of approach easier. For example, dealing with data formatting issues remains a major time-sink in analysis, especially for users who are not programmers, but ChatGPT at least superficially seems tolerant of whatever you want to paste in. This isn’t to say it won’t err to different extents with different formats, prompts etc., just that the interface is more opaque, which can give a sense of troubles being alleviated.

There’s also fear of “lowest common denominator” analyses, where the user pastes in their data and question and the model recommends or runs whatever is most popular. And of “poisoning the well” when people publish AI-assisted analysis results that exemplify this “data analysis for the masses” vibe which get pumped back into the model as training data.

Compared to code suggestions, which is where they are most likely to be used in modeling workflows today, looking to them for data analysis seems closer to letting them tell us what to believe (since learning from data is often about updating our beliefs). 

I wonder though how much the hesitance to consider AI-driven data analysis is the knee-jerk reaction that somehow human domain knowledge needs to be unrestricted and its application left open-ended, that anything iterative and interactive must be left to human control. As if even if we can better attain our stated scientific goals with AI, it will ultimately somehow still be worse.  I sense this attitude in fields like human-computer interaction and data visualization, where people sometimes resist the thought of formalizing the goals of some human-computer interaction, as if that automatically equates to taking agency from the human. When it comes to topics like visual data analysis it’s like we would prefer to just trust that the human knows what they are doing and will apply their domain knowledge in the most appropriate ways. 

This ignores that when we leave things fully to the human at the highest level, that is also a design choice, one that usually makes problems harder to find because we’re less clear on what we’re looking for. So I tend to think that when the thought of formalizing or automating some task makes us prickly, it’s probably something we could learn from thinking more about. If nothing else, the exercise of trying to imagine a data analysis assistant that optimally pairs human domain knowledge with AI-driven suggestions forces us to reflect a little harder on what exactly we think the human is doing/adding at each step, which is why I find it generative for thinking about the future of data analysis tools.  

I recall Andrew saying something during the workshop along the lines of ‘When it comes to data analysis we all like to think that our particular combination of flexibility and rigor is somehow the right balance.’ Which implies that we don’t think it’s obvious how to combine domain knowledge with methods, and we don’t necessarily trust others to figure it out. Why would we want to add another agent we don’t fully understand into the mix? Perhaps it’s natural to hesitate a bit when we sense boundaries in our knowledge, because we don’t want to make mistakes.

Ultimately, I’m not advocating for everyone working on data analysis tools to start thinking about LLMs. But I also don’t think we should let our knee-jerk resistance keep us from considering the bigger picture. Presumably there are also many ways in which they could help human analysts overcome limitations. For example, lately I’ve been thinking about how a paradox of learning from data is that you can’t do it without a good imagination. Many of the human errors we point out in data analysis can be attributed to a lack of ability to entertain multiple possibilities. We like to suppress and reduce uncertainty, not maintain it as we go. We don’t do sensitivity analyses as much as we should, nor take the results as seriously as we should. We don’t engage deeply with many of the assumptions behind standard choices. We regularly ignore forms of multiplicity, from the fact that the same ATE can be consistent with very different patterns of heterogeneity at the individual level to the way a machine learning pipeline can return a set of seemingly equivalently performing models. 

Part of the problem is that analysis is cognitive demanding, and there’s only so much we can keep in mind at once. Remaining aware of how different assumptions made along the way subtly impact the interpretation of results might be too high a bar for a person. Maybe designing LLM-based assistants with the express goal of helping us keep track of and critique assumptions, uncertainties, multiplicity, etc., and interrupt us with them at the right times could help curb overinterpretation of results.

It could also be interesting to think about how multiple agents who perform different roles (and get different access to different parts of the problem, including the data) could be combined to get around the various problems of leakage or data conditioning that we see in practice. The challenge is not boxing ourselves in by assuming overly strict designs, but that’s been true for all attempts to integrate more automation in data analysis.

Of course, simulating nuanced use of imagination to drive analysis will require learning what it looks like from somewhere. Ultimately factors like the availability of good prior analyses and our lack of sufficient control in how models are fine-tuned may be major challenges. I’m curious what else.

P.S. It occurs to me this post is partly about how different people react when they see something in their domain of expertise that could be a train wreck starting to occur. Do you jump in and try to redirect it, or avoid the situation altogether? I guess in this case I’m advocating that at least some of the experts jump in.

Forking paths and workflow in statistical practice and communication

I recently participated in a workshop on theoretical foundations for interactive data analysis in data-driven science with the theme, “Navigating the garden of forking paths.” The issue here was not the impact of forking paths on p-values but rather how to better understand the open-ended nature of exploratory analysis and discovery, a topic that we’ve also been thinking about regarding statistical modeling workflow.

As a contribution to this workshop (see also Jessica’s contribution here), I have compiled here some thoughts (pdf version is here), which I’ve divided into two categories: statistical practice and communication. “Statistical practice” includes graphical exploration as well as more traditional model-based inference, and “communication” includes the sociological processes of science.

A recurring theme here is the connection between research goals, scientific discovery, and mathematical/computational tools.

Some thoughts on forking paths in statistical practice:

Statistical practice as scientific exploration. When you do applied statistics (more generally, “interactive data analysis”), you’re acting like a scientist. You form hypotheses, gather data, run experiments, modify your theories, etc. Here, we’re not talking about hypotheses of the form “theta = 0” or whatever; we’re talking about hypotheses such as, “N = 200 will be enough for this study” or “A parallel coordinates plot might reveal an unexpected pattern in these data” or “Instrumental variables should work on this problem” or “We can safely use the normal approximation here” or “We really need to include a measurement-error model here” or “The research question of interest is unanswerable from the data we have here; what we really need to do is . . .”, etc. Existing treatments of statistical practice and workflow (including in our own textbooks) do not fully capture the way that the steps of statistical design, data collection, analysis, and decision making feel like science.

The trail of breadcrumbs. To understand and trust such an analysis it is helpful to have a “trail of breadcrumbs” connecting data, theory, and conclusions. Here’s a story to illustrate this point. Gartzke (2007) performed an analysis to distinguish between two theories in international relations: the “democratic peace” (which postulates that democratic countries do not go to war) and the “capitalist peace” (under which the key factor is trade, not political deliberation). As Gartzke puts it, “both democracies and capitalist dyads appear never to fight wars. Still, determining more about these relationships, and their relative impact on war, requires that we move beyond cross tabs.” Based on his regression analysis, he concludes that the evidence suggests that “capitalism, and not democracy, leads to peace.” The question then arises: Where in the data can this distinction be made? In regression analysis predicting war (more generally, “militarized interstate disputes”) from numerical measures of democracy, capitalism, and various other characteristic dyads of countries over time. Capitalism and democracy are highly correlated in the data, so for the regression to untangle their predictive effects, there should be some warring dyads that were democratic but not capitalistic. The decisive data perhaps come from the wars in 1990s in the former Yugoslavia, when Serbia, Bosnia, and Croatia were democracies but did not yet have capitalist economic systems. The point of this story for our purposes here is that when a data-driven analysis leads to a discovery, the logical next step is to open the black box and understand what in the data led to this conclusion. Some analysis and visualization tools are well-suited to this process; with other methods, such as regression analysis, this opening-up process is not so easy, and this represents an important path for future research.

Moving beyond the push-a-button, take-a-pill model of science. There is a replication crisis in much of science, and the resulting discussion has focused on issues of procedure (preregistration, publication incentives, and so forth) and statistical concepts such as p-values and statistical significance. But what about the scientific theories that were propped up by these unreplicable findings—what can we say about them? Many of these theories correspond to a simplistic view of the world, with push-button interventions that are summarized by their “treatment effects.” Real-world effects vary among people and over time, and estimates of localized effects will typically be very noisy. As a consequence, it’s unrealistic to expect theory-free inference to yield stable estimates. Statistical significance and forking paths are the least of our problems here. Instead we recommend considering mechanistic or process-based modeling, where possible measuring and modeling intermediate outcomes. A simple example is to model tumor sizes in a cancer drug rather than just looking at a binary success/failure outcome.

Exploratory data analysis and implicit models. Data visualization and exploratory analysis have often been thought to be unrelated to or in competition with statistical modeling. When thought of in terms of workflow, though, exploration and modeling can be seen as closely related. Start with the idea that exploratory analysis is for discovering unexpected patterns in data: as Tukey (1972) put it, “graphs intended to let us see what may be happening over and above what we have already described.” Lurking behind the unexpected is the expected, and indeed the better we can model our data, the more we can learn from our data graphics. Models guide our explanations; conversely, exploratory discoveries can be viewed as model checks (Gelman, 2004, Hullman and Gelman, 2021).

Here’s a standard paradigm of data analysis, which we do not like because we prefer to think of all data analysis as exploratory:
– Step 1: “Exploratory data analysis.” Some plots of raw data, possibly used to determine a transformation.
– Step 2: The “main analysis”—maybe model-based, maybe non-parametric, whatever. It is typically focused, not always recognized as exploratory.
– Step 3: That’s it.
We can do better than Step 3 by integrating Steps 1 and 2. A good model can make exploratory data analysis much more effective and, conversely, we’ll understand and trust a model a lot more after seeing it displayed graphically along with data.

The fractal nature of scientific revolutions. Scientific progress is self-similar (that is, fractal): each level of abstraction, from local problem solving to big-picture science, features progress of the “normal science” type, punctuated by occasional revolutions. The revolutions themselves have a fractal time scale, with small revolutions occurring fairly frequently (every few minutes for an exam-type problem, up to every few years or decades for a major scientific consensus). At the largest level, human inquiry has perhaps moved from a magical to a scientific paradigm. Within science, the dominant paradigm has moved from Newtonian billiard balls, to quantum, to evolution and population genetics, to neural computation. Within, say, psychology, the paradigm has moved from behaviorism to cognitive psychology. On smaller scales, too, we see paradigm shifts. For example, in working on an applied problem, we typically will start in a certain direction, then suddenly realize we were thinking about it wrong, then move forward, etc etc. In a consulting setting, this reevaluation can happen several times in a couple of hours. At a slightly longer time scale, we might reassess our approach to an applied problem after a few months, realizing there was some key feature we were misunderstanding. This normal-science and revolution pattern ties into a Bayesian workflow cycling between model building, inference, and model checking.

The multiverse. The point of the “forking paths” metaphor in statistics is that multiple comparisons can be a problem, even when there is no “fishing expedition” or “p-hacking” and the research hypothesis was posited ahead of time. Indeed, often we can look at existing literature or even a single published article containing multiple studies to get a sense of the “multiverse” spanned by possible choices of data coding and analysis. Steegen et al. (2016) give an example of a literature in evolutionary psychology in which fertility was assessed in five different ways, menstrual onset was defined in three different ways, relationships were categorized in three different ways, and so forth, leading to 168 different options.

Forking paths are a good thing. It is good to analyze data in different ways! The mistake is to choose just one. Rather than reporting the best result and then adjusting the analysis for multiple comparisons, we recommend performing all of some set of comparisons of interest and then using multilevel modeling to learn from the ensemble. This is what we mean when we say that we usually don’t have to worry about multiple comparisons (Gelman, Hill, and Yajima, 2012). “Forking paths” can be taken as a criticism of naive interpretations of p-values; it is not a criticism of flexible data analysis and exploration in science.

Visualization of uncertainty. Just as the individual beliefs and behaviors are best understood in a social context, probabilities are best understood in relation to the probabilities of other events. For example, in the 2020 U.S. election, Joe Biden was far ahead in national and state polls, but the probabilistic forecast needed to account for the possibility of systematic polling error. These graphs, which show probabilistic forecasts of Biden’s electoral vote conditional on polling error, are more informative than unconditional distributions.

In the event, the polling error was about 2.5 percentage points, and the final election was close.

Variation. Often what we learn from interactive data analysis are patterns of variation: a treatment that works in some settings but not others, geographic variation, behavioral differences between young and old people, and so forth. This is not about “forking paths” in the sense of different approaches to a single problem, but rather that data-driven science can lead us to see complexity, and this can be facilitated by modern workflows. To the extent that data graphics is automated and systematized (as with the grammar of graphics and the tidyverse in R), analysts can make graphs with less friction and will be more able to discover interesting and important variation.

Statistics as the science of defaults. Applied statistics is sometimes concerned with one-of-a-kind problems, but statistical methods are typically intended to be used in routine practice. This is recognized in classical theory (where statistical properties are evaluated based on their long-run frequency distributions) and in Bayesian statistics (averaging over the prior distribution). In computer science, machine learning algorithms are compared using cross-validation on benchmark corpuses, which is another sort of reference distribution.

Statisticians have standard estimates for all sorts of models, books of statistical tests, and default settings for everything. Statistical software has default settings, and even the choice of package to be used could be considered a default. More generally, much of the job of statisticians is to devise, evaluate, and codify methods that will be used by others in routine practice.

Automatic behavior is not a bad thing! When we make things automatic, users can think at the next level of abstraction. For example, push-button linear regression allows researchers to focus on the model rather than on how to solve a matrix equation, and it can even take them to the next level of abstraction and think about prediction without even thinking about the model. As teachers and users of research, we then are (rightly) concerned that lack of understanding can be a problem, but it’s hard to go back. We might as well complain that the vast majority of people drive their cars with no understanding of how those little explosions inside the engine make the car go round.

Dense data and sparse model, or sparse data and dense model. Tibshirani (2014) writes of the “bet on sparsity” principle: “The l1 methods assume that the truth is sparse, in some basis. If the assumption holds true, then the parameters can be efficiently estimated using l1 penalties. If the assumption does not hold—so that the truth is dense—then no method will be able to recover the underlying model without a large amount of data per parameter.” This reasoning applies to a world in which data are dense and underlying reality is sparse, a setting that arises in many areas of science and engineering. For example, a surveillance video has a huge amount of information which can be summarized in very few dimensions as the motion of a few people over time; or a long gene sequence can be studied with the goal of classifying people into a small number of disease-risk categories.

In other applications, data are sparse and the underlying reality is dense. In social and environmental sciences, pretty much no effects being studied are zero—but many of these effects will be lost in the noise if we attempt to learn them from data. For such problems, we do not want to assume or bet on sparsity; rather, we should accept complexity and variation while recognizing the limitations of our data and models. If we do use regularization techniques that induce sparsity when working in social science and policy, we should not kid ourselves that we have discovered fundamental sparse structures. It is helpful here to consider the thought experiment, “What would happen if we got tons and tons more data?” In that case we would surely discover further structure in the world. At its best, data-driven science tells us what we can learn right now, not what can be discovered in the future.

Simulation-based experimentation. Data analysis can be expensive in time and effort, and this can lead to us thinking that if a project took a lot of work then it has to be good. To state that belief is to mock it, yet it persists.

How can we avoid what might be called the “fallacy of effort”? We recommend simulation-based experimentation, which requires the following steps: (1) create a fake world, (2) simulate parameters and data from this world, (3) analyze the simulated data and get inference for the underlying parameters, (4) compare those inferences to the parameter values simulated in step 2. This can be done systematically in a Bayesian context (Modrák et al., 2024) but in practice informal checking can work just fine, in that problems will often show up in a simple simulation.

Creating a fake world is not easy—if analyzing a dataset is like playing Sim City, simulating fake data is like writing Sim City—but this effort can be well worth it, not just for the benefit of uncovering problems and the increased confidence arising from successful recovery, but also because constructing a simulation experiment is a way to clarify our thinking. Indeed, we often recommend simulating fake data before embarking on any real-world data collection process, to get a sense of what can realistically be learned from a proposed design.

Some thoughts on forking paths in communication:

Your most important collaborator. Your most important collaborator is you, six months ago—and she doesn’t answer email. One implication of this principle is that presentation graphics should not be so different from exploratory research graphics. When graphing data just for yourself, you want to make the patterns as clear as possible, which is also what you want for other audiences. A clear message and purpose, a crisp and transparent design, readability—these things are important for you too.

More generally, the collaboration principle points to the value of understanding the paths of our interactive data analyses: this includes keeping some record of what is being done, along with the development of software that facilitates a workflow with parallel analyses.

What is the purpose of the methods section? A frustrating aspect of science papers is that the methods section doesn’t fully describe what was actually done. It can take a lot of sleuthing to figure out how to reconstruct published results—and that doesn’t even get into all the things that got tried that didn’t get written up! Even when you include any published supplementary information, you still typically don’t see key details such as the wording and ordering of survey questions. Even if you set aside the possibility of scientific misconduct, people have difficulty writing up exactly what they did. With masters or doctoral thesis, you’ll often find that the bulk of the thesis is review material: students are writing up the book they wish they’d been given to read at the outset of the project. Then when you get to the parts of the thesis that describe the new material, you won’t see the data you need.

Why is it that researchers have such difficulty writing up exactly what they did? Setting aside fraud, writing up what you did should be the easiest thing to do! We have a couple of theories on this: (1) Students are used to reading textbooks and other materials written in general terms. It’s natural for them to imitate that style when they start to write for publication; (2) The ultimate goal of science writing is to increase collective understanding, but the immediate goal is acceptance (by the journal editors, the thesis committee, the boss, or whoever decides whether the report goes forward). And, for various reasons, it doesn’t seem that this acceptance requires or is even facilitated by a full and clear description of what you actually did.

Preregistration as a floor, not a ceiling. There is a concern that preregistration stifles innovation: if Fleming had preregistered his study, he never would’ve noticed the penicillin mold, etc. Our response is that preregistration is a floor, not a ceiling. Preregistration is a list of things you plan to do, that’s all; it does not stop you from doing more. If Fleming had followed a pre-analysis protocol, that would’ve been fine: there would have been nothing stopping him from continuing to look at his bacterial cultures. It can be really valuable to preregister, to formulate hypotheses and simulate fake data before gathering any real data. To do this requires assumptions—it takes work!—and we think it’s work that’s well spent. And then, when the data arrive, do everything you’d planned to do, along with whatever else you want to do.

Honesty and transparency are not enough. Reproducibility is great, but if a study is too noisy (with the bias and variance of measurements being large compared to any persistent underlying effects), that making it reproducible won’t solve those problems. Reproducibility (or, more generally, “honesty and transparency”) has been oversold, and we don’t want researchers to think that, just because they drink the reproducibility elixir, that their studies will then be good. Reproducibility makes it harder to fool yourself and others, but it does not turn a hopelessly noisy study into good science. We want to be able to say that a particular project is hopeless without implying that the researchers involved are being dishonest. Lots of people do research that’s honest, transparent, and useless! That’s one reason we prefer to speak of “forking paths” rather than “p-hacking”: it’s less of an accusation and more of a description.

“Rigor” as a slogan and the Chestertonian principle. Extreme skepticism is a form of credulity. This principle arises in politics, as with conspiracy theorists, and also in scientific method, where concerns of rigor can lead to a conceptual vacuum that is filled by something closer to pure speculation. Statistics textbooks will sometimes imply that causal inference is impossible without randomized experimentation and that population inference is impossible without random sampling—a position that is ridiculous given that real-world surveys of humans are almost never random samples or even close to that.

Rigor is important, though! Rigorous reasoning connects our analyses and conclusions to our theories (the trail of breadcrumbs mentioned earlier in this document). Understanding how our samples are not random is the first step toward adjusting for biases and quantifying possible errors. We should not think of rigor as being opposed to interactive data analysis.

Feeling disrespected. Those of us who work in data visualization and data-analysis workflow have long felt disrespected by theoreticians and proponents of often-spurious rigor. This can be annoying. For example, a theoretical statistician once wrote, “The particle physicists have left a trail of such confidence intervals in their wake. Many of these parameters will eventually be known (that is, measured to great precision). Someday we can count how many of their intervals trapped the true parameter values and assess the coverage. The 95 percent frequentist intervals will live up to their advertised coverage claims.” Maybe not! Based on the historical record, physicists’ intervals have not lived up to their advertised coverage (see Wasserman, 2008, and Gelman, 2008). Conversely, theorists can feel dissed by practitioners who don’t recognize the ways in which applied work has benefited from theoretical understanding. The relevance to the present discussion is that when considering communication we need to consider some of the social background context of specific scholarly disputes. There is a sort of Escher stairway, in which visualization experts feel disrespected by theorists, and theorists feel disrespected by applied practitioners.

The conditions leading to the replication crisis in psychology and other fields. Just as it is said that our modern megafires arise from having forests full of trees, all ready to ignite and preserved in that kindling-like state by firefighting policies that have favored preservation of existing trees over all else, so has the replication crisis been fueled by a decades-long supply of highly vulnerable research articles, kept in their pristine state through an active effort of leaders of the academic psychology establishment to suppress criticism of any published work. We are not claiming that psychology is worse than other fields; rather, psychology has lots of experiments which are easy to replicate (unlike in fundamentally observational fields such as economics and political science) and which are inexpensive in time, money, and lives (unlike in medicine or education research). Other fields also have woods that are ready to burst into flames, but the matches have not yet been struck in sufficient quantity.

Goals/audience, solutions, self-criticism. It is easy when working on a problem to jump in the middle. In our workflow we should remember to step back and consider our ultimate and proximate goals. The ultimate goal might be to make some policy decision or to crack some scientific problem; the proximate goal might be to bring a project to a conclusion—maybe better to say a stable intermediate state—so that it is publishable. And that is not a cynical goal: if research is worth doing, it’s worth sharing. Also relevant is the audience. When writing, you should choose your target audience, while realizing that others may read your document too. And you should also criticize the solutions you are offering. Even in a purely positive presentation, criticisms can take the form of delineating the boundaries outside of which your solutions will not work.

The politics of the science reform movement. The core of the science reform movement (the Open Science Framework, etc.) has had to make all sorts of compromises with conservative forces in the science establishment in order to keep them on board. Within academic psychology, the science reform movement arose from a coalition between radical reformers (who viewed replications as a way to definitely debunk prominent work in social psychology they believed to be fatally flawed) and conservatives (who viewed replications as a way to definitively confirm findings that they considered to have been unfairly questioned on methodological grounds). As often in politics, this alliance was unstable and has in turn led to “science reform reform” movements from the “left” (viewing current reform proposals as too focused on method and procedure rather than scientific substance) and from the “right” (arguing that the balance has tipped too far in favor of skepticism).

The importance of stories. Storytelling is central to science, not just as a tool for broadcasting scientific findings to the outside world, but also as a way that we as scientists understand and evaluate theories. For this purpose, a story should be anomalous and immutable; that is, it should be surprising, representing some aspect of reality that is not well explained by existing models of the world, and have details that stand up to scrutiny.

This raises a paradox: learning from anomalies seems to contradict usual principles of science and statistics where we seek representative or unbiased samples. We resolve this paradox by placing learning-within-stories into a hypothetico-deductive (Popperian) framework, in which storytelling is a form of exploration of the implications of a hypothesis. This back-and forth connects to the above-discussed idea of the fractal nature of scientific revolutions and, more generally, to the forking paths of interactive data exploration.

The foxhole fallacy and the pluralist’s dilemma. In an article entitled, “No Bayesians in foxholes,” the statistician Leo Breiman (1997) made the confident and false statement that, “when big, real, tough problems need to be solved, there are no Bayesians.” It would be more accurate to say that Breiman was not aware of any such examples and indeed seemed to put in some effort to avoid finding them. What’s funny is that he couldn’t just say that he had made great contributions to statistics, and others had made important contributions to applied problems using Bayesian methods. He had to go beyond his expertise and exhibit the “foxhole fallacy,” whereby someone does not seem to be able to believe that other people can legitimately hold views different from theirs. Related to this is the pluralist’s dilemma: how to recognize that our approach is just one among many, that our own embrace of this approach is contingent on many things beyond our control, while still expressing the reasons why we prefer our approach to the alternatives (at least for the problems we work on). When considering scientific exploration and communication, we keep returning to this issue.

Taking political attitudes seriously. A challenge in science communication is when people have preconceived notions and are not open to following the data or willing to accept empirical results. This is related to the “law of small numbers” fallacy identified by Tversky and Kahneman (1971), that there is an expectation that all evidence on a topic should go in the same direction.

When it comes to policy analysis, there are two ways to resolve this problem. From one direction, we want to develop tools for better communication of research results so that strong findings can be persuasive to skeptics (while continuing the work of science reform that is focused on assuring that weak evidence is not overstated). From the other direction, we have to accept that some stakeholders are not about to change their policy positions, perhaps because of legitimate external reasons. For example, a study could be performed estimating the economic effects of some social policy, but a policy maker might already favor (or oppose) the policy because of concerns of cost, ethics, or other outcomes. Even in a pure science context, a researcher might have a prior commitment to a line of research that is too strong to be shaken by any single study.

What to do when working with people who are expected to hold a fixed position? We propose to avoid the usual frustrations by accepting this position and flipping it around, asking the question: Given that this larger policy or theoretical position is fixed, how would these people incorporate new evidence into their understanding? The point is to avoid painting people into a corner. For example, suppose someone is committing to thinking that a certain drug treatment is a good idea, and then data come in showing no effect. Allow the believer to say something like, “Even if this drug does not work in this particular setting, I believe it works elsewhere,” or “Even if this drug is ineffective, I support that a general policy of approving more treatments will on average lead to improvements by encouraging innovation,” or whatever. There is no need to agree with such a position; the point is that this kind of exchange moves the discussion forward, rather than everything getting stalled on a refusal to accept new evidence or a refusal to discount a discredited evidential claim.

References

Leo Brieman (1997). No Bayesians in foxholes. IEEE Expert 12 (6), 21-24.

Erik Gartzke (2007). The capitalist peace. American Political Science Review 51, 166-191.

Andrew Gelman (2004). Exploratory data analysis for complex models (with discussion). Journal of Computational and Graphical Statistics 13, 755-779.

Andrew Gelman (2008). Objections to Bayesian statistics (with discussion and rejoinder). Bayesian Analysis 3, 445-477.

Andrew Gelman, Jennifer Hill, and Masanao Yajima (2012). Why we (usually) don’t have to worry about multiple comparisons. Journal of Research on Educational Effectiveness 5, 189-211.

Andrew Gelman and Eric Loken (2013). The garden of forking paths: Why multiple comparisons can be a problem, even when there is no “fishing expedition” or “p-hacking” and the research hypothesis was posited ahead of time. https://stat.columbia.edu/~gelman/research/unpublished/forking.pdf

Andrew Gelman, Aki Vehtari, Daniel Simpson, Charles C. Margossian, Bob Carpenter, Yuling Yao, Paul-Christian Bürkner, Lauren Kennedy, Jonah Gabry, and Martin Modrák (2020). Bayesian workflow. https://stat.columbia.edu/~gelman/research/unpublished/Bayesian_Workflow_article.pdf

Jessica Hullman and Andrew Gelman (2021). Designing for interactive exploratory data analysis requires theories of graphical inference (with discussion). Harvard Data Science Review 3 (3).

Martin Modrák, Angie H. Moon, Shinyoung Kim, Paul Bürkner, Niko Huurre, Kateřina Faltejsková, Andrew Gelman, and Aki Vehtari (2024). Simulation-based calibration checking for Bayesian computation: The choice of test quantities shapes sensitivity. Bayesian Analysis.

Robert Tibshirani (2014). In praise of sparsity and convexity. In Past, Present, and Future of Statistical Science, ed. Xihong Lin, Christian Genest, David Banks, Geert Molenberghs, David Scott, and Jane-Ling Wang. CRC Press.

John W. Tukey (1972). Some graphic and semigraphic displays. In Statistical Papers in Honor of George W. Snedecor, ed. T. A. Bancroft. Iowa State University Press.

Amos Tversky and Daniel Kahneman (1971). Belief in the law of small numbers. Psychological Bulletin 76, 105-110.

Larry Wasserman (2008). Comment on “Objections to Bayesian statistics,” by Andrew Gelman. Bayesian Analysis 3, 463-465.

Some fun basketball graphs

Aki pointed me to these graphs from Kirk Goldsberry. A few years old now, but still fun:

The above graph would be good one for my communications class. Some good features:

1. Clear title and labeling: That’s important. It helps for readers to get the point right away.

2. Juxtaposition of multiple small plots. I’d actually prefer a series of three plots—1997, 2009, 2019—as that would make the trajectory even clearer. Also, are the data available to go back in time before 1997? That would be interesting too. In general I would like time series to be longer.

I don’t think the color scheme is ideal. You can kind of figure it out because the patterns are locally monotonic, so you can see which areas have higher rates, but my general feeling about this kind of sharp color change is that it can create visual artifacts and distort our understanding of the data. I still love this graph; I just think that there’s some room for improvement. Here’s another where I think the color scheme gets in the way.

Here’s another great graph:

Super-clean, super-clear, makes the point very well. It reminds me of a general point in statistics, that the best thing is not to have an amazing method but to ask a good question and get good data.

And here are a couple of possible improvements:

– If the data are available, extend the line earlier in time.

– Add another line for when Jordan was playing, showing his own percentage of this sort of shot. The graph says it’s his favorite shot; let’s see the data.

– Include other lines or plots showing other shots. Why not?

Again, it’s no criticism of these graphs to say that they maybe could be improved. That’s how we can appreciate art: not just by staring at it and saying how great it is, but thinking about how it could be different.

P.S. Goldsberry has a webpage that links to a bunch of cool basketball-related images. Unfortunately (from my perspective), he seems to have moved away from statistical visualizations and gone more in the direction of infographics, for example here:

This is fine—who am I to say how he should best reach his audience?—it’s just not focused a bit less on communicating patterns in the data and a bit more on creating a visual impression. I’m guessing that Goldsberry makes lots of statistical graphics on the way to constructing each of these visualizations. His webpage features lots of amusing basketball cartoons with a distinctive visual style, so I can kinda see where he’s going here.

New online Stan course: 80 videos + hosted live coding environment

Scott Spencer and AthlyticZ have a new online Stan course coming out soon and it looks fantastic! Scott has a ton of experience with Stan and is a great teacher (we’ve co-taught in-person Stan classes together several times). The course uses examples from sports, but the coding and modeling techniques are applicable to any domain. Check out Scott’s post on the Stan forum for all the details.

“Beyond the black box: Toward a new paradigm of statistics in science” (talks this Thursday in London by Jessica Hullman, Hadley Wickham, and me)

Sponsored by the Alan Turing Institute, the talks will be Thurs 20 June 2024, 5:30pm, at Kings College London. You can register for the event here, and here are the titles and abstracts of the three talks:

Beyond the black box: Toward a new paradigm of statistics in science

Andrew Gelman

Standard paradigms for data-based decision making and policy analysis fail and have led to a replication crisis in science – because they can’t handle uncertainty and variation and don’t seriously engage with the quality of evidence. We discuss how this has happened, touching on the piranha problem, the butterfly effect, the magic number 16, the one-way-street fallacy, the backpack fallacy, the Edlin factor, Clarke’s law, the analysts’s paradox, and the greatest trick the default ever pulled. We then discuss ways to go beyond the push-a-button, take-a-pill model to a more active engagement of data in science.

Data Analysis as Imagination

Jessica Hullman

Learning from data, whether in exploratory or confirmatory analysis settings, requires one to reason about the likelihood of many competing explanations. However, people are boundedly rational agents who often engage in pattern-finding at the expense of recognising uncertainty or considering potential sources of heterogeneity and variation in the effects they seek to discover. Taking this seriously motivates new classes of interface tools that help people extend their imagination in hypothesising and interpreting effects.

Data science in production

Hadley Wickham

This talk will discuss what it means to put data science “in production”. In industry, any successful data science project will be run repeatedly for months or years, typically on a server that can’t be worked with interactively. This poses an entirely new set of challenges that won’t be encountered in university classes, but that are vital to overcome if you want to have an impact in your job.

In this talk, Hadley discusses three principles useful for understanding data science in production: not just once, not just one computer, and not just alone. Hadley discusses the challenges associated with each and, where possible, what solutions (both technical and sociological) are currently available.

Enjoy.

Papers on human decision-making under uncertainty in ML venues! We have advice.

This is Jessica. Human subjects experiments are starting to appear in machine learning venues. For example, ICML, one of the big ML conferences, accepted a few papers on quantifying prediction uncertainty with user studies.  

Overall, I’m glad to see this. Theoretically rigorous uncertainty approaches that provide calibration or coverage guarantees may not be worth the effort (e.g., in terms of the model retraining or holding out of additional data that they require) if providing that information doesn’t impact human decisions, or leads to under- or overreliance. We know from decades of research that people can seem to resist uncertainty information or use it inappropriately. 

But it’s also important to acknowledge that human decision-making under uncertainty can be tricky to study. Details matter. In my own experimental work I’ve had multiple moments where I realized something new about how people were making decisions that I hadn’t necessarily considered a few studies earlier. So I have some advice on this topic. 

First, some points specific to studying uncertainty quantification:

  1. Make sure that the question you are asking about the value of uncertainty is truly about human behavior, and therefore requires an experiment. Consider that many questions about the potential value added by providing uncertainty information for a decision task can be worked out without running an experiment. 
  2. Related to #1, be clear on what it would mean for a decision-maker to use the uncertainty information in the ideal case. If you’re not sure, figure that out before you run the experiment so you know what optimal use looks like. 
  3. Be careful that how you describe things to people accurately reflects what the uncertainty means. For example, don’t make false promises about uncertainty for individual instances, such as by implying that we know that there is a 95% chance the true value is in this specific interval. It might seem like a minor detail, but if your participants have unrealistic expectations about what they are seeing, it’s hard to interpret your results. You also risk misleading readers of your paper who don’t catch the distinction.
  4. Don’t assume the intended calibration of the uncertainty method applies to the instances that you actually present to people in your experiment. For example, just because you calibrated your method to have 95% coverage on average doesn’t mean that this must be what is achieved on the instances you actually present people with. Acknowledge the potential difference in analyzing the results. Same goes for accuracy and other aggregate performance measures you might estimate on held-out data. Unless it’s part of your research question, try to avoid telling people one thing but show them something pretty different. 
  5. Think carefully about how you elicit probabilistic information from people like their confidence in a judgment. Don’t assume they will be able to tell you exactly what they believe because you asked them, even if lots of prior studies have made the assumption.  
  6. Keep in mind that there’s something ironic about papers about the importance of uncertainty quantification that ultimately present all of their results in a dichotomous, significant vs not-significant style. 

Regarding that last point, I could see some people saying it’s too picky, and arguing that there is a long history of using NHST to analyze experiment results. But I think it’s fair to ask whether one wants to be part of the problem or the solution. If you care about good uncertainty expression in the artificial world of your experiment, shouldn’t you also care about it when you present the results of your research? 

The above list was specific to experiments on expressions of uncertainty, but I also have some more general advice:

  1. Related to #6 on not falling back on dichotomous reasoning, be careful with how you decide sample size. “Large sample size” is relative. If you are testing 10 different conditions, even if you have repeated measures, having what seems like a large number of people total doesn’t necessarily mean you have high power to detect the differences you care about. Fake data simulation will give you a much better sense of how well you’ll be able to distinguish effects you care about than online power calculators. 
  2. Attempt to account for the design of the experiment when you model your results, not just the factor(s) you have research questions about. If you’re worried that the model might not fit when you include everything, you can preregister a model selection process rather than a specific specification. Something I’m seeing a fair amount is use of repeated trials designs, but where the modeling doesn’t account for individual-specific effects (e.g., through random intercepts and possibly random slopes) and what trial number they were on. In my experience, these things often have non-trivial effects, such that leaving them out changes the other effects you’re estimating in your model. This paper by Yarkoni has a nice demonstration of how ignoring individual heterogeneity leads to overconfident interpretations.   
  3. Pre-registration is a property of a data collection and analysis process. Deviations from part of what was planned are not uncommon, so don’t treat preregistration as a label to that applies on the level of a whole project. You don’t really need the term preregistration in the abstract and the introduction and the conclusion. Just discuss it when you get to methods and if needed to note deviation when you talk about results. 

I sent this list to Alex Kale, who added a few more:

  1. Be clear with yourself, your participants, and your reader, about how the provided uncertainty information is relevant to the task.
  2. Use proper scoring rules in situations where you want the task to have a clear objective and performance to have a clear meaning.
  3. Try to account for the role of prior knowledge and risk attitudes. Do not ignore these things, and pretend that results will generalize.
  4. Do not pretend that “high stakes” decision scenarios can be emulated in the typical controlled experiment.
  5. Do not confuse the effectiveness of presentation format with the effectiveness of providing uncertainty information in general. Do not treat poorly designed or implemented uncertainty communication as representative of what people can do with a more careful presentation.
  6. ^ especially when the uncertainty provided is non-informative for the task at hand, as in many XAI studies. This means your experiment is ill conceived.
  7. Do not treat “understanding” as something that is easily quantified with measures like simulability alone. Do not collapse the complex cognitive processes that underly understanding to vacuous concepts like “intuition.”
  8. Study how people learn to use uncertainty information, not just one-shot performance.
  9. Study deployments with actual users and do user-centered design or co-design if you want to develop tools that will have much hope of being adopted outside the lab. The road from theory to practice is messy. Embrace the mess!

Finally, a personal pet-peeve: it’s not true that hardly anyone has ever studied the effect of presenting uncertainty in model predictions. Decision-making under uncertainty is a cross cutting topic that has been discussed for many years in a number of fields. Predictive uncertainty is not a new concept.

Some of this appears with further discussion in our papers on why we need decision theory to evaluate human decision-making, how to evaluate reliance on model predictions, how to benchmark the value of information in studies like on information displays, and why evaluating uncertainty expressions is hard.

P.S. I realized that maybe this post sounds sort of complain-y, but that is not the intent. I’m impressed by many of the papers I’m seeing from the ML community that bring in human behavior. If anything, I just want to help others avoid the trap of treating experiments involving human behavior as black boxes for producing aggregate-level statistics about which of multiple treatments is better, because you can miss a lot that way. The more effort I’ve put into to trying to understand what’s going on, through simulations/doing the math and through modeling the experiment data, the more I’ve learned.

A nested helix plot that simultaneously shows events on the scales of centuries, millennia, . . . all the way back to billions of years

John Cook writes:

A logarithmic scale is very useful when you need to plot data over an extremely wide range. However, sometimes even a logarithmic scale may not reduce the visual range enough.

I [Cook] recently saw a timeline-like graph that was coiled into a spiral, packing more information into a limited visual window:

That’s fine, but I can do him one better. It’s this amazing visualization of “L’histoire de la Terre et de ses habitants,” which goes all the way back to the beginning, 4.5 billion years ago, while still, amazingly, containing details all the way through the twentieth century!

How did they do it? Through a series of tricks:

1. To start, they used the spiral pattern that Cook discussed to more efficiently use the space in two dimensions.

2. They also used an expanding scale so that the spiral is smaller on the inside and then gets bigger as it expands:

Pretty cool, huh? Each yellow band is a billion years, each blue band is 100 million years, each red band is 10 million years. When you get to the most recent billion years, you see some space between the red bands.

3. As the spiral expands further, there’s more and more space between the red bands, and they include intermediate bands—first light blue, then yellow, then green—corresponding to each million years:

I think it would be cleaner to use a single color scheme here, but they make the choice to vary the color to indicate the different geological periods.

4. As the spiral gets even bigger, something really cool happens: the rings become ropelike tubes that themselves have a helical structure:

Each twist in the larger spiral corresponds to a “band” or ring of a million years, and now each such ring is itself a spiral with 100 twists or bands, each corresponding to 10,000 years. Once we get to the most recent million years, we can see the twists themselves are in batches of 10, with white bands at each 100,000.

5. The big spiral has been revealed to have been a rope all along, and that rope is itself a spiral with rings at every 10,000 years. The scale continues to expand as the inner spiral spools out, so that starting around the past 50,000 years, another layer of rings becomes visible, showing each 1000 years:

6. In the most recent few thousand years, we can make out details within each millennium—there’s room for about 10 labels within each ring, thus labeling each hundred years or so.

Really cool! It’s the Powers of Ten of static graphics.

Here’s the whole thing in one image:

I recommend you buy one for your own wall. It only costs 15 euros!

Infovis, infographics, and data visualization: My thoughts 12 years later

I came across this post from 2011, “Infovis, infographics, and data visualization: Where I’m coming from, and where I’d like to go,” and it seemed to make sense to reassess where we are now, 12 years later.

From 2011:

I majored in physics in college and I worked in a couple of research labs during the summer. Physicists graph everything. I did most of my plotting on graph paper–this continued through my second year of grad school–and became expert at putting points at 1/5, 2/5, 3/5, and 4/5 between the x and y grid lines.

In grad school in statistics, I continued my physics habits and graphed everything I could. I did notice, though, that the faculty and the other students were not making a lot of graphs. I discovered and absorbed the principles of Cleveland’s The Elements of Graphing Data.

In grad school and beyond, I continued to use graphs in my research. But I noticed a disconnect in how statisticians thought about graphics. There seemed to be three perspectives:

1. The proponents of exploratory data analysis liked to graph raw data and never think about models. I used their tools but was uncomfortable with the gap between the graphs and the models, between exploration and analysis.

2. From the other direction, mainstream statisticians–Bayesian and otherwise–did a lot of math and fit a lot of models (or, as my ascetic Berkeley colleagues would say, applied a lot of procedures to data) but rarely made a graph. They never seemed to care much about the fit of their models to data.

3. Finally, textbooks and software manuals featured various conventional graphs such as stem-and-leaf plots, residual plots, scatterplot matrices, and q-q plots, all of which seemed appealing in the abstract but never did much for me in the particular applications I was working on.

In my article with Meng and Stern, and in Bayesian Data Analysis, and then in my articles from 2003 and 2004, I have attempted to bring these statistical perspectives together by framing exploratory graphics as model checking: a statistical graph can reveal the unexpected, and “the unexpected” is defined relative to “the expected”–that is, a model. This fits into my larger philosophy that puts model checking at the center of the statistical enterprise.

Meanwhile, my graphs have been slowly improving. I realized awhile ago that I didn’t need tables of numbers at all. And here and there I’ve learned of other ideas, for example Howard Wainer’s practice of giving every graph a title.

I continued with some scattered thoughts about graphics and communication:

A statistical graph does not stand alone. It needs some words to go along with it to explain it. . . . I realized that our plots, graphically strong though they were, did not stand on their own. . . . This experience has led me to want to put more effort into explaining every graph, not merely what the points and lines are indicating (although that is important and can be hard to figure out in many published graphs) but also what is the message the graph is sending.

Most graphs are nonlinear and don’t have a natural ordering. A graph is not a linear story or a movie you watch from beginning to end; rather, it’s a cluttered house which you can enter from any room. The perspective you pick up if you start from the upstairs bathroom is much different than what you get by going through the living room–or, in graphical terms, you can look at clusters of points and lines, you can look at outliers, you can make lots of different comparisons. That’s fine but if a graph is part of a scientific or journalistic argument it can help to guide the reader a bit–just as is done automatically in the structuring of words in an article. . . .

While all this was happening, I also was learning more about decision analysis. In particular, Dave Krantz convinced me that the central unit of decision analysis is not the utility function or even the decision tree but rather the goal.

Applying this idea to the present discussion: what is the goal of a graph? There can be several, and there’s no reason to suppose that the graph that is best for achieving one of these goals will be optimal, or even good, for another. . . .

I’m a statistician who loves graphs and uses them all the time, I’m continually working on improving my graphical presentation of data and of inferences, but I’m probably stuck (without realizing it) in a bit of a rut of dotplots and lineplots. I’m aware of an infographics community . . .

Here’s an example of where I’m coming from: a blog post entitled, “Is the internet causing half the rapes in Norway? I wanna see the scatterplot.” To me, visualization is not an adornment or a way of promoting social science. Visualization is a central tool in social science research. (I’m not saying visualization is strictly necessary–I’m sure you can do a lot of good work with no visual sense at all–but I think it’s a powerful approach, and I worry about people who believe social science claims that they can’t visualize. I worry about researchers who believe their own claims without understanding them well enough to visualize the relation of these claims to the data from which they are derived.)

The rest of my post from 2011 discusses my struggles in communicating with the information visualization community–these are people who produce graphs for communication with general audiences, which motivates different goals and tools than those used by statisticians to communicate as part of the research process. Antony Unwin and I wrote a paper about these differences which was ultimately published with discussion in 2013 (and here is our rejoinder to the discussions).

Looking at all this a decade later, I’m not so interested in non-statistical information visualization anymore. I don’t mean this in a disparaging way! I think infofiz is great. Sometimes the very aspects of an infographic that make it difficult to read and deficient from a purely statistical perspective are a benefit for communication in that they can push the reader into thinking in new ways; here’s an example we discussed from a few years ago.

I continue to favor what we call the click-through solution: Start with the infographic, click to get more focused statistical graphics, click again to get the data and sources. But, in any case, the whole stat graphics vs. infographics thing has gone away, I guess because it’s clear that they can coexist; I don’t really see them as competing.

Whassup now?

Perhaps surprisingly, my graphical practices have remained essentially unchanged since 2011. I say “perhaps surprisingly,” because other aspects of my statistical workflow have changed a lot during this period. My lack of graphical progress is probably a bad thing!

A big reason for my stasis in this regard, I think, is that I’ve worked on relatively few large applied projects during the past fifteen years.

From 2004 through 2008, my collaborators and I were working every day on Red State Blue State. We produced hundreds of graphs and the equivalent of something like 10 or 20 research articles. In addition to our statistical goals of understanding our data and how they related to public opinion and voting, we knew from the start that we wanted to communicate both to political scientists and to the general public, so we were on the lookout for new ways to display our data and inferences. Indeed, we had the idea for the superplot before we ever made the actual graph.

Since 2008, I’ve done lots of small applied analyses for books and various research projects, but no big project requiring a rethinking of how to make graphs. The closest thing would be Stan, and here we have made some new displays–at least, new to me–but that work was done by collaborators such as Jonah Gabry, who did ShinyStan, and this hasn’t directly affected the sorts of graphs that I make.

I continue to think about graphs in new ways (for example, causal quartets and the ladder of abstraction), but, as can be seen in those new papers, the looks of my graphs haven’t really changed since 2011.

“I was left with an overwhelming feeling that the World Values Survey is simply a vehicle for telling stories about values . . .”

Dale Lehman writes:

My guess is that you are familiar with the World Values Survey – I was not until I saw it described in the Economist this week (August 12, 2023). It has probably been used in the careers of many academics and is a monumental effort to collect survey data about values from across the world over a long period of time (the latest wave of the survey includes around 130,000 respondents from at least 90 countries). With the caveat that I have no experience with this data and have not read anything about its methodological development, I am struck by what seems like a shoddy ill-conceived research effort. To begin with a minor thing that appeared in the Economist story, I’ve attached a screenshot of part of what appears in the print magazine (the online version interactively builds up this view so the print version is more complete but provides less context). I have an issue with the visualization – some might call it a quibble, I’d call it a major problem – and I can’t tell if the blame lies with The Economist or the WVS, but it is what first alerted me to this data. The change in values over time is shown by the line segments ending in a circle marker for the latest survey wave. Why didn’t they use arrows rather than a circle at one end? I think this is inexcusable – arrows invoke pre-attentive visual processing whereas the line segment/circles force me to constantly reassess the picture to understand how things are changing. In other words, the visual presented doesn’t work – arrows would be immensely better. I don’t believe that is just sloppiness – I think it reveals something more fundamental, and that is what really concerns me about the WVS.

Moving on in the graph, I am immediately stuck by the dimensions of the graph. The methodology is described in detail on the WVS website (https://www.worldvaluessurvey.org/WVSContents.jsp) and I haven’t reviewed it in detail. But I have a number of issues about these measurements. Among these:

– The survival-self expression dimensions strikes me as unintuitive. Since the questions involved (such as the importance of religion vs the importance of environmental protection) are linked to wealth, and much of the WVS research concerns changes in values as wealth changes, why not measure wealth directly? My preference would be for the more unambiguous (relatively speaking) measures like GDP than these derived measures that seem vague to me.

– I have similar issues with the other dimension: traditional vs secular-rational. Neither of these seem intuitive to me and the underlying questions don’t improve things. There are questions about “national pride” and self descriptions of whether or not someone feels “very happy.” I find it very difficult to see how these map cleanly into the dimension they are being used for.

– Since these surveys are done across many countries and over time, I think the meaning of the words may change. For example, asking whether “people are trustworthy” requires the idea of “trust” to mean the same thing in different places and different periods of time. I see no evidence of this and can imagine that there might be differences in how people interpret phrases like that. In general, it seems to me that the wording of these survey questions was not carefully thought out or tested (though perhaps I just am not familiar with their development).

– I am disturbed by the use of single points to represent entire countries. Indeed, there is considerable discussion of how heterogeneous countries are, but the graphs use average measures to represent entire countries. As with many things, the average may be less interesting than the variability. This concern is accentuated by the aggregation of these countries into groups such as “Protestant Europe” and “Orthodox Europe.” I don’t find these groups particularly intuitive either.

– I’m unconvinced that the two dimensional picture of values is the best way to analyze values. Are there two dimensions the most important? Why two? Perhaps the changes over time simply reveal how valid the dimensions are rather than any intrinsic changes in values people hold.

There is more, but I’ll stress again that I have no background with this data. I can say it was difficult for me to even read the Economist article since almost every statement struck me as troublesome regarding what was being measured and how it relates to the fundamental methodology of this two dimensional view of values. I also can’t tell how much of my concern lies with the Economist article or the WVS itself. But I was left with an overwhelming feeling that the WVS is simply a vehicle for telling stories about values and how they differ between countries or groups of people and how these change over time. Those stories are naturally interesting, but I don’t see that the methodology and data support any particular story over any other. It seems like a perfect mechanism for academic career development, but little else.

My reply: I’m not sure! I’ve never worked with the World Values Survey myself. Maybe some readers can share their thoughts?

Hey! Here’s some R code to make colored maps using circle sizes proportional to county population.

Kieran Healy shares some code and examples of colored maps where each region is given a circle in proportion to its population. He calls these “Dorling cartograms,” which sounds kinda mysterious to me but I get that there’s no easy phrase to describe them. It’s clear in the pictures, though:

I wrote to Kieran asking if it was possible to make the graphs without solid circles around each point, as that could make them more readable.

He replied:

Yeah it’s easy to do that, you just give different parameters to geom_sf(), specifically you set the linewidth to 0 so no border is drawn on the circles. So instead of geom_sf(color=“gray30”) or whatever you say geom_sf(linewidth=0). But I think this does not in fact make things more readable with a white, off-white, or light gray background:

The circle borders do a fair amount of work to help the eye see where the circles actually are as distinct elements. It’s possible to make the border more subtle and still have it work:

In this version the circle borders are only a *very slightly* darker gray than the background, but it makes a big difference still.

Finally you could also remove the circle borders but make the background very dark, like this:

Not bad, though there issue becomes properly seeing the dark orange— especially smaller counties with very high pct Black. This would work better with one of the other palettes.

Interesting. Another win for ggplot.

Hand-drawn Statistical Workflow at Nelson Mandela

In September 2023 I taught a week-long course on statistical workflow at the Nelson Mandela African Institution of Science and Technology (NM-AIST), a public postgraduate research university in Arusha, Tanzania established in 2009.

NM-AIST – CENIT@EA

The course was hosted by Dean Professor Ernest Rashid Mbega and the Africa Centre for Research, Agricultural Advancement, Teaching Excellence and Sustainability (CREATES) through the Leader Professor Hulda Swai and Manager Rose Mosha.

Our case study was an experiment on the NM-AIST campus designed and implemented by Dr Arjun Potter and Charles Luchagula to study the effects of drought, fire, and herbivory on growth of various acacia tree species. The focus was pre-data workflow steps, i.e. experimental design. The goal for the week was to learn some shared statistical language so that scientists can work with statisticians on their research.

Together with Arjun and Charles, with input from Drs Emmanuel Mpolya, Anna Treydte, Andrew Gelman, Michael Betancourt, Avi Feller, Daphna Harel, and Joe Blitzstein, I created course materials full of activities. We asked participants to hand-draw the experimental design and their priors, working together with their teammates. We also did some pencil-and-paper math and some coding in R.

Course participants were students and staff from across NM-AIST. Over the five days, between 15 and 25 participants attended on a given day.

Using the participants’ ecological expertise, we built a model to tell a mathematical story of how acacia tree height could vary by drought, fire, herbivory, species, and plot location. We simulated parameters and data from this model, e.g. beta_fire = rnorm(n = 1, mean = -2, sd = 1) then simulated_data …= rnorm(n, beta_0 + beta_fire*Fire +… beta_block[Block], sd_tree). We then fit the model to the simulated data.

Due to difficulty in manipulating fire, fire was assigned at the block-level, whereas drought and herbivory were assigned at the sub-block level. We saw how this reduced precision in estimating the effect of fire:

We redid the simulation assuming a smaller block effect and saw improved precision. This confirmed the researcher’s intuitions that they need to work hard to reduce the block-to-block differences.

To keep the focus on concepts not code, we only simulated once from the model. A full design analysis would include many simulations from the model. In Section 16.6 of ROS they fix one value for the parameters and simulate multiple datasets. In Gelman and Carlin (2014) they consider a range of plausible parameters using prior information. Betancourt’s workflow simulates parameters from the prior.

Our course evaluation survey was completed by 14 participants. When asked “which parts of the class were most helpful to you to understand the concepts?”, respondents chose instructor explanations, drawings, and activities as more helpful than the R code. However, participants also expressed eagerness to learn R and to analyze the real data in our next course.

The hand-drawn course materials and activities were inspired by Brendan Leonard’s illustrations in Bears Don’t Care About Your Problems and I Hate Running and You Can Too. Brendan wrote me,

I kind of think hand-drawing stuff makes it more fun and also maybe less intimidating?

I agree.

More recently, I have been reading Introduction to Modern Causal Inference by Alejandro Schuler and Mark van der Laan, who say

It’s easy to feel like you don’t belong or aren’t good enough to participate…

yup.

To deal with that problem, the voice we use throughout this book is informal and decidedly nonacademic…Figures are hand-drawn and cartoonish.

I’m excited to return to NM-AIST to continue the workflow steps with the data that Dr Arjun Potter and Charles Luchagula have been collecting. With the real data, we can ask: is our model realistic enough to achieve our scientific goals ?

Listen to those residuals

This is Jessica. Speaking of data sonification (or sensification), Hyeok, Yea Seul Kim, and I write: 

Data sonification-mapping data variables to auditory variables, such as pitch or volume-is used for data accessibility, scientific exploration, and data-driven art (e.g., museum exhibitions) among others. While a substantial amount of research has been made on effective and intuitive sonification design, software support is not commensurate, limiting researchers from fully exploring its capabilities. We contribute Erie, a declarative grammar for data sonification, that enables abstractly expressing auditory mappings. Erie supports specifying extensible tone designs (e.g., periodic wave, sampling, frequency/amplitude modulation synthesizers), various encoding channels, auditory legends, and composition options like sequencing and overlaying. Using standard Web Audio and Web Speech APIs, we provide an Erie compiler for web environments. We demonstrate the expressiveness and feasibility of Erie by replicating research prototypes presented by prior work and provide a sonification design gallery. We discuss future steps to extend Erie toward other audio computing environments and support interactive data sonification.

Have you ever wanted to listen to your model fit? I haven’t, but I think it’s worth exploring how one would do so effectively, either for purposes of making data representations accessible to blind and visual impaired users, or for other purposes like data journalism or creating “immersive” experiences of data like you might find in museums.

But turns out it’s really hard to create data sonifications with existing tools! You have to learn low-level audio programming and use multiple tools to do things like combine several sonifications into a single design. Other tools only offer the ability to make sonifications corresponding to a narrow range of chart types, perhaps as a result of a bias toward thinking about sonifications only from the perspective of how they map to existing visualizations.

Hyeok noticed some of these issues and decided to do something about it. Erie provides a flexible specification format where you can define a sonification design in terms of tone (the overall quality of a sound) and encodings (mappings from data variables to auditory features). You can compose more complex sonifications by repeating, sequencing, and overlaying sonifications, and it interfaces with standard web audio APIs. 

Documentation on how to install and use Erie is here. There’s also an online editor you can use to try out the grammar. But first I recommend playing some of the examples, which include some simple charts and recreations of data journalism examples. My favorites are the residuals from a poorly fit model and a better fitting one. Especially if you play just the data series of these back to back, the better fit should sound more consistent and slightly more harmonious.

This was really Hyeok’s vision; I can’t claim to have contributed very much to this work. But it was interesting to watch it come together. During our meetings about the project, it was initially very unfamiliar to me, trying to interpret audio variables like pitch as carrying information about data values, and I can’t really say it’s gotten easier. I guess this gets at how hard it is to make data easily consumable in a serial format like audio, at least for users who are accustomed to all the benefits of parallel visual processing. 

Using the term “visualization” for non-visual representation of data

The other day we linked to a study whose purpose was to “investigate challenges faced by curators of data visualizations for blind and low-vision individuals.”

JooYoung Seo, the organizer of that project, provides further background:

With the exception of a few IRB-related constraints, below is my brief response to your feedback.

1. Unclear terminology. You recommended that we use the verb “create” instead of “curate” in our survey, and we completely agree with your confusion about this terminology. We chose to use the verb curate because our research was funded by the Institute of Museum and Library Services (IMLS) to develop a tool that would make it easier for data curators to create accessible visualizations. We also began our research proposal as a community partnership with the Data Curation Network (DCN), so we were using terminology that was tailored to a specific professional group. In an effort to strike a better balance between the confusion of the terminology and the directionality of our research goals, we will add some explanations to make it easier to understand.

2. The inappropriateness of the term “visualization”. You raised the issue of the inappropriateness of using the term “visualization” in our survey to refer to accessible data “sensification”. This is very insightful.

I can assure you that our team is in no way trying to subscribe to or perpetuate the term visualization. As the PI, I am a lifelong blind person and my student who is co-leading this research is also a lifelong low-vision person, so we have given a lot of thought to the term “visualize”.

In our research, visualization is one way of encoding/decoding data representation. We believe that accessible data representation can only be achieved through multimodal data representation (sonification, tactile representation, text description, AI conversation, etc.) that comprehensively conveys various modalities along with visualization. Our initial research, Multimodal Access and Interactive Data Representation (MAIDR: https://github.com/uiuc-ischool-accessible-computing-lab/maidr), which we will present in May at the CHI2024 conference, reflects this belief, and this survey is an extension of our MAIDR research.

Despite the bias that the term visualization can introduce, we chose to use it in this survey for two reasons: first, we wanted to follow the convention of using terminology that is more easily understood by survey participants, assuming that they are data curators with varying levels of experience with accessibility, ranging from no experience to expert level experience. We could of course use the terms “data sensification” or “data representation” for further explanation, but since this initial study is focused on observing and understanding the status quo rather than “education,” we wanted to reduce potentially confusing new concepts as much as possible.

In parallel to our survey of data curators, we are also conducting a separate survey with blind people asking them about the accessibility issues with data visualization that they encounter in their daily lives. In that survey, we want to understand how blind people are approaching visualization.

Second, the reason we use the term visualization in our research involving blind and low-vision people is to challenge the misconception that being visually impaired excludes people from visualization altogether. For example, there are many blind and low-vision people who use their residual vision to approach visualization. Depending on when you were blind, there are some people who use the visualizations that remain in their brains as they learn. As someone who became blind as a teenager, I still use visual cues like color and brightness to help me learn and retain information.

If you cannot use the term visualize just because you can’t see, “See you tomorrow,” “Let’s see,” and “let me take a look” would also be unusable for blind people. Blind people are just as capable of using visual encoding/decoding.

I get his point on the term “visualization.” Indeed, I can visualize scenes with my eyes closed. In our paper, we used “sensification” in part to emphasize that we are interested in engaging other senses than vision, especially hearing and the muscular resistance sense.

Click here to help this researcher gather different takes on making data visualizations for blind people

Here’s the survey, and here’s what it says:

The purpose of this study is to investigate challenges faced by curators of data visualizations for blind and low-vision individuals. This includes, but is not limited to, graphs, charts, plots, diagrams, and data tables.

We invite individuals who meet the following criteria to participate in our survey:
– Aged 18 or older
– Data curators or professionals who have experience creating a visualization to depict data and are interested in the accessibility of data visualizations
– Data professionals with or without experience in assisting BLV individuals with data visualizations
– Currently located in the United States

The survey uses the term “curating,” which doesn’t seem quite right to me. I create lots of visualizations; I don’t spend much time “curating” them. So that’s confusing. I think they should replace “curate” by “create,” or maybe “create or use,” throughout.

Also, they keep saying “visualizations,” which doesn’t sound quite right given that vision will not be involved. I’d prefer a term such as “sensification” or “vivification,” as we discuss in our article on the topic.

Also it’s funny how the survey starts with screenfuls of paperwork. The whole IRB thing really is out of control. It’s a mindless bureaucracy. I don’t blame the researcher on this study—it’s not his fault, he’s at a university and he has to play by the rules. You just end up with ridiculous things like this:

When they write the story of the decline and fall of western civilization, they’ll have to devote a chapter to Institutional Review Boards. Academic bigshots lie, cheat, and steal, and in the meantime people who do innocuous surveys have to put in these stupid warnings. Again, not the fault of the researcher! It’s the system.

Anyway, sensification for blind and low-vision people is a topic worth studying, and if you fill out the survey maybe it will be of help, at least a starting point for further exploration of this issue.

P.S. More here.

Minimum criteria for studies evaluating human decision-making

This is Jessica. A while back on the blog I shared some opinions about studies of human-decision making, such as to understand how visualizations or displays of model predictions and explanations impact people’s behavior. My view is essentially that a lot of the experiments being used to do things like rank interfaces or model explanation techniques are not producing very informative results because the decision task is defined too loosely. 

I decided to write up some thoughts rather than only blogging them. In Decision Theoretic Foundations for Human Decision Experiments (with Alex Kale and Jason Hartline), we write: 

Decision-making with information displays is a key focus of research in areas like explainable AI, human-AI teaming, and data visualization. However, what constitutes a decision problem, and what is required for an experiment to be capable of concluding that human decisions are flawed in some way, remain open to speculation. We present a widely applicable definition of a decision problem synthesized from statistical decision theory and information economics. We argue that to attribute loss in human performance to forms of bias, an experiment must provide participants with the information that a rational agent would need to identify the normative decision. We evaluate the extent to which recent evaluations of decision-making from the literature on AI-assisted decisions achieve this criteria. We find that only 6 (17%) of 35 studies that claim to identify biased behavior present participants with sufficient information to characterize their behavior as deviating from good decision-making. We motivate the value of studying well-defined decision problems by describing a characterization of performance losses they allow us to conceive. In contrast, the ambiguities of a poorly communicated decision problem preclude normative interpretation. 

We make a couple main points. First, if you want to evaluate human decision-making from some sort of information interface, you should be able to formulate the task you are studying as a decision problem as defined by statistical decision theory and information economics. Specifically, a decision problem consists of a payoff-relevant state, a data-generating model which produces signals that induce a distribution over the state, an action space from which the decision-maker chooses a response, and a scoring rule that defines the quality of the decision as a function of the action that was chosen and the realization of the payoff-relevant state. Using this definition of a decision problem gives you a statistically coherent way to define the normative decision, i.e., the action that a Bayesian agent would choose to maximize their utility under whatever scoring rule you’ve set up. In short, if you want to say anything based on your results that implies people’s decisions are flawed, you need to make clear what is optimal, and you’re not going to do better than statistical decision theory. 

The second requirement is that you communicate to the study participants sufficient information for a rational agent to know how to optimize: select the optimal action after forming posterior beliefs about the state of the world given whatever signals –visualizations, displays of model predictions, etc–you are showing them. 

When these criteria are met you gain the ability to conceive of different sources of performance loss implied by the process that the rational Bayesian decision-maker goes through when faced with the decision problem: 

  • Prior loss, the loss in performance due to the difference between the agent’s prior beliefs and those used by the researchers to calculate the normative standard.
  • Receiver loss, the loss due to the agent not properly extracting the information from the signal, for example, because the human visual system constrains what information is actually perceived or because participants can’t figure out how to read the signal.
  • Updating loss, the loss due to the agent not updating their prior beliefs according to Bayes rule with the information they obtained from the signal (in cases where the signal does not provide sufficient information about the posterior probability on its own).
  • Optimization loss, the loss in performance due to not identifying the optimal action under the scoring rule. 

Complicating things is loss due to the possibility that the agent misunderstands the decision task, e.g., because they didn’t really internalize the scoring rule. So any hypothesis you might try to test about one of the sources of loss above is actually testing the joint hypothesis consisting of your hypothesis plus the hypothesis that participants understood the task. We don’t get into how to estimate these losses, but some of our other work does, and there’s lots more to explore there. 

If you communicate to your study participants part of a decision problem, but leave out some important component, you should expect their lack of clarity about the problem to induce heterogeneity in the behaviors they exhibit. And then you can’t distinguish such “heterogeneity by design” from the real differences between decision-quality based on the differences between the conditions that you are trying to study. You don’t know if participants are making flawed decisions because of real challenges with forming accurate beliefs or selecting the right action under different types of signals or because they are operating under a different version of the decision problem than you have in mind.

Here’s a picture that comes to mind:

Diagram showing underspecified decision problem being interpreted differently by people  

 

I.e., each participant might have a unique way of filling in the details about the problem that you’ve failed to communicate, which differs from how you analyze it. Often I think experimenters are overly optimistic about how easy it is to move from the left side–the artificial world of the experiment–to draw conclusions about the right. I think sometimes people believe that if they leave out some information (e.g.,  they don’t communicate to participants the prior probability of recidivating in a study on recidivism prediction, or they set up a fictional voting scenario but don’t give participants a clear scoring rule when studying effects of different election forecast displays), they are “being more realistic”, because in the real world people rely on their own intuitions and past experience so there are lots of possible influences on how a person makes their decision. But, as we write in the paper, this is a mistake, because people will generally have different goals and beliefs in an experiment than they do in the real world. Even if everyone is influenced in the experiment by a different factor that does operate in the real world, the idea that the composition of all these interpretations gives us a good approximation of real world behavior is not supported, as we say in the paper it “arises from a failure to recognize our fundamental uncertainty about how the experimental context relates to the real world.“ We can’t know for sure how good a simulacrum our experimental context is for the real world task, so we should at least be very clear about what the experimental context is so we can draw internally valid conclusions. 

Criteria 1 is often met in visualization and human-centered AI, but Criteria 2 is not

I don’t think these two criteria are met in most of the interface decision experiments I come across. In fact, as the abstract mentions, Alex and I looked at a sample of 46 papers on AI assisted decision-making that a survey previously labeled as evaluating human decisions; of these 11 were interested in studying tasks for which you can’t define ground truth, like emotional responses people had to recommendations, or had a descriptive purpose, like estimating how accurately a group of people can guess the post-release criminal status of a set of defendants in the COMPAS dataset. Of the remaining 35, only a handful gave participants enough information for them to at least in theory know how to best respond to the problem. And even when sufficient information to solve the decision problem in theory is given, often the authors use a different scoring rule to evaluate the results than they gave to participants. The problem here is that you are assigning a different meaning to the same responses when you evaluate versus when you instruct participants. There were also many instances of information asymmetries between conditions the researchers compared, like where some of the prediction displays contained less decision-relevant information or some of the conditions got feedback after each decision while others didn’t. Interpreting the results is easier if the authors account for the difference in expected performance based on giving people a slightly different problem. 

In part the idea of writing this up was that it could provide a kind of explainer of the philosophy behind work we’ve done recently that defines rational agent benchmarks for different types of decision studies. As I’ve said before, I would love to see people studying interfaces adopt statistical decision theory more explicitly. However, we’ve encountered resistance in some cases. One reason I suspect is because people don’t understand the assumptions made in decision theory, so this is an attempt to walk through things step by step to build confidence. Though there may be other reasons too, related to people distrusting anything that claims to be “rational.”  

They solved the human-statistical reasoning interface back in the 80s

Eytan Adar pointed me to a video, Reasoning Under Uncertainty, from the historical ACM SIGCHI (computer-human interaction) Video Project. Beyond fashionable hairstyles, it demos interfaces from a software curriculum to teach high school students statistical reasoning in 1989. They’ve got stretchy histograms, where you can adjust bars to see how the moments change (reminding me of more recent work on sketch-based and other graphical elicitation interfaces, including some of my own), and shifty lines, where you drag a line trying to find the best fit, as in more recent work on regression by eye. Ben Shneiderman’s interface design guidelines came up recently on the blog, and both are nice early examples of interacting with data through direct manipulation, one of the ideas he pioneered. They were also using hypothetical outcome plots years before we attempted to make them cool! 

Sometimes I suspect the majority of the good ideas for statistical software were already out there back in the 80s and 90s, at least in pedagogical form. I’m thinking about work like Andreas Buja and colleagues’ “Elements of a viewing pipeline for data analysis” (from 1988) and their early mentions of graphical inference techniques like the line-up in the 90s. There’s also the ASA Statistical Graphics video library which includes a lot of cool early work.

It’s too bad that many of the mainstream GUI-based interactive visualization systems we see today dropped many of the ideas related to sampling and uncertainty in favor of what we’ve called  “data exposure” (making it as immediate as possible for the user to see and interact with the data itself). Much of the research too, at least in the more computer-science oriented data visualization community, seems more interested in pursuing variants of an exposure philosophy like “behavior-driven optimization”, where the system is trying to learn what data or queries the user might want to see next so as to serve those up. The idea of GUI-based visualization tools that let you simulate processes, for example, has never really caught on (though we’re still trying, e.g., here). 

P.S. I  haven’t watched the video that follows it, but it promises to describe the ‘The Andrew System’, a computing system that can offer the benefits of many diverse and useful systems within a common environment.  Maybe they were on to something there too!

Progress in 2023, Charles edition

Following the examples of Andrew, Aki, and Jessica, and at Andrew’s request:

Published:

Unpublished:

This year, I also served on the Stan Governing Body, where my primary role was to help bring back the in-person StanCon. StanCon 2023 took place at the University of Washington in St. Louis, MO and we got the ball rolling for the 2024 edition which will be held at Oxford University in the UK.

It was also my privilege to be invited as an instructor at the Summer School on Advanced Bayesian Methods at KU Leuven, Belgium and teach a 3-day course on Stan and Torsten, as well as teach workshops at StanCon 2023 and at the University of Buffalo.

Progress in 2023, Jessica Edition

Since Aki and Andrew are doing it… 

Published:

Unpublished/Preprints:

Performed:

If I had to choose a favorite (beyond the play, of course) it would be the rational agent benchmark paper, discussed here. But I also really like the causal quartets paper. The first aims to increase what we learn from experiments in empirical visualization and HCI through comparison to decision-theoretic benchmarks. The second aims to get people to think twice about what they’ve learned from an average treatment effect. Both have influenced what I’ve worked on since.