Law of total probability
Part of a series onstatistics |
Probability theory |
---|
Inprobability theory,thelaw(orformula)of total probabilityis a fundamental rule relatingmarginal probabilitiestoconditional probabilities.It expresses the total probability of an outcome which can be realized via several distinctevents,hence the name.
Statement[edit]
The law of total probability is[1]atheoremthat states, in its discrete case, ifis a finite orcountably infiniteset ofmutually exclusiveandcollectively exhaustiveevents, then for any event:
or, alternatively,[1]
where, for any,if,then these terms are simply omitted from the summation sinceis finite.
The summation can be interpreted as aweighted average,and consequently the marginal probability,,is sometimes called "average probability";[2]"overall probability" is sometimes used in less formal writings.[3]
The law of total probability can also be stated for conditional probabilities:
Taking theas above, and assumingis an eventindependentof any of the:
Continuous case[edit]
The law of total probability extends to the case of conditioning on events generated by continuous random variables. Letbe aprobability space.Supposeis a random variable with distribution function,andan event on.Then the law of total probability states
Ifadmits a density function,then the result is
Moreover, for the specific case where,whereis a Borel set, then this yields
Example[edit]
Suppose that two factories supplylight bulbsto the market. FactoryX's bulbs work for over 5000 hours in 99% of cases, whereas factoryY's bulbs work for over 5000 hours in 95% of cases. It is known that factoryXsupplies 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:
where
- is the probability that the purchased bulb was manufactured by factoryX;
- is the probability that the purchased bulb was manufactured by factoryY;
- is the probability that a bulb manufactured byXwill work for over 5000 hours;
- is the probability that a bulb manufactured byYwill work for over 5000 hours.
Thus each purchased light bulb has a 97.4% chance to work for more than 5000 hours.
Other names[edit]
The termlaw of total probabilityis sometimes taken to mean thelaw of alternatives,which is a special case of the law of total probability applying todiscrete random variables.[citation needed]One author uses the terminology of the "Rule of Average Conditional Probabilities",[4]while another refers to it as the "continuous law of alternatives" in the continuous case.[5]This result is given by Grimmett and Welsh[6]as thepartition theorem,a name that they also give to the relatedlaw of total expectation.
See also[edit]
- Law of large numbers
- Law of total expectation
- Law of total variance
- Law of total covariance
- Law of total cumulance
- Marginal distribution
Notes[edit]
- ^abZwillinger, D., Kokoska, S. (2000)CRC Standard Probability and Statistics Tables and Formulae,CRC Press.ISBN1-58488-059-7page 31.
- ^Paul E. Pfeiffer (1978).Concepts of probability theory.Courier Dover Publications. pp. 47–48.ISBN978-0-486-63677-1.
- ^Deborah Rumsey(2006).Probability for dummies.For Dummies. p. 58.ISBN978-0-471-75141-0.
- ^Jim Pitman (1993).Probability.Springer. p. 41.ISBN0-387-97974-3.
- ^Kenneth Baclawski (2008).Introduction to probability with R.CRC Press. p. 179.ISBN978-1-4200-6521-3.
- ^Probability: An Introduction,byGeoffrey GrimmettandDominic Welsh,Oxford Science Publications, 1986, Theorem 1B.
References[edit]
- Introduction to Probability and Statisticsby 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.