Interface IContinousPDFFactory

  • All Known Subinterfaces:
    IPDFFactory
    All Known Implementing Classes:
    PDFFactory

    public interface IContinousPDFFactory
    • Method Detail

      • createExponentialDistribution

        IExponentialDistribution createExponentialDistribution​(double rate)
        Creates a new ExponentialDistribution for doing math.
        Parameters:
        rate - The rate parameter
        Returns:
        The distribution
      • createGammaDistribution

        IGammaDistribution createGammaDistribution​(double alpha,
                                                   double theta)
        Creates a new GammaDistribution for doing math.
        Parameters:
        alpha - The alpha value
        theta - The theta value
        Returns:
        The distribution
      • createGammaDistributionFromMoments

        IGammaDistribution createGammaDistributionFromMoments​(double mean,
                                                              double coeffVar)
        Creates a new GammaDistribution for doing math.
        Parameters:
        mean - The mean value
        coeffVar - The coeffVar value
        Returns:
        The distribution
      • createLognormalDistribution

        ILognormalDistribution createLognormalDistribution​(double mu,
                                                           double sigma)
        Creates a new LognormalDistribution for doing math.
        Parameters:
        mu - The mean value
        sigma - The standard deviation
        Returns:
        The distribution
      • createLognormalDistributionFromMoments

        ILognormalDistribution createLognormalDistributionFromMoments​(double mean,
                                                                      double variance)
        Creates a new LognormalDistribution for doing math.
        Parameters:
        mean - The mean value
        variance - The variance value
        Returns:
        The distribution
      • createNormalDistribution

        INormalDistribution createNormalDistribution​(double mu,
                                                     double sigma)
        Creates a new NormalDistribution for doing math.
        Parameters:
        mu - The mean value
        sigma - The standard deviation
        Returns:
        The distribution
      • createUniformDistribution

        IUniformDistribution createUniformDistribution​(double a,
                                                       double b)
        Creates a new UniformDistribution for doing math.
        Parameters:
        a - The a value
        b - The b value
        Returns:
        The distribution
      • createChiSquareDistribution

        IChiSquareDistribution createChiSquareDistribution​(int degreesOfFreedom)
        Creates a new chi-square distribution with the specified parameter.
        Parameters:
        degreesOfFreedom - the degrees of freedom
        Returns:
        the distribution
      • createStudentTDistribution

        IStudentTDistribution createStudentTDistribution​(int degreesOfFreedom)
        Creates a new student's t-distribution with the specified parameter.
        Parameters:
        degreesOfFreedom - the degrees of freedom
        Returns:
        the distribution