Bayes' theorem formula: P(A|B) = [P(B|A) * P(A)] / P(B)
Image: Euclid, Public domain, via Wikimedia Commons
Bayes' theorem formula: P(A|B) = [P(B|A) * P(A)] / P(B)
Bayes' theorem provides a way to update the probability of a hypothesis as more evidence becomes available. It is expressed as P(A|B) = [P(B|A) * P(A)] / P(B), where P(A|B) is the probability of event A given that B is true, P(B|A) is the probability of event B given that A is true, P(A) is the prior probability of A, and P(B) is the prior probability of B.
Example
Suppose we want to find the probability that a patient has a disease (A) given that they tested positive (B). If the probability of testing positive given the disease is present (P(B|A)) is 0.98, the prior probability of having the disease (P(A)) is 0.01, and the probability of testing positive (P(B)) is 0.05, then using Bayes' theorem, P(A|B) = [0.98 * 0.01] / 0.05 = 0.196.
Remember this
Bayes' theorem is crucial for making informed decisions based on new evidence, as it allows for the calculation of conditional probabilities in various fields such as medicine, finance, and machine learning.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Conditional probability
P(A|B) = P(A ∩ B) / P(B)
Expected value
Expected value formula: E[X] = Σ [x * P(x)]
Poisson distribution
Poisson distribution formula: P(k; λ) = (λ^k * e^(-λ)) / k!
Bayesian inference
Ever wondered how doctors update diagnoses as new symptoms arise?
Minkowski spacetime
Minkowski distance formula: D = (Σ |x_i - y_i|^p)^(1/p)
PageRank
PageRank formula: PR(A) = (1-d) + d Σ(PR(C)/L(C))
Swipe through 100 ML concepts daily
Open Pocket Polymath