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 theFrontDoorValidationOptions
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentSet
getAdjustmentSetXZ()
Gets the adjustment set for the adjustment between treatments (X) and front-door nodes (Z).AdjustmentSet
getAdjustmentSetZY()
Gets the adjustment set for the adjustment between front-door nodes (Z) and outcomes (Y).CausalEffectKind
getCausalEffectKind()
The type of causal effect, such as Total or Direct.FrontDoorSet
getFrontDoorNodes()
Gets the front-door nodes to use during validation.void
setCausalEffectKind(CausalEffectKind value)
-
-
-
Constructor Detail
-
FrontDoorValidationOptions
public FrontDoorValidationOptions(FrontDoorSet frontDoorNodes, AdjustmentSet adjustmentSetXZ, AdjustmentSet adjustmentSetZY)
Initializes a new instance of theFrontDoorValidationOptions
class.- 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:
getCausalEffectKind
in interfaceValidationOptions
-
setCausalEffectKind
public void setCausalEffectKind(CausalEffectKind value)
-
-