Is there a name for the opposite of the gambler's fallacy? The gambler's fallacy is a fallacy because of the assumed probability and the independence of the events. However, if, after flipping a coin 100 times and obtaining heads each time, I still believe the probability of obtaining tails to be 0.5, am I not making a different mistake? Is there a name for that kind of fallacy?
 A: That seems to be a typical example of the Ludic Fallacy: https://en.wikipedia.org/wiki/Ludic_fallacy#Example:_Suspicious_coin
A: N Blake's answer is great, using the language of cognitive psychology. If you're up for a Bayesian slant, you could treat this as violating Cromwell's rule.
You have a prior certain belief that the coin's probability of giving tails is $f=0.5$. In other words, you believe that $p(f=0.5) = 1$, which is the problem. This gives you no flexibility to update this as the experiment continues. Your posterior $p(f \mid \text{100 heads})$ is now proportional to
$$
\cases{
p(\mathrm{H} \mid f)^{100} \times 1 & if $f=0.5$ \\
p(\mathrm{H} \mid f)^{100} \times 0 \color{red}{= 0} & otherwise
}
$$
Despite this long run of heads, your posterior remains unchanged from the prior! You didn't update your mental model of the coin despite the consilience of evidence against it being a fair coin.
A: Belief perseverance seems to fit - maintaining a belief (that it's a fair coin), despite contrary evidence (100/100 heads).
A: It's called a strong prior.
The more enduring your belief in the coin's fairness is, the stronger the prior would be said to be.  Might call it an absolute prior if it'd never change.
It's not necessarily a fallacy so much as an approximation, especially if the prior is strong enough that it'd be difficult to meaningfully distinguish its strength from absolution.
A: This belief was examined in a series of papers on the "gambler's fallacy" and broader methods of binomial prediction under the Bayesian paradigm (see O'Neill and Puza 2005; O'Neill 2012; O'Neill 2015).  These papers argue in favour of your view here --- that observing more heads in a series of coin-flips should shift your belief somewhat towards having more heads in the future.  Those papers referred to this (correct) belief as the "frequent outcome approach", and noted (just as you have) that the persistent belief in fairness is problematic.  Those papers do not give any name to the latter error, but I agree with some of the names suggested by other commentators ("stubbornness", "belief persistence", etc.).
A: I would call that a Type II error, which is anytime in science you fail to reject a null hypothesis even though it is false. If you had no other reason to think the coin is fair other than the flips you've seen, you could calculate draw a conclusion on evidence alone/ If you conclude it is fair just because you think you have insufficient evidence to conclude the proportion is different than 50/50 in the infinite limit, and if it is in fact not 50/50, that is a Type II error.
