Package com.bayesserver.causal
Class FrontDoorValidationOptions
- java.lang.Object
-
- com.bayesserver.causal.FrontDoorValidationOptions
-
- All Implemented Interfaces:
ValidationOptions
public final class FrontDoorValidationOptions extends Object implements ValidationOptions
Options for Front-door Criterion validation, which can be used to test whether the front-door nodes are valid and the pair of associated 'adjustment sets' are also valid..
-
-
Constructor Summary
Constructors Constructor Description FrontDoorValidationOptions(FrontDoorSet frontDoorNodes, AdjustmentSet adjustmentSetXZ, AdjustmentSet adjustmentSetZY)Initializes a new instance of theFrontDoorValidationOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentSetgetAdjustmentSetXZ()Gets the adjustment set for the adjustment between treatments (X) and front-door nodes (Z).AdjustmentSetgetAdjustmentSetZY()Gets the adjustment set for the adjustment between front-door nodes (Z) and outcomes (Y).CausalEffectKindgetCausalEffectKind()The type of causal effect, such as Total or Direct.FrontDoorSetgetFrontDoorNodes()Gets the front-door nodes to use during validation.voidsetCausalEffectKind(CausalEffectKind value)
-
-
-
Constructor Detail
-
FrontDoorValidationOptions
public FrontDoorValidationOptions(FrontDoorSet frontDoorNodes, AdjustmentSet adjustmentSetXZ, AdjustmentSet adjustmentSetZY)
Initializes a new instance of theFrontDoorValidationOptionsclass.- Parameters:
frontDoorNodes- The front-door nodes to use during validation.adjustmentSetXZ- The adjustment set for the adjustment between treatments (X) and front-door nodes (Z).adjustmentSetZY- The adjustment set for the adjustment between front-door nodes (Z) and outcomes (Y).
-
-
Method Detail
-
getFrontDoorNodes
public FrontDoorSet getFrontDoorNodes()
Gets the front-door nodes to use during validation.
-
getAdjustmentSetXZ
public AdjustmentSet getAdjustmentSetXZ()
Gets the adjustment set for the adjustment between treatments (X) and front-door nodes (Z).
-
getAdjustmentSetZY
public AdjustmentSet getAdjustmentSetZY()
Gets the adjustment set for the adjustment between front-door nodes (Z) and outcomes (Y).
-
getCausalEffectKind
public CausalEffectKind getCausalEffectKind()
The type of causal effect, such as Total or Direct.- Specified by:
getCausalEffectKindin interfaceValidationOptions
-
setCausalEffectKind
public void setCausalEffectKind(CausalEffectKind value)
-
-