Package com.bayesserver.causal
Class DisjunctiveCauseInference
- java.lang.Object
-
- com.bayesserver.causal.CausalInferenceBase
-
- com.bayesserver.causal.DisjunctiveCauseInference
-
- All Implemented Interfaces:
Inference
public final class DisjunctiveCauseInference extends CausalInferenceBase
Estimates the causal effect, using the 'Disjunctive Cause Criterion' adjustment formula to avoid confounding bias. This criterion requires that all 'causes of treatments or outcomes or both' are adjusted for, and therefore the structure of the Bayesian network need not be causal. Multiple treatments and outcomes nodes are supported as well as fixed evidence.
-
-
Constructor Summary
Constructors Constructor Description DisjunctiveCauseInference(Network network)
Initializes a new instance of theDisjunctiveCauseInference
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
queryDistributionsInner(QueryOptions queryOptions, QueryOutput queryOutput)
-
Methods inherited from class com.bayesserver.causal.CausalInferenceBase
getBaseEvidence, getEvidence, getNetwork, getQueryDistributions, getQueryFunctions, getQueryLifecycle, query, setBaseEvidence, setEvidence, setNetwork, setQueryDistributions, setQueryFunctions, setQueryLifecycle
-
-
-
-
Constructor Detail
-
DisjunctiveCauseInference
public DisjunctiveCauseInference(Network network)
Initializes a new instance of theDisjunctiveCauseInference
class.- Parameters:
network
- The Bayesian network.
-
-
Method Detail
-
queryDistributionsInner
protected void queryDistributionsInner(QueryOptions queryOptions, QueryOutput queryOutput) throws InconsistentEvidenceException
- Specified by:
queryDistributionsInner
in classCausalInferenceBase
- Throws:
InconsistentEvidenceException
-
-