Documentation of 'org.apache.commons.math.distribution.PoissonDistribution' Java class
PoissonDistribution
org.apache.commons.math.distribution

Interface PoissonDistribution

    • Method Detail

      • getMean

        double getMean()
        Get the mean for the distribution.
        Returns:
        the mean for the distribution.
      • setMean

        @Deprecated
        void setMean(double p)
        Deprecated. as of v2.1
        Set the mean for the distribution. The parameter value must be positive; otherwise an IllegalArgument is thrown.
        Parameters:
        p - the mean
        Throws:
        java.lang.IllegalArgumentException - if p ≤ 0
      • normalApproximateProbability

        double normalApproximateProbability(int x)
                                     throws MathException
        Calculates the Poisson distribution function using a normal approximation.
        Parameters:
        x - the upper bound, inclusive
        Returns:
        the distribution function value calculated using a normal approximation
        Throws:
        MathException - if an error occurs computing the normal approximation

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.