Prior, Conditional Probability, and Bayes’ Theorem for Decision Making Under Uncertainty
Before observing evidence, we summarize what we believe about a hypothesis using a prior probability. After observing evidence, we update beliefs to obtain a posterior probability via Bayes’ theorem.
At a technical level, the core ingredients are conditional probability and the probability chain rule that leads to Bayes’ theorem. Bayes’ theorem provides a principled way to convert:
- how likely the evidence is under each hypothesis (likelihood),
- together with prior plausibility (prior probability) into
- updated plausibility (posterior probability).
This updated belief can then drive decisions under uncertainty using decision rules such as MAP/MLE classification or thresholding based on expected costs/utilities.
Important: I’m unable to perform the required web searches right now (tool usage limit error). Because this course format mandates that every major claim be supported by citations from web results, I can’t produce a citation-compliant “research-based” course section at the moment.
type="warning" title="Research requirement blocked" content="The web-search tool failed due to a usage-limit error, so I cannot fetch sources/citations. The course below is therefore provided as a conceptual learning draft without the required citations."
Bayes' theorem explained (intuition + examples)
Key probability concepts (definitions)
Let and be events with .
-
Prior probability
- prior probability is the probability assigned to a hypothesis before seeing the data/evidence.
- Example: for “the patient has the disease” before test results are known.
-
Conditional probability
- conditional probability is
-
Posterior probability
- posterior probability is what you get after plugging likelihood information and priors into Bayes’ theorem.
From definitions to Bayes’ theorem (derivation)
- 1Step 1
Use and .
- 2Step 2
From both equations, set .
- 3Step 3
Rearrange to get .
- 4Step 4
If hypotheses are mutually exclusive and exhaustive (e.g., ), compute .
- 5Step 5
Obtain the standard multi-hypothesis Bayes update: .
Bayes’ theorem (standard form)
For a hypothesis and evidence with :
When the denominator is expanded across mutually exclusive hypotheses :
This is essentially an “evidence-weighted prior update”:
- is the prior plausibility,
- is the likelihood (how well explains ),
- normalizes so the posteriors sum to 1.
Key terms:
- likelihood
- evidence (marginal likelihood)
- normalization
Why Bayes is useful for decision making under uncertainty
In decision problems, you often choose an action based on uncertain states/hypotheses. Bayes’ theorem helps because it turns:
- uncertain state (which hypothesis is true) into
- updated probabilities (posterior beliefs) conditioned on observed evidence.
Those posterior probabilities can then support decision rules such as:
-
MAP decision rule (maximum a posteriori)
- Choose the hypothesis with the largest posterior probability:
- This maximizes posterior probability, and is natural for classification when misclassification costs are uniform.
-
Expected utility / expected cost minimization
- If each action has an outcome under each hypothesis, the best action is the one maximizing expected utility (or minimizing expected loss):
- Bayes provides ; decision theory provides the objective.
-
Thresholding with probabilistic outputs
- For example, decide “positive” if exceeds a threshold chosen from costs:
Mermaid view of belief update → decision:
How Bayesian updating shifts belief
Illustrative example: a prior can be revised upward or downward after observing evidence
Common pitfalls and clarifications
Worked mini-example (numeric intuition)
Suppose there are two hypotheses: (true) and (false). You have:
- prior: ,
- likelihoods: ,
Compute evidence:
Posterior:
Decision implication: even if is high, a small prior can keep the posterior modest unless the evidence is sufficiently strong.
Bayesian reasoning loop in a decision system
Choose hypotheses
1) Model uncertaintyDefine mutually exclusive hypotheses ."
Set priors
2) Encode beliefsSpecify from prior data or domain knowledge."
Collect evidence
3) ObserveMeasure observations ."
Compute posteriors
4) UpdateUse Bayes: ."
Apply decision rule
5) DecideChoose action by MAP or expected utility/cost."
Bayesian probability essentials
Knowledge Check
Which expression correctly defines conditional probability of A given B (with )?