Package jdistlib

Class BetaPrime

All Implemented Interfaces:
SupportedDistribution

public final class BetaPrime extends GenericDistribution implements SupportedDistribution
Beta-prime (beta of the second kind) distribution.
  • Constructor Details

    • BetaPrime

      public BetaPrime(double shape1, double shape2)
  • Method Details

    • density

      public static double density(double x, double a, double b, boolean log)
    • cumulative

      public static double cumulative(double x, double a, double b, boolean lowerTail, boolean logP)
    • quantile

      public static double quantile(double p, double a, double b, boolean lowerTail, boolean logP)
    • random

      public static double random(double a, double b, RandomEngine random)
    • density

      public double density(double x, boolean log)
      Specified by:
      density in class GenericDistribution
    • cumulative

      public double cumulative(double x, boolean lowerTail, boolean logP)
      Specified by:
      cumulative in class GenericDistribution
    • quantile

      public double quantile(double p, boolean lowerTail, boolean logP)
      Specified by:
      quantile in class GenericDistribution
    • random

      public double random()
      Specified by:
      random in class GenericDistribution
    • getLowerBound

      public double getLowerBound()
      Specified by:
      getLowerBound in interface SupportedDistribution
    • getUpperBound

      public double getUpperBound()
      Specified by:
      getUpperBound in interface SupportedDistribution