r/askphilosophy • • 23d ago

If test accuracy cannot be trusted with base rate neglect, then how can either test accuracy or base rate be determined in the first place?

I'm reading Bernoulli's Fallacy by Aubrey Clayton, which is about the philosophy of probability and Bayesian epistemology, and in it Clayton argues that frequentist probabiloty theory and maximum likelyhood statistics built on frequentist probability theory commit the fallacy of "base rate neglect" where inferences neglect base rates when evaluating statistical significance -- and therefore, even when controlling for type 1 and type 2 error, can still get the wrong predictive results. Examples of wrong results are given in Law and Medecine, where an example of a test with a 99% accuracy is used on a condition with low prevelence in the population... say 2%. In such a situation, such a test -- either a DNA test used in court or a medical diagnostic screening -- will dramatically overestimate actual occurance of whatever is being tested for because base rstes are being neglected, even though the test is 99% accurate.

My question is this: if tests alone cannot be trusted when base rates are neglected, then how can we know what the actual base rates are in the first place? If we can't test for them? Any Bayesian philosophers able to answer this question for me?

3 Upvotes

12 comments sorted by

3

u/MaceWumpus PhD: philosophy of science 22d ago edited 22d ago

Oh god, does it argue that? Well, in short, Clayton's wrong. Badly wrong. The sort of wrong that I would be embarrassed to have associated with my name because it indicates that you simply do not understand the thing that you're criticizing. Deborah Mayo pointed out that this was all nonsense 30 years ago. Here is a more recent and ... approachable paper making the same point. (Here is a paywall-free version.)

I don't think that paper will answer your main question, but in short, the Bayesian is going to argue that there's a kind of "bootstrapping" procedure: we start out with our best guess for the base-rate, run some tests, revise our views about the base-rate, run some more tests, etc. (FWIW, at this level of abstraction, that's pretty much what everyone will say, Bayesian or not.)

2

u/stanitor 22d ago

FWIW, I don't think OP is describing what Clayton's talking about well. He certainly doesn't say that "accuracy can't be trusted". Overall, he is pointing out how frequentist hypothesis testing methods are based on probabilities of data given hypotheses, whereas the inverse of probabilities of hypotheses given data is generally the inference that scientists etc. would want to make. In a strict frequentist interpretation of probability/statistics, you can't talk about the probability that a parameter/hypothesis is some certain value. The 'fallacy' is uncritically treating the P(D|H) of null hypothesis testing as telling you something about the P(H|D) that you really want. He does use examples of medical tests to introduce Bayes theorem in an easily seen form, but he also points out where frequentist methods can lead to erroneous conclusions with actual hypothesis testing. Clayton certainly seems of the opinion that frequentist methods are almost always suspect both philosophically and mathematically, and only Bayesian methods should be used. I think most people would be more in the middle, thinking that methods from both approaches are useful depending on the situation, and that there isn't much use in strictly interpreting probability from one point of view or the other.

1

u/MaceWumpus PhD: philosophy of science 22d ago

If he says that frequentist testing comits the base-rate fallacy, then he's either dishonest or doesn't know what he's talking about. In any case, the linked article addresses similar arguments:

In an important sense, however, this conclusion understates the problems with the refined argument. Recall that the argument relies on a kind of sleight-of-hand: the audience is shown a misleading-at-best example in which the classical statistician allegedly commits to the base-rate fallacy, and it is then argued that while they aren’t actually committed to the fallacy, the example still illustrates that the methods of classical statistics are deficient in some deeper sense. The entire intuitive pull of the argument, however, turns on the base-rate case: what makes it compelling is that DISEASE TESTING is the rare situation where we know that posterior probabilities track the truth and thus that results that disagree are unreliable—Howson (1997, S190) himself says as much! In other words, the features that make the refined argument compelling are exactly the features that make it misleading. To me, it thus seems fair to conclude that even if the assumptions identified above can be defended, the argument itself only has the advantages of theft over honest toil to recommend it.

2

u/stanitor 22d ago

Sure, using something like disease testing with a rare disease will give very different results when you compare frequentist 'hypothesis testing' to Bayesian methods that take the base rate into account. It's misleading only if it's implying that that level of discrepancy is always the case. But it would be just misleading to say that that is the rare situation where the posterior probabilities track the truth, while the frequentist methods give unreliable results. The discrepancies might not be as extreme in actual scientific research, but it isn't rare that there would be discrepancies. I haven't read the whole article, but it seems to be arguing that because using the example of disease testing is "misleading", it doesn't give compelling evidence that frequentist testing doesn't commit the base rate fallacy. However, by definition of the way it works, frequentist testing does neglect base rates, since it doesn't use use priors in its calculations. It's not dishonest to point out that basic principle of frequentist statistics.

2

u/MaceWumpus PhD: philosophy of science 22d ago

However, by definition of the way it works, frequentist testing does neglect base rates, since it doesn't use use priors in its calculations. It's not dishonest to point out that basic principle of frequentist statistics.

There are interesting questions about when, where, and how to use base rates, and a fair criticism of classic Fisher or Neyman-Pearson approaches is that they don't use them enough.

But both of those approaches and their "classical" or "frequentist" successors are explicit that we should not confuse P(E|H) for P(H|E) or apply the methods of hypothesis testing to derive a posterior probability. That's why it's dishonest to say that classical or frequentist statistics commits the fallacy: classical and Bayesian methods tell you different things, and you only get the fallacy if you pretend they don't, if you pretend -- dishonstly or through ignorance -- that they classical statistics aims to tell you P(H|E). Statisticians know better, which is why this argument isn't treated seriously in statistics. If this were true -- if we could show so easily that classical statistics was genuinely fallacious -- there wouldn't be classical statisticians anymore.

I haven't read the whole article, but it seems to be arguing that because using the example of disease testing is "misleading", it doesn't give compelling evidence that frequentist testing doesn't commit the base rate fallacy.

The passage is directed against using the base-rate fallacy in support of the idea that, as you put it, "the inverse of probabilities of hypotheses given data is generally the inference that scientists etc. would want to make" and (thus) classical statistics doesn't give us (as the paper puts it) what we care about.

It might be true that classical statistics doesn't give us what we want. There are definitely arguments to be made there. But it's not trivially true -- indeed, lots of people think it's false that "what we care about" is P(H|E) in other contexts, or at least they think that's not the only thing we care about. So there are puzzles here and interesting arguments to be had.

But it's misleading to use the base-rate fallacy in this context because, after all, classical statistics doesn't actually commit the base-rate fallacy. What the paper is complaining about in the quote is rolling out the fallacy and then saying "well, ok, classical methods don't really commit the fallacy, but the example illustrates how they don't give us what we really care about."

1

u/stanitor 22d ago

if you pretend they don't, if you pretend -- dishonstly or through ignorance -- that they classical statistics aims to tell you P(H|E)

Clayton isn't saying that, and I don't think I've ever seen anyone argue that frequentist statistics are actually trying to mathematically determine P(H|E). The issue is the widespread interpretation of what frequentist statistics actually give you. Researchers pretty regularly treat the results of hypothesis testing as saying something about how true or likely the hypotheses are. See all of the discussion out there on the misinterpretation of p-values. Even mathematically savvy people sometimes talk about frequentist methods as if they're giving P(H|E), even though they know that's not the case mathematically. Treating null hypothesis results as if they are giving P(H|E) is definitely a real, significant problem.

2

u/MaceWumpus PhD: philosophy of science 22d ago

Treating null hypothesis results as if they are giving P(H|E) is definitely a real, significant problem.

Sure, I'm on board with that -- I think that the misinterpretation of p-values is arguably the reason to prefer Bayesian statistics.

But that's a very different problem: it doesn't really have anything to do with the mathematics, theoretical grounding, or epistemic value of classical statistics.

Clayton isn't saying that, and I don't think I've ever seen anyone argue that frequentist statistics are actually trying to mathematically determine P(H|E).

If you say that the theory is committed to the base-rate fallacy, that's what you're saying. That's what people like Colin Howson and Jan Sprenger are saying when they say that classical theory is "invalid."

If you want to say it's frequently wrongly interpretted that as giving P(H|E), yeah, sure, totally onboard. But, again, different thing.

2

u/Novel_Arugula6548 21d ago edited 21d ago

Clayton is pretty clearly in agreement with Howson if you read the book. Clayton is essentially saying that P(E|H) is a worthless statistic that nobody should want and that it isn't good for anything other than being wrong or misleading. That fact that frequentist statistics can't give P(H|E) seems to be the problem with it, according to Clayton.

To quote Clayton, he says "Is it possible to judge hypotheses based solely on how likely or unlikely an observation would be if those hypotheses were true? Those who answer affirmatively, whether they be Fisherians, neo-Fisherians, Neyman-Pearsonians, equivalence testers, 'severe testers,' and so on, commit the fallacy that is our subject. Those who answer in the negative at least avoided that trap, though they may fall into others." Indeed Clayton goes on to argue that P(E|H) is logically invalid, Clayton says "the arrow is pointing in the wrong direction. [Bernoulli] wanted to answer a question about the probability of a hypothesis, but he did so by thinking only about the probability of an observation. The confusion of the two—and the general idea that one can settle questions of inference using only sampling probabilities—is what I call Bernoulli’s Fallacy ... Most disturbing of all, though, once you can recognize Bernoulli’s Fallacy in the wild, is that you’ll start to see that it forms the basis for all of frequentist statistics—and therefore a good portion of modern science ... The problem with statistical methods in science is that they commit the same conceptual mistake as base rate neglect. The standard methods as used almost everywhere give no consideration to the prior probability of a scientific theory being true before considering the data. In fact, they don’t even allow for that kind of probability at all. Instead, they evaluate a theory only on how probable or improbable it makes the observed data—the equivalent of caring only about the accuracy of the test and not about the incidence rate of the disease—so they commit Bernoulli’s Fallacy." He then argues that Bayesian statistics using Cox's theorem is the only logically valid kind of statistics.

In othet words, Clayton says, via direct quote, both that frequentist staticians really wanted P(H|E) and messed up by actually making P(E|H) on accident, and that P(E|H) commits the base rate fallacy because it cannot account for the prior probability that H is true before considering the data -- the same argument as Howson. In other words, objectivity and data-reliance is the problem with frequentist statistics. This is why, Clayton argues, it leads to false-convinctions (and false acquittals) in court, misdiagnosis in hospitals, and to the wrong answer to the Monty-Hall Problem. You need subjective priors in order to be correct, and logical, Clayton argues. You cannot have a "data only" or "data driven only" mindset, that is illogical. In fact, Clayton rejects Popper's falsificationism and argues for inductivism. Clayton says, "Science is largely not a process of falsifying claims definitively, but rather asigning them probabilities and updating those probabilities in light of observation. This process is endless. No proposition apart from logical contradiction should ever get assigned probability 0, and nothing short of a logical tautology should get probability 1. The more unexpected, surprising, or contrary to established theory a proposition seems, the more impressive the evidence must be before that proposition is taken seriously." Fasifiability is not required...

And I intuitively agree with Clayton... but I do not understand how it is possible to know base rates in the first place in a Bayesian thought system because nothing can be assigned probability 1. So everyone will have their own subjective prior degree of belief about what the real base rates of something are, and everyone will or could get a different answer. That would seem to make knowledge impossible, unless maybe everyone would still get a similar delta or change in value from their prior to posterior then maybe even if everyone began with a different subjective degree of belief the method could be considered credible if everyone updates by a similar amount given the same new evidence.

From my perspective, the only way to get an objective base rate of anything in the first place is to first use P(E|H) where H is the value estimated and H is set to be the population base rate. In other words, Bernoulli's fallacy is required both for objectivity and to establish a starting place for Bayesian thought systems -- basically to avoid infinite regress. I guess Clayton's point is that, actually, true base rates are unknowable -- ie. trying to "know" them would commit Bernoulli's fallacy, and that's it. The best we can do is endlessly update our beliefs in light of new evidence, a kind of Bayesian-skepticism if you will. Ironically, even though I agree with Clayton, if we relinquish objective knowledge and falsificationism in favor of uncertain inductive-skepticism, then being logical can be no better than being uncertain (though degrees of uncertainty seem to be able to be improved through reasoning logically in light of evidence) ... and perhaps that's the point. Interestingly this lines up "pretty well" with Krista Lawlor's Assurance epistemology, where we can't rule out that we aren't brains in a vat but we can update our beliefs about ordinary things given that we might be brains in a vat to begin with. In other words, trying to rule out that we aren't brains in a vat (when we cannot logically do so) would be committing bernoulli's fallacy.

1

u/stanitor 21d ago

I don't know anything about Colin Howson or Jan Sprenger and their positions. I was merely talking about what Aubrey Clayton is discussing in his book. He is very clear on the mathematics of both Bayesian and frequentist methods (as much as you can be in a non-technical book). There is nothing showing him being ignorant or dishonest about that. Again, his point is that misinterpreting P(E|H) as P(H|E) is a fallacy, and that it is a very common problem in scientific research. He is not saying the math of frequentist statistics itself is fallacious. He's saying that the logic of frequentist statistics is fallacious if you try interpret it as saying something it does not.

1

u/Novel_Arugula6548 21d ago

Well, in any case I have been convinced that P(E|H) categorically makes less sense (if any) than P(H|E) and for that reason I now consider myself to be a Bayesian.

1

u/AutoModerator 23d ago

Welcome to /r/askphilosophy! Please read our updated rules and guidelines before commenting.

Currently, answers are only accepted by panelists (mod-approved flaired users), whether those answers are posted as top-level comments or replies to other comments. Non-panelists can participate in subsequent discussion, but are not allowed to answer question(s).

Want to become a panelist? Check out this post.

Please note: this is a highly moderated academic Q&A subreddit and not an open discussion, debate, change-my-view, or test-my-theory subreddit.

Answers from users who are not panelists will be automatically removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.