Bayes Theorem
- 19Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is Bayes' theorem?
A theorem that provides the inverse conditional probability P(Bi∣A) in terms of P(A∣Bi) and prior probabilities P(Bi).
Or swipe the card
19 cards
What is Bayes' theorem?
A theorem that provides the inverse conditional probability P(Bi∣A) in terms of P(A∣Bi) and prior probabilities P(Bi).
State the formula for total probability.
P(A)=∑i=1nP(Bi)P(A∣Bi) where B1,B2,…,Bn are mutually exclusive events whose union is the sample space.
State Bayes' theorem formula.
P(Bi∣A)=∑j=1nP(Bj)P(A∣Bj)P(Bi)P(A∣Bi)
What are the conditions for applying Bayes' theorem?
The events B1,B2,…,Bn must be mutually exclusive, their union must be the sample space, and each P(Bi)>0.
In the vendor example, what is the probability that a randomly selected bolt is defective?
P(D)=0.3×0.02+0.4×0.03+0.3×0.05=0.033
In the vendor example, given a defective bolt, what is the probability it came from vendor A?
P(A∣D)=0.0330.3×0.02=0.0330.006=336
In the vendor example, given a defective bolt, what is the probability it came from vendor B?
P(B∣D)=0.0330.4×0.03=0.0330.012=3312
In the vendor example, given a defective bolt, what is the probability it came from vendor C?
P(C∣D)=0.0330.3×0.05=0.0330.015=3315
In the professor example, what are the probabilities of X, Y, Z being selected for promotion?
P(X)=4/9, P(Y)=2/9, P(Z)=3/9
In the professor example, what is the probability that a new subject is introduced in 2014?
P(N)=94×0.35+92×0.52+93×0.80=94.84
In the boxes example, what is the probability of drawing one red and one white ball from the first box?
P(RW∣Box1)=(26)(11)(12)=152
In the boxes example, what is the probability of drawing one red and one white ball from the second box?
P(RW∣Box2)=(26)(12)(13)=156
In the boxes example, what is the probability of drawing one red and one white ball from the third box?
P(RW∣Box3)=(26)(13)(11)=153
In the boxes example, find the probability that the pair (red, white) came from the first box.
P(Box1∣RW)=31(152+156+153)31×152=112
In the bridge example, what are the prior probabilities for wrong designing (WD) and inferior material (IM)?
P(WD)=0.1, P(IM)=0.9
In the bridge example, given the bridge collapses, what is the probability it was due to wrong designing?
P(WD∣C)=0.1×0.95+0.9×0.450.1×0.95=0.19
In the coins example, what are the probabilities of selecting a true coin and a false coin?
P(True)=3/4, P(False)=1/4
In the coins example, what is the probability of getting four heads in four tosses if the coin is true?
P(4H∣True)=(21)4=161
In the coins example, given four heads in four tosses, what is the probability that the coin is false?
P(False∣4H)=43×161+41×141×1=1916

Ask anything
We've read this whole study set, so questions about it get the best answers.