Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Law of total probability
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Example== Suppose that two factories supply [[light bulb]]s to the market. Factory ''X''<nowiki>'</nowiki>s bulbs work for over 5000 hours in 99% of cases, whereas factory ''Y''<nowiki>'</nowiki>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: : <math> \begin{align} P(A) & = P(A\mid B_X) \cdot P(B_X) + P(A\mid B_Y) \cdot P(B_Y) \\[4pt] & = {99 \over 100} \cdot {6 \over 10} + {95 \over 100} \cdot {4 \over 10} = {{594 + 380} \over 1000} = {974 \over 1000} \end{align} </math> where * <math>P(B_X)={6 \over 10}</math> is the probability that the purchased bulb was manufactured by factory ''X''; * <math>P(B_Y)={4 \over 10}</math> is the probability that the purchased bulb was manufactured by factory ''Y''; * <math>P(A\mid B_X)={99 \over 100}</math> is the probability that a bulb manufactured by ''X'' will work for over 5000 hours; * <math>P(A\mid B_Y)={95 \over 100}</math> 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.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)