In a Bayesian view of the world, the probability of an event occurring depends on the evidence available. In this case, you have observed the coin being flipped 99 times and it landing heads up 99 times in a row. This provides strong evidence that the coin is biased towards heads.
One way to quantify this evidence is through a Bayesian posterior probability. The posterior probability of the coin being biased towards heads given the observed data is:
P(Heads|Data) = P(Data|Heads) * P(Heads) / P(Data)
where P(Heads|Data) is the posterior probability of heads given the data, P(Data|Heads) is the likelihood of the data given heads, P(Heads) is the prior probability of heads, and P(Data) is the prior probability of the data.
Using the observed data, we can calculate the posterior probability of heads to be:
P(Heads|Data) = 0.99 * 0.5 / 0.5 = 0.99
This means that, according to Bayesian inference, the probability of the coin landing heads up in the next flip is 99%.
In contrast, a classical statistical viewpoint would not make any assumptions about the bias of the coin and would simply treat the coin flip as a Bernoulli trial. The probability of heads would be:
P(Heads) = 0.5
The probability of heads in the next flip would be the same as any other Bernoulli trial, which is:
P(Heads|Heads) = 1
P(Heads|Tails) = 0
Using these probabilities, we can calculate the probability of heads in the next flip to be:
P(Heads|Heads) = 1 * 0.5 / (1 * 0.5 + 0 * 0.5) = 0.5
This means that, according to classical statistics, the probability of the coin landing heads up in the next flip is still 50%.
In summary, the Bayesian approach provides a more nuanced view of the coin flip game by incorporating the strong evidence of heads in the observed data, while the classical statistical view treats the coin flip as a Bernoulli trial and calculates the probability of heads based on the prior probabilities and the observed data.