예제 #1
0
        public double Quantile(Probability p)
        {
            double x = BetaFunction.RegularizedIncompleteInverseValue(0.5 * df, 0.5, 2 * Min(p, 1 - p));

            x = Sqrt(df * (1 - x) / x);
            return(p >= 0.5 ? x : -x);
        }
예제 #2
0
 public double Quantile(Probability p) => BetaFunction.RegularizedIncompleteInverseValue(Alpha, Beta, p);