Let be a finite or countable partition of a set of the sample space into disjoint events, with . For any event , the law of total probability is
To prove it, the intersections are disjoint and have union . Countable additivity and the definition of conditional probability therefore give
It is enough that the union of the partition events has probability one. Parts of probability zero contribute zero in the intersection formula and can be omitted before writing conditional probabilities; conditioning by division on a zero-probability part would be undefined.
Phenotype 2026-10-13
A phenotype is an observable characteristic of an organism, arising from its genotype, environment and other influences. Seed shape is a phenotype; is a genotype. The distinction prevents appearance from being mistaken for a complete inherited description. See NHGRI: phenotype.
For a specified binary phenotype , let its penetrance in genotype be . The law of total probability gives . Thus the ideal example has : the familiar follows only when these penetrances are . A pedigree likelihood keeps inheritance and the conditional phenotype model as separate factors.
Probability Created 2026-10-03 Updated 2026-10-14
The probability of an event is its value under a probability measure, a real number between zero and one. It compares the mass assigned to that event with the unit mass of the whole sample space. For a finite sample space with equally likely outcomes, . For unequal outcome masses, add their individual probabilities instead.
For example, selecting a coin with head probability with chance , or a coin with head probability with chance , gives head probability . This is the law of total probability: averaging over the hidden selection is part of calculating the outcome's probability.
Sharp bounds from binary conditional probabilities Created 2026-10-18 Updated 2026-10-25
Write , and . The law of total probability gives the displayed convex combination. With fixed and free in ,
With fixed and free in ,
The joint cell masses are nonnegative and sum to one, proving sharpness in the joint-model interpretation. For ordinary conditional probabilities, a conditioning event must have positive mass. If both and are specified by ratios, then : for the last bounds are strict and their endpoints are the infimum and supremum. If , the marginal equals that common value for every . Endpoint mixtures remain meaningful if the unused zero-mass conditional is treated as a prescribed conditional model rather than a defined ratio.