Prior, Conditional Probability, and Bayes’ Theorem for Decision Making Under Uncertainty

Prior, Conditional Probability, and Bayes’ Theorem for Decision Making Under Uncertainty

Verified Sources
Sep 14, 2026

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 AA and BB be events with P(B)>0P(B)>0.

  1. Prior probability

    • prior probability is the probability assigned to a hypothesis before seeing the data/evidence.
    • Example: P(H)P(H) for “the patient has the disease” before test results are known.
  2. Conditional probability

    • conditional probability is P(AB)=P(AB)P(B).P(A\mid B)=\frac{P(A\cap B)}{P(B)}.
  3. Posterior probability

    • posterior probability is what you get after plugging likelihood information and priors into Bayes’ theorem.

From definitions to Bayes’ theorem (derivation)

  1. 1
    Step 1

    Use P(AB)=P(AB)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)} and P(BA)=P(AB)P(A)P(B\mid A)=\frac{P(A\cap B)}{P(A)}.

  2. 2
    Step 2

    From both equations, set P(AB)=P(BA)P(A)=P(AB)P(B)P(A\cap B)=P(B\mid A)P(A)=P(A\mid B)P(B).

  3. 3
    Step 3

    Rearrange to get P(AB)=P(BA)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}.

  4. 4
    Step 4

    If hypotheses are mutually exclusive and exhaustive (e.g., H1,,HkH_1,\dots,H_k), compute P(B)=iP(BHi)P(Hi)P(B)=\sum_i P(B\mid H_i)P(H_i).

  5. 5
    Step 5

    Obtain the standard multi-hypothesis Bayes update: P(HiB)=P(BHi)P(Hi)jP(BHj)P(Hj)P(H_i\mid B)=\frac{P(B\mid H_i)P(H_i)}{\sum_j P(B\mid H_j)P(H_j)}.

Bayes’ theorem (standard form)

For a hypothesis HH and evidence EE with P(E)>0P(E)>0: P(HE)=fracP(EH)P(H)P(E).P(H\mid E)=\\frac{P(E\mid H)P(H)}{P(E)}.

When the denominator is expanded across mutually exclusive hypotheses {Hi}\{H_i\}: P(HiE)=fracP(EHi)P(Hi)sumjP(EmidHj)P(Hj).P(H_i\mid E)=\\frac{P(E\mid H_i)P(H_i)}{\\sum_j P(E\\mid H_j)P(H_j)}.

This is essentially an “evidence-weighted prior update”:

  • P(H)P(H) is the prior plausibility,
  • P(EH)P(E\mid H) is the likelihood (how well HH explains EE),
  • P(E)P(E) normalizes so the posteriors sum to 1.

Key terms:

  • likelihood P(EH)P(E\mid H)
  • evidence (marginal likelihood) P(E)P(E)
  • normalization P(E)P(E)

Why Bayes is useful for decision making under uncertainty

In decision problems, you often choose an action aa 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:

  1. MAP decision rule (maximum a posteriori)

    • Choose the hypothesis with the largest posterior probability: H^=argmaxiP(HimidE).\hat{H}=\\arg\\max_i P(H_i\\mid E).
    • This maximizes posterior probability, and is natural for classification when misclassification costs are uniform.
  2. 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): a=argmaxasumiU(a,Hi),P(HimidE).a^* = \\arg\\max_a \\sum_i U(a,H_i)\\,P(H_i\\mid E).
    • Bayes provides P(HiE)P(H_i\mid E); decision theory provides the objective.
  3. Thresholding with probabilistic outputs

    • For example, decide “positive” if P(HE)P(H\mid E) exceeds a threshold chosen from costs: Decide H if P(HmidE)getau.\text{Decide } H \text{ if } P(H\\mid E)\\ge \\tau.

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: H1H_1 (true) and H2H_2 (false). You have:

  • prior: P(H1)=0.01P(H_1)=0.01, P(H2)=0.99P(H_2)=0.99
  • likelihoods: P(EmidH1)=0.90P(E\\mid H_1)=0.90, P(EmidH2)=0.05P(E\\mid H_2)=0.05

Compute evidence: P(E)=P(EmidH1)P(H1)+P(EmidH2)P(H2)=0.90cdot0.01+0.05cdot0.99.P(E)=P(E\\mid H_1)P(H_1)+P(E\\mid H_2)P(H_2)=0.90\\cdot 0.01+0.05\\cdot 0.99.

Posterior: P(H1midE)=fracP(EmidH1)P(H1)P(E).P(H_1\\mid E)=\\frac{P(E\\mid H_1)P(H_1)}{P(E)}.

Decision implication: even if P(EmidH1)P(E\\mid H_1) 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 uncertainty

Define mutually exclusive hypotheses H1,,HkH_1,\dots,H_k."

Set priors

2) Encode beliefs

Specify P(Hi)P(H_i) from prior data or domain knowledge."

Collect evidence

3) Observe

Measure observations EE."

Compute posteriors

4) Update

Use Bayes: P(HiE)P(EHi)P(Hi)P(H_i\mid E)\propto P(E\mid H_i)P(H_i)."

Apply decision rule

5) Decide

Choose action by MAP or expected utility/cost."

Bayesian probability essentials

1 / 5
Question · Term

What is a prior probability?

Click to reveal
Answer · Definition

A prior probability is P(H)P(H): belief before observing evidence.

Knowledge Check

Question 1 of 3
Q1Single choice

Which expression correctly defines conditional probability of A given B (with P(B)>0P(B)>0)?