Conditional Probability and Bayes’ Theorem: back to the lesson

Practice test · check as you go

Conditional Probability and Bayes’ Theorem Practice

Use the correct denominator for a conditional probability, then combine mutually exclusive cases to reverse a condition.

Questions5
Marks5
TimeNo time limit
Per wrong answerNone

Pick an option and press “Check”: the right answer and why show at once. Your score comes at the end, and the clock only counts the time you take.

  • Right answer +1. A wrong answer costs nothing.
  • Questions come in Hindi and English. Switch any question with “Language”; questions in English only cannot switch.

Choose one answer per question. Check each choice to read the worked solution. Each correct answer earns one mark.

Question language
Back to the lesson

Sample questions with solutions

A few questions like the ones in this test, with the right answer and why.

  1. Question 1
    For x and y each in {0, 1}, the joint probability mass is p(x,y) = k(1 + x + y). What value of k makes this a valid joint distribution?
    • 1/4
    • 1/8Right answer
    • 1/6
    • 1/3
    Explanation

    The four weights are 1, 2, 2 and 3. Their sum is 8, so the probabilities sum to 8k. Set 8k = 1.

  2. Question 2
    Y can take only the values 0, 1 and 2. The joint probabilities for X = 2 with these values of Y are 1/12, 3/12 and 2/12 respectively. What is P(X = 2)?
    • 1/12
    • 1/4
    • 1/6
    • 1/2Right answer
    Explanation

    Add all cells with X = 2. The sum is (1 + 3 + 2)/12 = 6/12 = 1/2.

  3. Question 3
    P(X = 1, Y = 0) is 0.18 and P(X = 1) is 0.45. What is the conditional probability of Y = 0 given X = 1?
    • 0.40Right answer
    • 0.18
    • 0.27
    • 0.81
    Explanation

    Divide the joint probability by the probability of the condition X = 1. Thus 0.18 ÷ 0.45 = 0.40.

  4. Question 4
    P(X = 0, Y = 0) is 0.12, P(X = 0) is 0.30, and P(Y = 0) is 0.50. What can be concluded about independence?
    • They are independent because all three figures are positive.
    • They are independent because both marginals exceed 0.12.
    • They are dependent because the joint probability differs from 0.15.Right answer
    • There is no possible conclusion without every cell.
    Explanation

    The product of the marginals is 0.30 × 0.50 = 0.15. The joint probability is 0.12. This one mismatch suffices to prove dependence.

  5. Question 5
    Two switches X and Y take values 0 or 1. The joint probabilities for (0,0), (0,1), (1,0) and (1,1) are 0.20, 0.15, 0.30 and 0.35 respectively. What is P(X + Y = 1)?
    • 0.35
    • 0.45Right answer
    • 0.55
    • 0.65
    Explanation

    Only (0,1) and (1,0) have sum 1. The two pairs are distinct outcomes, so add their probabilities: 0.15 + 0.30 = 0.45.