1. Home
  2. Explore
  3. Mathematics
  4. Bayes Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayes Theorem

  • 19Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Bayes Theorem Fundamentals
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is Bayes' theorem?

Tap to flipClick to flipspace

A theorem that provides the inverse conditional probability P(Bi∣A)P(B_i|A)P(Bi​∣A) in terms of P(A∣Bi)P(A|B_i)P(A∣Bi​) and prior probabilities P(Bi)P(B_i)P(Bi​).

Or swipe the card

19 cards

  1. What is Bayes' theorem?

    A theorem that provides the inverse conditional probability P(Bi∣A)P(B_i|A)P(Bi​∣A) in terms of P(A∣Bi)P(A|B_i)P(A∣Bi​) and prior probabilities P(Bi)P(B_i)P(Bi​).

  2. State the formula for total probability.

    P(A)=∑i=1nP(Bi)P(A∣Bi)P(A) = \sum_{i=1}^n P(B_i) P(A|B_i)P(A)=∑i=1n​P(Bi​)P(A∣Bi​) where B1,B2,…,BnB_1, B_2, \ldots, B_nB1​,B2​,…,Bn​ are mutually exclusive events whose union is the sample space.

  3. State Bayes' theorem formula.

    P(Bi∣A)=P(Bi)P(A∣Bi)∑j=1nP(Bj)P(A∣Bj)P(B_i|A) = \frac{P(B_i) P(A|B_i)}{\sum_{j=1}^n P(B_j) P(A|B_j)}P(Bi​∣A)=∑j=1n​P(Bj​)P(A∣Bj​)P(Bi​)P(A∣Bi​)​

  4. What are the conditions for applying Bayes' theorem?

    The events B1,B2,…,BnB_1, B_2, \ldots, B_nB1​,B2​,…,Bn​ must be mutually exclusive, their union must be the sample space, and each P(Bi)>0P(B_i) > 0P(Bi​)>0.

  5. 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.033P(D) = 0.3 \times 0.02 + 0.4 \times 0.03 + 0.3 \times 0.05 = 0.033P(D)=0.3×0.02+0.4×0.03+0.3×0.05=0.033

  6. In the vendor example, given a defective bolt, what is the probability it came from vendor A?

    P(A∣D)=0.3×0.020.033=0.0060.033=633P(A|D) = \frac{0.3 \times 0.02}{0.033} = \frac{0.006}{0.033} = \frac{6}{33}P(A∣D)=0.0330.3×0.02​=0.0330.006​=336​

  7. In the vendor example, given a defective bolt, what is the probability it came from vendor B?

    P(B∣D)=0.4×0.030.033=0.0120.033=1233P(B|D) = \frac{0.4 \times 0.03}{0.033} = \frac{0.012}{0.033} = \frac{12}{33}P(B∣D)=0.0330.4×0.03​=0.0330.012​=3312​

  8. In the vendor example, given a defective bolt, what is the probability it came from vendor C?

    P(C∣D)=0.3×0.050.033=0.0150.033=1533P(C|D) = \frac{0.3 \times 0.05}{0.033} = \frac{0.015}{0.033} = \frac{15}{33}P(C∣D)=0.0330.3×0.05​=0.0330.015​=3315​

  9. In the professor example, what are the probabilities of X, Y, Z being selected for promotion?

    P(X)=4/9P(X) = 4/9P(X)=4/9, P(Y)=2/9P(Y) = 2/9P(Y)=2/9, P(Z)=3/9P(Z) = 3/9P(Z)=3/9

  10. In the professor example, what is the probability that a new subject is introduced in 2014?

    P(N)=49×0.35+29×0.52+39×0.80=4.849P(N) = \frac{4}{9} \times 0.35 + \frac{2}{9} \times 0.52 + \frac{3}{9} \times 0.80 = \frac{4.84}{9}P(N)=94​×0.35+92​×0.52+93​×0.80=94.84​

  11. In the boxes example, what is the probability of drawing one red and one white ball from the first box?

    P(RW∣Box1)=(11)(21)(62)=215P(RW|\text{Box1}) = \frac{\binom{1}{1}\binom{2}{1}}{\binom{6}{2}} = \frac{2}{15}P(RW∣Box1)=(26​)(11​)(12​)​=152​

  12. In the boxes example, what is the probability of drawing one red and one white ball from the second box?

    P(RW∣Box2)=(21)(31)(62)=615P(RW|\text{Box2}) = \frac{\binom{2}{1}\binom{3}{1}}{\binom{6}{2}} = \frac{6}{15}P(RW∣Box2)=(26​)(12​)(13​)​=156​

  13. In the boxes example, what is the probability of drawing one red and one white ball from the third box?

    P(RW∣Box3)=(31)(11)(62)=315P(RW|\text{Box3}) = \frac{\binom{3}{1}\binom{1}{1}}{\binom{6}{2}} = \frac{3}{15}P(RW∣Box3)=(26​)(13​)(11​)​=153​

  14. In the boxes example, find the probability that the pair (red, white) came from the first box.

    P(Box1∣RW)=13×21513(215+615+315)=211P(\text{Box1}|RW) = \frac{\frac{1}{3} \times \frac{2}{15}}{\frac{1}{3}\left(\frac{2}{15}+\frac{6}{15}+\frac{3}{15}\right)} = \frac{2}{11}P(Box1∣RW)=31​(152​+156​+153​)31​×152​​=112​

  15. In the bridge example, what are the prior probabilities for wrong designing (WD) and inferior material (IM)?

    P(WD)=0.1P(WD) = 0.1P(WD)=0.1, P(IM)=0.9P(IM) = 0.9P(IM)=0.9

  16. In the bridge example, given the bridge collapses, what is the probability it was due to wrong designing?

    P(WD∣C)=0.1×0.950.1×0.95+0.9×0.45=0.19P(WD|C) = \frac{0.1 \times 0.95}{0.1 \times 0.95 + 0.9 \times 0.45} = 0.19P(WD∣C)=0.1×0.95+0.9×0.450.1×0.95​=0.19

  17. In the coins example, what are the probabilities of selecting a true coin and a false coin?

    P(True)=3/4P(\text{True}) = 3/4P(True)=3/4, P(False)=1/4P(\text{False}) = 1/4P(False)=1/4

  18. In the coins example, what is the probability of getting four heads in four tosses if the coin is true?

    P(4H∣True)=(12)4=116P(4H|\text{True}) = \left(\frac{1}{2}\right)^4 = \frac{1}{16}P(4H∣True)=(21​)4=161​

  19. In the coins example, given four heads in four tosses, what is the probability that the coin is false?

    P(False∣4H)=14×134×116+14×1=1619P(\text{False}|4H) = \frac{\frac{1}{4} \times 1}{\frac{3}{4} \times \frac{1}{16} + \frac{1}{4} \times 1} = \frac{16}{19}P(False∣4H)=43​×161​+41​×141​×1​=1916​

Card 1 of 19
Card 1 of 19

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent