Inverse probability

Intermediate

What you need first. Nothing else on this path comes first. This page is part of Probability.

In probability, inverse probability is the historical practice of assigning a probability to an unknown given the observations. A direct probability runs from a known chance to the observations: if the chance of success is one half, the probability of a success is one half. Inverse probability runs the other way. It states a probability for the unknown chance given the observations. In current vocabulary that step is Bayesian inference, and the probability it produces is a posterior probability. [1] [2]

Inverse probability

Inverse probability
Fact Value
Topic Probability
Listed on Probability
Worked example 1

Motivating example

One trial is a success, and before the trial the unknown chance θ\theta was taken as uniform on the unit interval. The direct probability of a success at θ=1/2\theta=1/2 is 1/21/2. The inverse question is different: after the success, what is the probability that θ\theta itself exceeds 1/21/2? The uniform assignment and Bayes’ theorem answer 3/43/4. The data have moved the probability attached to the upper half of the chance. [1]

Definition

Inverse probability is the historical practice of assigning a probability to an unknown given the observations. Dodge’s account of the modern calculation is Bayes’ theorem in continuous form. If f(θ)f(\theta) is the distribution assigned to the unknown before the data and f(D∣θ)f(D\mid\theta) is the sampling model, the distribution after the data is

f(θ∣D)=f(D∣θ) f(θ)∫f(D∣θ) f(θ) dθ.f(\theta\mid D)=\frac{f(D\mid\theta)\,f(\theta)}{\int f(D\mid\theta)\,f(\theta)\,d\theta}.

The first two steps — name the observations, and name a parametric family for them — are shared with every parametric analysis. The third step, a distribution for θ\theta before the data, is the one that makes a probability for θ\theta available afterwards. The distribution f(θ∣D)f(\theta\mid D) is the final distribution in that vocabulary, and the posterior in the current one. [1]

Gelman’s statement of the same inversion in odds form is short. The posterior odds of one value against another equal the prior odds multiplied by the likelihood ratio of the observed data. The marginal probability of the data cancels, which is why the odds form is the convenient one. A probability for the unknown given the data is what the older name “inverse probability” was pointing at. [2]

Properties

Take θ\theta uniform on [0,1][0,1], so f(θ)=1f(\theta)=1, and let yy successes occur in nn independent Bernoulli trials. The likelihood is θy(1−θ)n−y\theta^y(1-\theta)^{n-y}. The posterior density is proportional to that likelihood. For one success in one trial the kernel is θ\theta, and ∫01θ dθ=1/2\int_0^1\theta\,d\theta=1/2, so the posterior density is 2θ2\theta. Then

P(θ>1/2∣y=1)=∫1/212θ dθ=1−(12)2=34.\mathbb{P}(\theta>1/2\mid y=1)=\int_{1/2}^1 2\theta\,d\theta=1-\left(\frac{1}{2}\right)^2=\frac{3}{4}.

The marginal probability of the success, the denominator in Bayes’ theorem, is 1/(1+1)=1/21/(1+1)=1/2. [1]

For a single failure the kernel is 1−θ1-\theta, the posterior density is 2(1−θ)2(1-\theta), and

P(θ>1/2∣y=0)=∫1/212(1−θ) dθ=14.\mathbb{P}(\theta>1/2\mid y=0)=\int_{1/2}^1 2(1-\theta)\,d\theta=\frac{1}{4}.

A success pushes probability toward larger chances. A failure pushes it toward smaller ones. The uniform assignment is one choice of f(θ)f(\theta). A different initial distribution produces a different inverse probability from the same count. [1]

The hemophilia example in Gelman is the same inversion with a discrete unknown. A woman has prior probability 1/21/2 of being a carrier. Two unaffected sons have likelihood 0.250.25 if she is a carrier and 11 if she is not. The prior odds are 11. The likelihood ratio is 0.250.25. The posterior odds are 0.250.25, and the posterior probability is 0.25/(1+0.25)=0.20.25/(1+0.25)=0.2. Adding a third unaffected son updates that probability to 0.1110.111 without rebuilding the whole table: the previous posterior becomes the next prior. [2]

Worked example

One trial, one success, θ\theta uniform on [0,1][0,1]. The posterior density is 2θ2\theta. The probability that the chance exceeds one half is 3/43/4. The direct probability of a success when the chance equals one half remains 1/21/2. Those are different probabilities. The first is about θ\theta after the data. The second is about the data at a fixed θ\theta. [1] [2]

Your turn. The single trial is a failure, so the posterior density is 2(1−θ)2(1-\theta). Find P(θ>1/2∣y=0)\mathbb{P}(\theta>1/2\mid y=0).

The integral is ∫1/212(1−θ) dθ=[2θ−θ2]1/21=(2−1)−(1−1/4)=1/4\int_{1/2}^1 2(1-\theta)\,d\theta=\bigl[2\theta-\theta^2\bigr]_{1/2}^1=(2-1)-(1-1/4)=1/4.

Assumptions and limits

The inversion needs a distribution for the unknown before the data. Dodge is explicit that this step is the problematic one: without supplementary information one looks for a reference distribution, and the uniform distribution on a chance is one such choice, not a requirement of Bayes’ theorem. A posterior probability computed under that choice is not the relative frequency of the interval in repeated samples. Frequentist inference scores procedures by those frequencies. Inverse probability scores the unknown. [1] [2]

The likelihood has to be the sampling model for the observations that were actually used. In the Bernoulli case the trials are independent given θ\theta. If they are not, the product θy(1−θ)n−y\theta^y(1-\theta)^{n-y} is the wrong likelihood and the posterior is the posterior for a different experiment. The hemophilia calculation ignores the mutation rate, which Gelman notes is small enough to set aside for that example. Putting the mutation rate back would change both likelihoods and the posterior probability of being a carrier. [2] [1]

Check yourself

Try these questions before opening an answer.

One success

One trial is a success and the unknown chance is uniform on the unit interval. What is the posterior probability that the chance exceeds 1/2?

The probability is 3/4.

One failure

One trial is a failure and the unknown chance is uniform on the unit interval. What is the posterior probability that the chance exceeds 1/2?

The probability is 1/4.

History

Bayes’s theorem is named for Thomas Bayes and was presented by Richard Price to the Royal Society on 23 December 1763, two years after Bayes’s death. The continuous form used above is the form in which a density for a parameter is updated by a likelihood. Laplace’s analytic theory of probabilities carried the same inversion into astronomical and demographic calculations. The twentieth-century name for the practice is Bayesian statistics: identify the data, name a sampling model, name an initial distribution, and calculate the final distribution. Inverse probability is the older name for that final distribution’s probabilities. [1] [2]

See also

Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability

Glossary and index

References

  1. ^ a b c d e f g h i a. (pp. 32–33) b. (p. 33) c. (pp. 32–33) d. (p. 33) e. (pp. 32–33) f. (p. 33) g. (pp. 32–33) h. (p. 33) i. (pp. 31–33) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
  2. ^ a b c d e f g a. (Ch. 1, §1.1, p. 3) b. (Ch. 1, §1.3, p. 8) c. (Ch. 1, §1.4, pp. 8–9) d. (Ch. 1, §1.3, p. 8) e. (Ch. 1, §1.1, p. 3) f. (Ch. 1, §1.4, p. 9) g. (Ch. 1, §1.3, p. 8) Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A. & Rubin, D. B. (2013). Bayesian Data Analysis. Chapman and Hall/CRC. https://doi.org/10.1201/b16018
Cite this page
Plain text
StatWiki (2026). "Inverse probability." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/inverse-probability.html
BibTeX
@misc{statwiki_inverse_probability,
  author = {{StatWiki}},
  title = {{Inverse probability}},
  year = {2026},
  url = {https://www.statwiki.io/articles/inverse-probability.html},
  urldate = {2026-12-02},
  note = {StatWiki, last updated 2 December 2026}
}