Class SensitivityFunctionTwoWay


  • public final class SensitivityFunctionTwoWay
    extends Object
    Represents the result on a two-way sensitivity to parameters analysis. The sensitivity function = P(h|e)(t1, t2) where h is the hypothesis state, e is the evidence, and t1 and t2 are the the parameters being analyzed. The sensitivity function is defined as P(h|e)(t1,t2) = (alpha1 * t1 * t2 + beta1 * t1 + gamma1 * t2 + delta1) / (alpha2 * t1 * t2 + beta2 * t1 + gamma2 * t2 + delta2)
    • Method Detail

      • evaluate

        public double evaluate​(double t1,
                               double t2)
        Evaluates the Sensitivity function P(h|e)(t1,t2) = (alpha1 * t1 * t2 + beta1 * t1 + gamma1 * t2 + delta1) / (alpha2 * t1 * t2 + beta2 * t1 + gamma2 * t2 + delta2)
        Parameters:
        t1 - The first of two parameter values at which to evaluate the function. /// *
        t2 - The second of two parameter values at which to evaluate the function.
        Returns:
        The value of the sensitivity function P(h|e)(t1,t2).
      • getParameterValue1

        public double getParameterValue1()
        Gets the original value of the first parameter being analyzed (t1).
      • getParameterValue2

        public double getParameterValue2()
        Gets the original value of the second parameter being analyzed (t2).
      • getProbabilityHypothesisGivenEvidence

        public double getProbabilityHypothesisGivenEvidence()
        Gets P(h|e).
      • getAlpha1

        public double getAlpha1()
        Gets Alpha1 from the sensitivity function.
      • getAlpha2

        public double getAlpha2()
        Gets Alpha2 from the sensitivity function.
      • getBeta1

        public double getBeta1()
        Gets Beta1 from the sensitivity function.
      • getBeta2

        public double getBeta2()
        Gets Beta2 from the sensitivity function.
      • getGamma1

        public double getGamma1()
        Gets Gamma1 from the sensitivity function.
      • getGamma2

        public double getGamma2()
        Gets Gamma2 from the sensitivity function.
      • getDelta1

        public double getDelta1()
        Gets Delta1 from the sensitivity function.
      • getDelta2

        public double getDelta2()
        Gets Delta2 from the sensitivity function.