Example #1
0
        public void Bug5886()
        {
            // the inverse CDF of the F-distribution would fail for d2 <= 2
            double d1 = 1.0;
            double d2 = 0.1;
            FisherDistribution F = new FisherDistribution(d1, d2);

            double x1 = F.InverseLeftProbability(0.6);
            Console.WriteLine(x1);
            double P = F.LeftProbability(x1);
            Console.WriteLine(P);
        }
Example #2
0
        public void Bug5886()
        {
            // the inverse CDF of the F-distribution would fail for d2 <= 2
            double             d1 = 1.0;
            double             d2 = 0.1;
            FisherDistribution F  = new FisherDistribution(d1, d2);

            double x1 = F.InverseLeftProbability(0.6);

            Console.WriteLine(x1);
            double P = F.LeftProbability(x1);

            Console.WriteLine(P);
        }