Law of total probability
   HOME

TheInfoList



OR:

In
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set ...
, the law (or formula) of total probability is a fundamental rule relating marginal probabilities to
conditional probabilities In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion or evidence) has already occurred. This particular method relies on event B occur ...
. It expresses the total probability of an outcome which can be realized via several distinct events, hence the name.


Statement

The law of total probability isZwillinger, D., Kokoska, S. (2000) ''CRC Standard Probability and Statistics Tables and Formulae'', CRC Press. page 31. a
theorem In mathematics, a theorem is a statement that has been proved, or can be proved. The ''proof'' of a theorem is a logical argument that uses the inference rules of a deductive system to establish that the theorem is a logical consequence of t ...
that states, in its discrete case, if \left\ is a finite or
countably infinite In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural number ...
partition of a
sample space In probability theory, the sample space (also called sample description space, possibility space, or outcome space) of an experiment or random trial is the set of all possible outcomes or results of that experiment. A sample space is usually den ...
(in other words, a set of
pairwise disjoint In mathematics, two sets are said to be disjoint sets if they have no element in common. Equivalently, two disjoint sets are sets whose intersection is the empty set.. For example, and are ''disjoint sets,'' while and are not disjoint. A c ...
event Event may refer to: Gatherings of people * Ceremony, an event of ritual significance, performed on a special occasion * Convention (meeting), a gathering of individuals engaged in some common interest * Event management, the organization of ev ...
s whose union is the entire sample space) and each event B_n is
measurable In mathematics, the concept of a measure is a generalization and formalization of geometrical measures (length, area, volume) and other common notions, such as mass and probability of events. These seemingly distinct concepts have many simila ...
, then for any event A of the same
probability space In probability theory, a probability space or a probability triple (\Omega, \mathcal, P) is a mathematical construct that provides a formal model of a random process or "experiment". For example, one can define a probability space which models t ...
: :P(A)=\sum_n P(A\cap B_n) or, alternatively, :P(A)=\sum_n P(A\mid B_n)P(B_n), where, for any n for which P(B_n) = 0 these terms are simply omitted from the summation, because P(A\mid B_n) is finite. The summation can be interpreted as a
weighted average The weighted arithmetic mean is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others. The ...
, and consequently the marginal probability, P(A), is sometimes called "average probability"; "overall probability" is sometimes used in less formal writings. The law of total probability can also be stated for conditional probabilities: :P( ) = \frac = \frac = \frac = \sum\limits_n P ( )P( ) Taking the B_n as above, and assuming C is an event
independent Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s * Independe ...
of any of the B_n: :P(A \mid C) = \sum_n P(A \mid C \cap B_n) P(B_n)


Continuous case

The law of total probability extends to the case of conditioning on events generated by continuous random variables. Let (\Omega, \mathcal, P) be a
probability space In probability theory, a probability space or a probability triple (\Omega, \mathcal, P) is a mathematical construct that provides a formal model of a random process or "experiment". For example, one can define a probability space which models t ...
. Suppose X is a random variable with distribution function F_X, and A an event on (\Omega, \mathcal, P) . Then the law of total probability states P(A) = \int_^\infty P(A , X = x) d F_X(x). If X admits a density function f_X, then the result is P(A) = \int_^\infty P(A , X = x) f_X(x) dx. Moreover, for the specific case where A = \, where B is a Borel set, then this yields P(Y \in B) = \int_^\infty P(Y \in B , X = x) f_X(x) dx.


Example

Suppose that two factories supply
light bulb An electric light, lamp, or light bulb is an electrical component that produces light. It is the most common form of artificial lighting. Lamps usually have a base made of ceramic, metal, glass, or plastic, which secures the lamp in the soc ...
s to the market. Factory ''X'''s bulbs work for over 5000 hours in 99% of cases, whereas factory ''Y'''s bulbs work for over 5000 hours in 95% of cases. It is known that factory ''X'' supplies 60% of the total bulbs available and Y supplies 40% of the total bulbs available. What is the chance that a purchased bulb will work for longer than 5000 hours? Applying the law of total probability, we have: : \begin P(A) & = P(A\mid B_X) \cdot P(B_X) + P(A\mid B_Y) \cdot P(B_Y) \\ pt& = \cdot + \cdot = = \end where * P(B_X)= is the probability that the purchased bulb was manufactured by factory ''X''; * P(B_Y)= is the probability that the purchased bulb was manufactured by factory ''Y''; * P(A\mid B_X)= is the probability that a bulb manufactured by ''X'' will work for over 5000 hours; * P(A\mid B_Y)= is the probability that a bulb manufactured by ''Y'' will work for over 5000 hours. Thus each purchased light bulb has a 97.4% chance to work for more than 5000 hours.


Other names

The term ''law of total probability'' is sometimes taken to mean the law of alternatives, which is a special case of the law of total probability applying to
discrete random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
s. One author uses the terminology of the "Rule of Average Conditional Probabilities", while another refers to it as the "continuous law of alternatives" in the continuous case. This result is given by Grimmett and Welsh''Probability: An Introduction'', by
Geoffrey Grimmett Geoffrey Richard Grimmett (born 20 December 1950) is a mathematician known for his work on the mathematics of random systems arising in probability theory and statistical mechanics, especially percolation theory and the contact process. He is ...
and Dominic Welsh, Oxford Science Publications, 1986, Theorem 1B.
as the partition theorem, a name that they also give to the related law of total expectation.


See also

* Law of total expectation *
Law of total variance In probability theory, the law of total variance or variance decomposition formula or conditional variance formulas or law of iterated variances also known as Eve's law, states that if X and Y are random variables on the same probability space, and ...
* Law of total covariance *
Law of total cumulance In probability theory and mathematical statistics, the law of total cumulance is a generalization to cumulants of the law of total probability, the law of total expectation, and the law of total variance. It has applications in the analysis o ...
*
Marginal distribution In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset. It gives the probabilities of various values of the variab ...


Notes


References

* ''Introduction to Probability and Statistics'' by Robert J. Beaver, Barbara M. Beaver, Thomson Brooks/Cole, 2005, page 159. * ''Theory of Statistics'', by Mark J. Schervish, Springer, 1995. * ''Schaum's Outline of Probability, Second Edition'', by John J. Schiller, Seymour Lipschutz, McGraw–Hill Professional, 2010, page 89. * ''A First Course in Stochastic Models'', by H. C. Tijms, John Wiley and Sons, 2003, pages 431–432. * ''An Intermediate Course in Probability'', by Alan Gut, Springer, 1995, pages 5–6. {{DEFAULTSORT:Law Of Total Probability Probability theorems Statistical laws