Class BackdoorGraph
Methods for constructing the Backdoor graph or proper Backdoor graph from a Bayesian network.
Inherited Members
Namespace: BayesServer.Causal.Analysis
Assembly: BayesServer.Causal.dll
Syntax
public static class BackdoorGraph
Remarks
The proper back-door graph, is obtained from G by removing the first edge of every proper causal path from X to Y.
Methods
Convert(Network, IEvidence, IDistribution, BackdoorGraphOptions)
Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
Declaration
public static void Convert(Network network, IEvidence evidence, IDistribution query, BackdoorGraphOptions options)
Parameters
Type | Name | Description |
---|---|---|
Network | network | The Bayesian network, which will be edited in-place. |
IEvidence | evidence | Evidence which contains one or more interventions (treatments X), and optionally other standard (non-intervention) evidence. |
IDistribution | query | One or more outcomes (Y). |
BackdoorGraphOptions | options | Options for the conversion. |
Convert(Network, IList<CausalNode>, IList<CausalNode>, BackdoorGraphOptions)
Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
Declaration
public static void Convert(Network network, IList<CausalNode> treatments, IList<CausalNode> outcomes, BackdoorGraphOptions options)
Parameters
Type | Name | Description |
---|---|---|
Network | network | The Bayesian network, which will be edited in place. |
IList<CausalNode> | treatments | One or more nodes with interventions (do) evidence set. |
IList<CausalNode> | outcomes | One or more outcomes (Y). |
BackdoorGraphOptions | options | Options for the conversion. |