Package com.bayesserver.causal
Class EffectsAnalysisOutputItem
- java.lang.Object
-
- com.bayesserver.causal.EffectsAnalysisOutputItem
-
public final class EffectsAnalysisOutputItem extends Object
The result of an effects analysis for a particular treatment value.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Distribution
getOutcomeDistribution()
Gets P(Outcome|Do(Treatment=TreatmentState)) for discrete treatments and P(Outcome|Do(Treatment=TreatmentValue)) for continuous treatments.QueryFunctionOutput
getOutcomeFunctionOutput()
Gets the function output when the outcome is a function.Double
getOutcomeMean()
Gets the mean of the outcome for this treatment (cause).Double
getOutcomeVariance()
Gets the variance of the outcome for this treatment (cause).State
getTreatmentState()
Gets the treatment state used to measure the causal effect on the treatment.Object
getTreatmentValue()
Gets the treatment value used to measure the causal effect on the treatment.Variable
getTreatmentVariable()
Gets the treatment variable used to measure the causal effect on the treatment.
-
-
-
Method Detail
-
getOutcomeDistribution
public Distribution getOutcomeDistribution()
Gets P(Outcome|Do(Treatment=TreatmentState)) for discrete treatments and P(Outcome|Do(Treatment=TreatmentValue)) for continuous treatments.
-
getOutcomeFunctionOutput
public QueryFunctionOutput getOutcomeFunctionOutput()
Gets the function output when the outcome is a function.
-
getTreatmentState
public State getTreatmentState()
Gets the treatment state used to measure the causal effect on the treatment.
-
getTreatmentVariable
public Variable getTreatmentVariable()
Gets the treatment variable used to measure the causal effect on the treatment.
-
getTreatmentValue
public Object getTreatmentValue()
Gets the treatment value used to measure the causal effect on the treatment.
-
getOutcomeMean
public Double getOutcomeMean()
Gets the mean of the outcome for this treatment (cause). Populated for continuous (or discretized outcomes when the mean can be calculated).
-
getOutcomeVariance
public Double getOutcomeVariance()
Gets the variance of the outcome for this treatment (cause). Populated for continuous (or discretized outcomes when the variance can be calculated).
-
-