Confusion of the inverse

{{sources needed}}{{logicnav}}
'''Confusion of the inverse''' (also '''fallacy of the transposed conditional''') is the [[statistical]] equivalent of the propositional [[fallacy]] of [[affirming the consequent]]. Essentially it is confusing the difference between the [[probability]] of a set of data given a [[hypothesis]], and the probability of a hypothesis given a set of data. 

The fallacy is a [[formal fallacy]].

==Background==
In statistics there are ''[[random]] variables'' representing events with uncertain outcomes, such as die tosses. The random variable is a function mapping each possible outcome of the event to a different number; in the die toss case, this would just be the number that was rolled.

A ''marginal probability'' (just ''probability'' for short) is then assigned to each number in the range of the random variable (''e.g.'', <math>A</math>). If the range is finite or countable, this will be written <math>P(A=x)</math> for some possible outcome <math>x</math> (''e.g.'', <math>P(A=1)=\tfrac16</math> in the case of the die toss).

A ''conditional probability'' involves two random variables (''e.g.'', <math>A</math> and <math>B</math>) and gives the probability of a certain outcome for <math>A</math> given a certain outcome for <math>B</math> . It is written <math>P(A=x|B=y)</math> .

Suppose, for example, that <math>A</math> represents whether or not it will rain, and <math>B</math> represents the state of the clouds in the sky. <math>P(A=\text{rain}|B=\text{overcast})</math> then represents the probability that it will rain given that the sky is overcast.

==The fallacy==
The fallacy of confusion of the inverse is to assume that <math>P(A|B)=P(B|A)</math> – that is, the probability of A being true given B (i.e., a [[hypothesis]] is true given the [[evidence]]) is the same as the probability of B being true given A (the probability of the evidence given a hypothesis). These are not the same thing, for example: The probability that it is cloudy outside given that it is raining does not equal the probability that it is raining given it is cloudy outside. Evidently, there are many times when it can be cloudy ''without'' rain, but rain in a completely cloudless sky is considerably rare. If our hypothesis is that it is raining we can be almost certain that we will observe clouds in the sky, however if we observe clouds in the sky we cannot say that it is almost certainly raining. So the probability of our data (observing clouds) is nearly 100 percent given our hypothesis (that it is raining), but our hypothesis (that it is raining) is not a 100 percent given only our data (observing clouds).

The distinction between these and how to convert between them is used in Thomas Bayes's eponymous 1763 theorem; 

<math>P(A|B)=\frac{P(B|A)\cdot P(A)}{P(B)}</math>

<math>P(A|B)=P(B|A)</math> are equal only in the limited cases where the prior probabilities are the same <math>P(A)=P(B)</math> . If this was the case, then you can't draw a new conclusion about your hypothesis from your evidence.

In order to relate the probability of our data given our hypothesis, to the probability of the hypothesis itself we require additional information. We need to know the probability of our hypothesis compared to alternative hypotheses before the data was collected. We can then use our observations to update the probability of our main hypothesis. [[Bayesian]] statistics and Bayes' equation is the main method of doing this, however, most statistical analysis is usually [[frequentist]] and so any attempt to relate the calculated probabilities to the original hypothesis is a fallacy of the transposed conditional.

==Examples==
*The proportion of [[Muslim]]s who are [[terrorist]]s (''i.e.'', one's probability of being a terrorist given that he is a Muslim) is roughly equal to the proportion of terrorists who are Muslims (''i.e.'', one's probability of being a Muslim given that he is a terrorist).
*The probability that a [[species]] exists given that it [[Evolution|evolved]] (< 100%) is exactly equal to the probability that a species evolved given that it exists (100%).{{efn|This is [[12 Arguments Evolutionists Should Avoid#Argument 6: It’s here, so it must have evolved|cited]] by [[Answers in Genesis]] as an example of a fallacious argument against [[creationism]]; probably one of their [[Straw man|straw men]].}}
*Probability that a die roll's result is less than seven given that the die is six-sided is equal to the probability that a die is six-sided given that a single roll resulted in less than seven.
*If most criminals are members of group X, most members of group X must be criminals.

==See also==
*[[Prosecutor’s fallacy]]
*[[Correlation does not imply causation]]

==Notes==
{{reflist|group=note}}

{{logfal}}

[[Category:Formal fallacies]]
[[Category:Mathematics]]

Categories: Formal fallacies, Mathematics