#P03 · Probability, Statistics & AI · Lv.3View in 3D Mind-Map

Bayes' Theorem

Thomas Bayes & Pierre-Simon Laplace · 1763 CE

P(H∣E)=P(E∣H)P(H)P(E)=P(E∣H)P(H)P(E∣H)P(H)+P(E∣Hc)P(Hc)P(H \mid E) = \frac{P(E \mid H)P(H)}{P(E)} = \frac{P(E \mid H)P(H)}{P(E\mid H)P(H)+P(E\mid H^c)P(H^c)}
Posterior∝Likelihood×Prior\text{Posterior} \propto \text{Likelihood} \times \text{Prior}

Inverts conditional probabilities to update the prior belief P(H) into the posterior probability P(H|E) upon observing new evidence E.

🧮 Live Formula Calculator & Plotter
Prior P(H)
Sensitivity P(E|H)
False Positive P(E|Hᶜ)
P(H∣E)=0.95×0.050.1425=33.33%P(H\mid E) = \frac{0.95\times 0.05}{0.1425} = 33.33\%
사후확률 P(H|E)
33.33%
2차 연속 양성 시 사후확률
82.61%
전체 양성률 P(E)
14.25%
사전 P(H)5.01차 사후33.32차 사후82.6

Prerequisite Path (5 STEP)

Full Path Analyzer

Click steps in order to follow the 3D neon path from basics to target.

Geometric & Intuitive Insight

'원인→결과' 확률 P(증상|질병)만 알고 있을 때, 거꾸로 '결과→원인' 확률 P(질병|증상)을 희귀도(사전확률)까지 반영해 정확히 뒤집어 줍니다.

Step-by-Step Derivation

  1. Step 1.조건부확률의 곱셈정리에 의해 P(H∩E) = P(H)P(E|H) = P(E)P(H|E)가 성립합니다.
  2. Step 2.양변을 P(E)로 나누면 P(H|E) = P(E|H)P(H) / P(E)를 얻습니다.
  3. Step 3.전확률 공식으로 분모를 전개하면 P(E) = P(E|H)P(H) + P(E|H^c)P(H^c)가 됩니다.

AI & Coding Real-World Use

Powers spam email filtering (Naive Bayes), medical AI diagnostic calibration, autonomous driving Kalman/particle filters, and Bayesian optimization.

#Spam Filter#Bayesian Inference#Medical AI Diagnosis#Kalman Filter
const bayes = (prior, sens, fpr) => (sens * prior) / (sens * prior + fpr * (1 - prior));

Probability, Statistics & AI — Related Formulas in This Cluster