Documentation of 'Catalano.Statistics.Distributions.GammaDistribution' Java class
GammaDistribution
Catalano.Statistics.Distributions

Class GammaDistribution

  • All Implemented Interfaces:
    IDistribution


    public class GammaDistribution
    extends java.lang.Object
    implements IDistribution
    Gamma distribution.
    • Constructor Summary

      Constructors 
      Constructor and Description
      GammaDistribution(double scale, double shape)
      Creates new Gamma Distribution.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double DistributionFunction(double x)
      Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
      double Entropy()
      Gets the entropy for this distribution.
      double getScale() 
      double getShape() 
      double LogProbabilityDensityFunction(double x)
      Gets the log-probability density function (pdf) for this distribution evaluated at point x.
      double Mean()
      Gets the mean for this distribution.
      double Median() 
      double ProbabilityDensityFunction(double x)
      Gets the probability density function (pdf) for this distribution evaluated at point x.
      double Variance()
      Gets the variance for this distribution.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GammaDistribution

        public GammaDistribution(double scale,
                                 double shape)
        Creates new Gamma Distribution.
        Parameters:
        scale - The scale parameter theta.
        shape - The shape parameter k.
    • Method Detail

      • getScale

        public double getScale()
      • getShape

        public double getShape()
      • Mean

        public double Mean()
        Description copied from interface: IDistribution
        Gets the mean for this distribution.
        Specified by:
        Mean in interface IDistribution
        Returns:
        The distribution's mean value.
      • Variance

        public double Variance()
        Description copied from interface: IDistribution
        Gets the variance for this distribution.
        Specified by:
        Variance in interface IDistribution
        Returns:
        The distribution's variance.
      • Median

        public double Median()
      • Entropy

        public double Entropy()
        Description copied from interface: IDistribution
        Gets the entropy for this distribution.
        Specified by:
        Entropy in interface IDistribution
        Returns:
        The distribution's entropy.
      • DistributionFunction

        public double DistributionFunction(double x)
        Description copied from interface: IDistribution
        Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
        The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
        Specified by:
        DistributionFunction in interface IDistribution
        Parameters:
        x - A single point in the distribution range.
        Returns:
        The probability of x occurring in the current distribution.
      • ProbabilityDensityFunction

        public double ProbabilityDensityFunction(double x)
        Description copied from interface: IDistribution
        Gets the probability density function (pdf) for this distribution evaluated at point x.
        The Probability Density Function (PDF) describes the probability that a given value x will occur.
        Specified by:
        ProbabilityDensityFunction in interface IDistribution
        Parameters:
        x - A single point in the distribution range.
        Returns:
        The probability of x occurring in the current distribution.
      • LogProbabilityDensityFunction

        public double LogProbabilityDensityFunction(double x)
        Description copied from interface: IDistribution
        Gets the log-probability density function (pdf) for this distribution evaluated at point x.
        The Probability Density Function (PDF) describes the probability that a given value x will occur.
        Specified by:
        LogProbabilityDensityFunction in interface IDistribution
        Parameters:
        x - A single point in the distribution range.
        Returns:
        The probability of x occurring in the current distribution.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.