/// <inheritdoc />
 public override double RightProbability(double x)
 {
     if (x <= 0.0)
     {
         return(1.0);
     }
     else
     {
         double p = nu1 * x;
         double q = nu2 + p;
         double y = p / q;
         return(beta.RightProbability(y));
     }
 }
Esempio n. 2
0
 /// <inheritdoc />
 public override double RightProbability(double x)
 {
     if (x <= 0.0)
     {
         return(1.0);
     }
     else
     {
         double p = nu1 * x;
         double q = nu2 + p;
         double y = p / q;
         return(beta.RightProbability(y));
         //return (AdvancedMath.Beta(0.5 * nu2, 0.5 * nu1, nu2 / (nu2 + nu1 * x)) / AdvancedMath.Beta(0.5 * nu2, 0.5 * nu1));
     }
 }