Showing posts with label philosophy of statistics. Show all posts
Showing posts with label philosophy of statistics. Show all posts

Thursday, December 26, 2013

The Bayesian agent as a heuristic model

The commonly accepted justification of Bayesian inference, in terms of subjective personal probabilities, coherentist arguments, dutch books and all that, is mostly due to de Finetti, Savage and Lindley (see e.g. Goldstein, 2006 for a review).

The subjective Bayesian synthesis represents an impressive theoretical achievement. Yet I think it is dangerous to see it as providing foundations for Bayesian applied statistics. Such a foundational perspective, which amounts to embrace the subjective Bayesian paradigm a bit too wholeheartedly, corresponds to the kind of ideological attitude I was alluding to in the previous post (in fact, perhaps any foundational argument is ideological).

Rather, I prefer to see the subjective Bayesian theoretical synthesis as a model. By this I mean a prescriptive logical model of how a rational agent can conduct inference and make reasonable decisions in the presence of uncertainty. By identification with the rational agent, we can then use this model as a heuristic tool for us to figure out how, as a gambler, as an economic agent or even as a scientist doing fundamental research, we could, well, conduct inference and make reasonable decisions in the presence of uncertainty.

However, in spite of all its theoretical and axiomatic justifications, this is just a model, with all the idealization and the pragmatic considerations that come with it. In fact, the idealization becomes more than apparent when comes the time to define our priors and utilities: there, we immediately realize how much using the Bayesian paradigm in practical situations requires a fair dose of pragmatism.

A heuristic model is like a tool in the hands of a craftsman: something that you recruit temporarily for a specific task and that you use concomitantly with other tools. Something that requires some external know-how, some sense of the context.

The word 'heuristic' is also important here. The heuristic power of the subjective Bayesian agent model is great, making it possible to derive fairly sophisticated probabilistic models formalizing and addressing delicate scientific questions. However, again, it's only a heuristic tool. In a second step, one should perhaps complement this tool with additional arguments to back up what we have done.

Complementing the heuristics with additional arguments is even more important in the context of scientific research, for the following reason. Subjective Bayesian inference is supposed to be a model of a rational agent conducting inference and making private decisions in the presence of uncertainty. Using it to formalize, for instance, one's private gambling activity (a bit like Nate Silver, 2012) is relatively unproblematic: as long as it's all about my money, I don't need to give anyone any justification of why I used this or that particular prior or utility.

When we write a scientific article, however, we enter a new logical context: that of public scientific reporting. In this context, personal degrees of belief have no legitimate existence. I am not supposed to report on how much I am personally willing to bet on the monophyly of a clade (it would be idle anyway: we won't be able to determine whether or not I won my bet). Instead, I am supposed to give some meaningful and objective measure of the statistical support in favor of the monophyly of the group of interest.

This last point gives us a hint at what kind of argument we should develop in order to back up our Bayesian heuristics. Fundamentally, the only way to attach a clear, objective meaning to a statistical procedure is to refer to its operational properties (i.e. to how it behaves in practice under controlled conditions). And I have the impression that, in a statistical context, operational somehow means: frequentist.

All this is not new. For instance Rubin (1984) emphasizes the need to complement the classical Bayesian procedure with other non-strictly Bayesian tools (like posterior predictive checks). See also Cox (2006), suggesting that Bayesian procedures, "if formulated carefully, [..] may provide a convenient algorithm for producing procedures that may have very good frequentist properties".

Yet, from various recent discussions and readings, I have got the impression that we are still too often stuck in an "either frequentist or subjectivist" dichotomy, which suggests that these questions are worth revisiting.

--

Cox D., 2006. Principles of Statistical Inference.

Goldstein M., 2006, Subjective Bayesian data analysis: principles and practice. Bayesian analysis, 3:403-420

Silver N., 2012. The signal and the noise: why so many predictions fail -- but some don't. Penguin books. USA.

Rubin D.B., 1984. Bayesianly justifiable and relevant frequency calculations for the applied statistician. The Annals of Statistics, 12:1151-1172.

Wednesday, December 25, 2013

Breathing some fresh air outside of the Bayesian church


In a recent post, Larry Wassermann asks whether Bayesian inference is a religion. He goes on suggesting that, in itself, Bayesian inference is not a religion. However, he says, there is a minority of Bayesian people who tend to behave as if they were belonging to a sect. Apart from the fact that they tend to be very cliquish and aggressive, they obviously consider their statistical paradigm as absolute truth and are unwilling to entertain the idea that Bayesian inference might have flaws.

I have good reasons to agree with Larry Wassermann on what he says: simply because I used to be one of those "thin-skinned, die-hard" Bayesians not so long ago. Since then, I have lost my faith, in part because of all the dirty things I have seen (and done!) over several years of applied Bayesian data analysis, but also because, on a more philosophical front, I have become more pragmatic and more relativistic, even for logical matters. To be clear: I still find Bayesian data analysis useful in practice, and I will not stop using it before long. But it's just that I do not anymore believe in Bayesian inference as a system.

In any case, because I used to be one of those believers in the Bayesian Truth, I feel entitled to add a few words here. Unlike Larry Wassermann who seems to believe that the partisan attiude of a minority of Bayesians has nothing to do with the content of the theory, I personally think that there is no smoke without fire. If some Bayesians tend to behave as if Bayesian inference were a religion (whereas non-Bayesian statisticians rarely do that with their own paradigm), perhaps this is because the philosophical underpinnings of Bayesian inference somehow gives them a predisposition to behave that way.

And indeed, Bayesian inference often claims to be a coherent and complete theory of plausible reasoning. As such, if taken literally, it works like a closed system of thought.

Just look at how it is supposed to work. First, you have a prior, which you do not freely invent, but which you find out by introspection. Second, your mind, inasmuch as it is rational, is compelled to follow the laws of probability as its only guide for rational thinking in the presence of uncertainty. Any new empirical observation automatically triggers an update of your probabilities according to Bayes' rule. Third, given your posterior probabilities and your utilities (which you also found out by introspection), you choose the option that will maximize your posterior expected utility.

Altogether, a Bayesian does not seem to have much opportunity to think outside of the Bayesian box. Instead, at all steps, he is supposed to stay within the logical boundaries defined by his paradigm. As van Fraasen (1989) puts it, by doing so, he will "live a happy and useful life by conscientiously updating the opinions gained at his mother's knees, in response to his own experience thereafter" .

In this sense, Bayesian inference is, perhaps not exactly a religion, but at least something like an ideology: something that is meant to take control of your rational mind, without leaving any room for you to think outside of the paradigm.

The frequentist school has a very different, and much less invasive, philosophical perspective on the question of the relation between the formalism and the state of mind of the statistician. This is very clear, for instance, in Neyman's writings, when he develops his idea of behavioral induction, as opposed to inductive reasoning. In his own words, "to accept a hypothesis H means only to decide to take action A rather than action B. This does not mean that we necessarily believe that the hypothesis H is true". In other words, the aim is to develop statistical decision procedures that have well-defined operational characteristics, not to tell you what you are supposed to believe.

I think I prefer this more agnostic philosophical stance. We need some space between our logical formalisms and our personal thoughts, some space for us to breathe. The current orthodox interpretation of Bayesian inference does not really allow for that.

Of course, all this is true only if you take the standard view literally. In practice, there are much more open and more pragmatic stances with respect to the Bayesian statistical formalism (see in particular the view often expressed by Andrew Gelman, e.g. Gelman and Shalizi, 2012). In real life, most applied Bayesian statisticians do take some freedom and regularly allow themselves for some fresh air and some free-thinking outside of the system. That's also what I have done over the years, and it is probably the only way for us to arrive at sensible results anyway. But then, our philosophical stance should reflect the possibility of doing so. Otherwise, we maintain ourselves in an uncomfortable state of cognitive dissonance, between what we do in practice and what we say we do. 

More fundamentally, by maintaining some distance between the formalism and our thoughts and, more generally, by questioning the commonly accepted view(s) of Bayesian inference, I am sure that we will gain some more interesting insights about its practical meaning.

--

Gelman and Shalizi, 2012, Philosophy and the practice of Bayesian statistics, British Journal of Mathematical and Statistical Psychology, 66:8-38.

Neyman J., 1950. First course in Probability and Statistics, New York, Holt.

van Fraasen B., 1989, Laws and Symmetry, p. 178.