Causal Bayes Net #
@cite{grusdt-lassiter-franke-2022}
Two-node causal Bayesian network infrastructure: directed causal structure over two binary variables, noisy-OR parameterization, and probability distributions with conditional probability, independence, and correlation.
- CausalRelation: A→C, C→A, or A⊥C causal structure
- NoisyOR: Noisy-OR parameterization for probabilistic causal links
- WorldState: Joint distribution over two binary variables A and C
Causal relations between two binary variables A and C. Used by @cite{grusdt-lassiter-franke-2022} for conditional semantics.
- ACausesC : CausalRelation
- CCausesA : CausalRelation
- Independent : CausalRelation
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Core.CausalBayesNet.instBEqCausalRelation.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Noisy-OR parameterization for a causal link.
background(b): P(C | ¬A) — background ratepower(Δ): P(C | A) - P(C | ¬A) — causal power
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Check if parameters are valid.
Equations
Instances For
Deterministic cause: P(C|A) = 1, P(C|¬A) = 0.
Equations
- Core.CausalBayesNet.NoisyOR.deterministic = { background := 0, power := 1 }
Instances For
No effect: P(C|A) = P(C|¬A) = 0.
Equations
- Core.CausalBayesNet.NoisyOR.noEffect = { background := 0, power := 0 }
Instances For
Always-on: P(C|A) = P(C|¬A) = 1.
Equations
- Core.CausalBayesNet.NoisyOR.alwaysOn = { background := 1, power := 0 }
Instances For
A probability distribution over two binary variables A and C.
Used by @cite{grusdt-lassiter-franke-2022}: a "world" is a probability distribution because conditionals make claims about probabilities (P(C|A) > θ).
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Check if a WorldState represents a valid probability distribution.
Equations
Instances For
P(A ∧ ¬C)
Instances For
P(¬A ∧ C)
Instances For
P(¬A)
Instances For
P(¬C)
Instances For
P(A ∧ C) = P(A) · P(C).
Instances For
WorldState from marginals assuming independence.
Equations
- Core.CausalBayesNet.WorldState.independent pA pC = { pA := pA, pC := pC, pAC := pA * pC }
Instances For
WorldState with perfect correlation (A ↔ C).
Equations
- Core.CausalBayesNet.WorldState.perfectCorrelation p = { pA := p, pC := p, pAC := p }
Instances For
WorldState where A ∧ C never happens.
Equations
- Core.CausalBayesNet.WorldState.mutuallyExclusive pA pC = { pA := pA, pC := pC, pAC := 0 }
Instances For
Validity implies 0 ≤ P(C|¬A) ≤ 1.