P(A|B) = P(A ∩ B) / P(B)
P(A|B) = P(A ∩ B) / P(B)
Conditional probability measures the likelihood of an event A occurring given that another event B has already occurred. It is expressed as P(A|B), which can also be written as PB(A). This formula helps us understand the relationship between events A and B.
Example
Suppose we have two events: A is drawing a red card from a standard deck, and B is drawing a card from the same deck. If we know that we have drawn a red card (event B), the conditional probability of drawing a red card that is also a heart (event A) is P(A|B) = P(A ∩ B) / P(B). In this case, P(A ∩ B) = 1/52 (since there is 1 heart in a deck of 52 cards) and P(B) = 1/2 (since there are 26 red cards in a deck of 52 cards). Therefore, P(A|B) = (1/52) / (1/2) = 1/26.
Understanding conditional probability is crucial in many fields, such as statistics, finance, and decision-making, as it helps us make informed predictions and decisions based on known information.
Bayes' theorem
Bayes' theorem formula: P(A|B) = [P(B|A) * P(A)] / P(B)
Poisson distribution
Poisson distribution formula: P(k; λ) = (λ^k * e^(-λ)) / k!
Expected value
Expected value formula: E[X] = Σ [x * P(x)]
Logistic regression
Logistic regression probability formula: P(Y=1) = 1 / (1 + exp(-z))
Minkowski spacetime
Minkowski distance formula: D = (Σ |x_i - y_i|^p)^(1/p)
P-value
A p-value < 0.05 means: if H₀ is true, this result has <5% probability
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews