We build intuition first, then derive formulas, then practice with real data. All formulas are rendered with KaTeX and kept on a single line for readability.
Conditional Probability
Law of Total Probability
Bayes' Theorem
Suppose a disease prevalence is , test sensitivity is , and specificity is . If a patient tests positive, what is ?
Step 1: Evidence
Step 2: Posterior
Classes: Spam (S), Work (W), Personal (P). Priors: . Let event denote that the token "urgent" appears. Likelihoods:.
Step 1: Evidence
Step 2: Posterior
Given , , , find .
Partition the sample space into three disjoint events with priors and likelihoods for evidence : . Find posteriors.