Class IndirectGraph


  • public final class IndirectGraph
    extends Object
    Methods for constructing the 'Indirect graph' from a Bayesian network.
    • Method Detail

      • convert

        public static void convert​(Network network,
                                   Evidence evidence,
                                   Distribution query,
                                   IndirectGraphOptions options)
        Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
        Parameters:
        network - The Bayesian network.
        evidence - Evidence which contains one or more interventions (treatments X), and optionally other standard (non-intervention) evidence.
        query - One or more outcomes (Y).
        options - Options for the conversion.
      • convert

        public static void convert​(Network network,
                                   List<CausalNode> treatments,
                                   List<CausalNode> outcomes,
                                   IndirectGraphOptions options)
        Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
        Parameters:
        network - The Bayesian network.
        treatments - One or more interventions (treatments X).
        outcomes - One or more outcomes (Y).
        options - Options for the conversion.