For a finite measurable partition with positive probabilities, and an event of positive probability,
Its beauty is that a model predicting observations from a hidden state can also describe uncertainty about the state after an observation. Each numerator is a joint probability; the denominator, supplied by the law of total probability, makes the answers sum to one. This is a direct consequence of conditional probability, rather than an extra axiom.
Select the coin from law of total probability once, then toss that same coin repeatedly, with conditionally independent tosses given its identity. Let denote the -head coin, initially of prior probability . After one head , its posterior probability is
The likelihood of a head is larger under , but remains less likely than the other coin because its prior probability was smaller. A large likelihood for an observation does not itself imply a large posterior probability for the hypothesis.
After an ordered sequence containing heads and tails, its likelihood ratio between the two coins is . Bayes' theorem therefore gives posterior odds
Each head multiplies the odds by and each tail by . Three heads give posterior probability , still below one half; four give , above one half. The finite-model update and the distinction between prior probability, likelihood and posterior probability are set out in MIT 18.05, Reading 11: Bayesian Updating with Discrete Priors.
Figure 1.
Updating uncertainty about one selected coin after repeated observations
. Details.
The hidden selection also creates dependence. Each toss has marginal head probability , but two heads have joint probability , greater than . Their indicator covariance is . Seeing a head makes the head-favoring coin more likely, so it also raises the chance of a future head. This is covariance induced by a shared latent variable, despite conditional independence of the tosses given the coin.
Historically, Thomas Bayes's essay on an unknown success probability appeared in 1763 after his death, communicated by Richard Price. Its opening problem asks how observed successes and failures constrain that unknown probability; Price's introductory letter explains the connection to reasoning from experience. That is a more substantial inference problem than simply rearranging today's elementary identity. [ref]
Suppose exactly one of equally likely candidates is the source of an observation. A test is always positive for that source and is positive with probability for any nonsource candidate. For one randomly selected candidate, Bayes' theorem gives , proving the displayed result. Even a small false positive rate can leave a substantial chance of a different source when there are many alternatives. The model concerns one selected candidate with the stated prior; searching many candidates and selecting a match requires accounting for that selection procedure.
An urn has balls, including of one colour and of the other, with . After a uniform first draw, an independent decision returns that ball with probability ; the second draw is uniform from the remaining contents. Let mean the th draw has the first colour and mean replacement. The two relevant joint probabilities are
Applying Bayes' theorem and cancelling the common factors gives the displayed conditional probability. It is independent of and satisfies
Two different observed colours therefore decrease the posterior probability of replacement: removing the first colour makes the second more likely. The replacement decision must be independent of the first draw for this formula; its marginal probability alone does not specify the model.
Let have the positive-integer geometric distribution with success parameter , and conditionally toss independent coins with head probability . Exactly one head has conditional probability . Combining this with the prior by Bayes' theorem gives the displayed posterior with ; its normalization uses . For , the posterior is . It is also a shifted negative binomial distribution, with equal in law to the number of failures before two successes of probability .
If every model's likelihood is multiplied by the same positive factor independent of its parameter or model index, Bayes' theorem cancels that factor from the normalized posterior. Fixed-count Bernoulli sampling and sampling stopped at a specified positive head count give such proportional likelihoods for the same total heads and tails. This conclusion uses their actual sampling likelihoods; it is not a claim that every selection or stopping rule can be ignored.
If a hidden coin is selected once with prior probability of coin , repeated tosses are independent conditional on that coin. Bayes' theorem weights the prior by each all-heads likelihood. They need not be independent without conditioning on the chosen coin.

Ancestors (6)

  1. Conditional probability
  2. Probability theory
  3. Probability and statistics
  4. Area of mathematics
  5. Mathematics
  6. Home

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (2)

Bayes' theorem is a fundamental theorem in probability and statistics that describes how to update the probability of a hypothesis as more evidence or information becomes available. It allows us to calculate the conditional probability of an event based on prior knowledge of conditions related to the event.