Mathematics· Exact, step by step
Calculate P(A | B) and P(B | A) from P(A), P(B) and P(A and B), and check whether the events are independent.
Formula
P(A | B) = P(A and B) ÷ P(B); independent when P(A and B) = P(A)·P(B)
Worked example
P(A) = 0.4, P(B) = 0.5, P(A and B) = 0.2: P(A | B) = 0.4 = P(A), so the events are independent.
Free to use with a link back. Nothing you type is shared.
Preparing citation…
Keep exploring
Update a probability with new evidence: find the posterior P(A | B) from the prior, the true-positive rate and the false-positive rate.
Open calculatorCombine the probabilities of two independent events, and the chance of something happening at least once.
Open calculatorCalculate the expected value, variance and standard deviation of a discrete random variable from its outcomes and probabilities.
Open calculator