Documentation API of the 'jhplot.math.num.pdf.DiscreteDistribution' Java class
DiscreteDistribution
jhplot.math.num.pdf

Class DiscreteDistribution

    • Constructor Detail

      • DiscreteDistribution

        public DiscreteDistribution()
    • Method Detail

      • cumulativeProbability

        public abstract double cumulativeProbability(int x)                                      throws NumericException
        The CDF for this distribution. This method returns P(X ≤ x).
        Parameters:
        x - the value at which the CDF is evaluated.
        Returns:
        CDF for this distribution.
        Throws:
        NumericException - if the cumulative probability can not be computed.
      • inverseCumulativeProbability

        public abstract int inverseCumulativeProbability(double p)                                          throws NumericException
        The inverse CDF for this distribution. This method returns the largest x such that, P(X ≤ x) ≤ p.
        Parameters:
        p - the cumulative probability.
        Returns:
        x
        Throws:
        NumericException - if the inverse cumulative probability can not be computed.
      • probability

        public abstract double probability(int x)                            throws NumericException
        The PMF for this distribution. This method returns P(X = x).
        Parameters:
        x - the value at which the probability is evaluated.
        Returns:
        PMF for this distribution.
        Throws:
        NumericException - if the probability can not be computed.

DataMelt 1.1 © jWork.ORG

Warning: You see this message because an access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of dataMelt, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.