Bayesian Thinking
Bayesian thinking is the practice of updating beliefs systematically in light of new evidence, using the framework of Bayes' theorem. Instead of treating beliefs as binary (true/false), you assign probabilities and adjust them as evidence accumulates. It captures how rational agents should learn: start with a prior belief, encounter evidence, and compute a posterior belief. It's the antidote to both stubbornness (ignoring evidence) and fickleness (overreacting to every data point).
Analyze the current topic or problem under discussion using
Bayesian thinking. Be explicit about priors, evidence, and updates. Apply this framework to whatever the user is currently working on or asking about.
Step 1: Define the Hypotheses
- - What are the competing hypotheses or possible explanations?
- H₁: [Primary hypothesis]
- H₂: [Alternative hypothesis]
- H₃: [Another alternative]
- H_null: [Nothing special is happening / base rate explanation]
- - Are these hypotheses mutually exclusive and collectively exhaustive (MECE)? If not, acknowledge the gap.
- Avoid the trap of only considering one hypothesis — always have at least one alternative.
Step 2: Establish Prior Probabilities
Before looking at the specific evidence, what should we believe?
- - Base rate: How common is each hypothesis in general? What does the reference class suggest?
- Example: "Before any symptoms, the base rate of disease X in this population is 1%."
- - Prior knowledge: What do we already know from past experience, expert opinion, or established science?
- Assign rough prior probabilities:
- P(H₁) = ?
- P(H₂) = ?
- P(H₃) = ?
- - Explain your reasoning for each prior. Be honest about uncertainty — a wide prior is better than a falsely precise one.
- Watch for base rate neglect: the most common Bayesian sin is ignoring how rare or common something is before considering the evidence.
Step 3: Evaluate the Evidence
Now look at the specific evidence available.
For each key piece of evidence (E):
- - Likelihood ratio: How much more (or less) likely is this evidence under each hypothesis?
- P(E | H₁) = ? — If H₁ is true, how likely would we see this evidence?
- P(E | H₂) = ? — If H₂ is true, how likely would we see this evidence?
- The
likelihood ratio = P(E|H₁) / P(E|H₂) tells you the
diagnostic value of the evidence
- - Strong evidence: Likelihood ratio > 10 (or < 0.1) — this evidence strongly discriminates
- Weak evidence: Likelihood ratio near 1 — this evidence barely helps distinguish hypotheses
- Quality of evidence: Is this evidence reliable? Could it be fabricated, biased, or misinterpreted?
Step 4: Update — Compute Posterior Probabilities
Apply Bayes' theorem (conceptually or numerically):
P(H|E) = P(E|H) × P(H) / P(E)
- - For each hypothesis, multiply prior × likelihood and normalize.
- If doing this informally, state the direction and magnitude of the update:
- "This evidence moderately increases my confidence in H₁ (from ~30% to ~60%)"
- "This evidence barely moves the needle on H₂"
- - Multiple pieces of evidence: Update sequentially — each posterior becomes the next prior.
- Show your work: Even rough numbers make reasoning transparent and debuggable.
Step 5: Check for Common Bayesian Errors
- - Base rate neglect: Did you properly account for how rare/common the hypothesis is before evidence?
- Classic example: A 99%-accurate test for a 1%-prevalence disease still yields ~50% false positives.
- - Confirmation bias: Are you only counting evidence that supports your preferred hypothesis?
- Anchoring: Is your prior too strongly anchored on one piece of information?
- Neglecting alternative hypotheses: Does the evidence also fit other explanations you haven't considered?
- Treating dependent evidence as independent: Are the pieces of evidence truly independent, or do they share a common source?
Step 6: Decision Under Uncertainty
Given posterior probabilities, what action should we take?
- - What is the expected value of each possible action?
- For each action × hypothesis combination: probability × outcome value
- - Where is the value of information highest?
- What additional evidence would most change the posterior? Seek that evidence next.
- - Should we decide now or gather more evidence?
- What is the cost of waiting vs. the cost of being wrong?
- - What probability threshold would trigger a different decision?
Step 7: Summarize
- - State your final posterior probabilities for each hypothesis.
- Identify the key evidence that most influenced the update.
- Describe what future evidence would make you update significantly in either direction.
- Be explicit about your remaining uncertainty — a confident Bayesian knows what they don't know.
The essence of Bayesian thinking:
Strong priors require strong evidence to move. Weak priors move easily. And evidence that is equally consistent with multiple hypotheses is not very informative, no matter how dramatic it seems.
贝叶斯思维
贝叶斯思维是一种运用贝叶斯定理框架,根据新证据系统性地更新信念的实践方法。它不将信念视为二元(真/假)状态,而是赋予概率值,并随着证据积累不断调整。它捕捉了理性主体应如何学习:从先验信念出发,接触证据,计算后验信念。它既是固执(忽视证据)的解药,也是善变(对每个数据点过度反应)的矫正。
运用
贝叶斯思维分析当前讨论的主题或问题。明确说明先验概率、证据和更新过程。将此框架应用于用户当前正在处理或询问的内容。
第一步:定义假设
- H₁:[主要假设]
- H₂:[替代假设]
- H₃:[另一个替代假设]
- H_零:[无特殊情况发生/基准率解释]
- - 这些假设是否互斥且完全穷尽(MECE)?如果不是,请说明差距。
- 避免只考虑一个假设的陷阱——始终至少准备一个替代方案。
第二步:确立先验概率
在查看具体证据之前,我们应该相信什么?
- - 基准率:每个假设在一般情况下有多常见?参考类别说明了什么?
- 示例:在出现任何症状之前,该人群中疾病X的基准率为1%。
- - 先验知识:我们从过去的经验、专家意见或已有科学中已经知道什么?
- 分配粗略的先验概率:
- P(H₁) = ?
- P(H₂) = ?
- P(H₃) = ?
- - 解释每个先验概率的推理过程。对不确定性要诚实——宽泛的先验优于虚假精确的先验。
- 警惕基准率忽视:最常见的贝叶斯错误是在考虑证据之前忽略某事物有多罕见或多常见。
第三步:评估证据
现在查看可用的具体证据。
对于每项关键证据(E):
- - 似然比:在每个假设下,这项证据出现的可能性相差多少?
- P(E | H₁) = ? —— 如果H₁为真,我们看到这项证据的可能性有多大?
- P(E | H₂) = ? —— 如果H₂为真,我们看到这项证据的可能性有多大?
-
似然比 = P(E|H₁) / P(E|H₂) 告诉你证据的
诊断价值
- - 强证据:似然比 > 10(或 < 0.1)—— 这项证据具有很强的区分能力
- 弱证据:似然比接近1 —— 这项证据几乎无助于区分假设
- 证据质量:这项证据可靠吗?是否可能被伪造、存在偏见或被误解?
第四步:更新——计算后验概率
应用贝叶斯定理(概念上或数值上):
P(H|E) = P(E|H) × P(H) / P(E)
- - 对于每个假设,将先验概率乘以似然度并归一化。
- 如果以非正式方式进行,请说明更新的方向和幅度:
- 这项证据适度提高了我对H₁的信心(从约30%到约60%)
- 这项证据对H₂几乎没有影响
- - 多项证据:依次更新——每个后验概率成为下一个先验概率。
- 展示你的计算过程:即使是大致数字也能使推理过程透明且可调试。
第五步:检查常见的贝叶斯错误
- - 基准率忽视:你是否在考虑证据之前正确考虑了假设的罕见/常见程度?
- 经典示例:针对患病率为1%的疾病,准确率为99%的检测仍会产生约50%的假阳性。
- - 确认偏差:你是否只计算支持你偏好假设的证据?
- 锚定效应:你的先验概率是否过度锚定在某一条信息上?
- 忽视替代假设:证据是否也符合你尚未考虑的其他解释?
- 将相关证据视为独立证据:各项证据是否真正独立,还是它们共享同一个来源?
第六步:不确定性下的决策
给定后验概率,我们应该采取什么行动?
- 对于每个行动×假设组合:概率 × 结果价值
- 哪些额外证据最能改变后验概率?下一步就去寻找这些证据。
- 等待的成本与犯错的成本相比如何?
第七步:总结
- - 陈述每个假设的最终后验概率。
- 确定对更新影响最大的关键证据。
- 描述哪些未来证据会使你在任一方向上显著更新。
- 明确说明你剩余的不确定性——一个自信的贝叶斯思维者知道自己不知道什么。
贝叶斯思维的精髓:
强先验需要强证据才能动摇。弱先验容易改变。而与多个假设同样一致的证据,无论看起来多么引人注目,其信息量都不大。