    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.maths.statistics.PoissonDistribution

    java.lang.Object
       |
       +----JSci.maths.statistics.ProbabilityDistribution
               |
               +----JSci.maths.statistics.PoissonDistribution

public final class PoissonDistribution
extends ProbabilityDistribution

The PoissonDistribution class provides an object for encapsulating Poisson distributions.

##

PoissonDistribution(double)
  Constructs a Poisson distribution.

##

cumulative(double)
  Cumulative Poisson distribution function.
getInterval()
  Returns the interval.
inverse(double)
  Inverse of the cumulative Poisson distribution function.
probability(double)
  Probability density function of a Poisson distribution.

##

PoissonDistribution

     public PoissonDistribution(double interval)

  Constructs a Poisson distribution.

  Parameters:
    interval - the interval

##

getInterval

     public double getInterval()

  Returns the interval.

probability

     public double probability(double X)

  Probability density function of a Poisson distribution.

  Parameters:
    X - should be integer-valued
  Returns:
    the probability that a stochastic variable x has the value X, i.e. P(x=X)
  Overrides:
    probability in class ProbabilityDistribution

cumulative

     public double cumulative(double X)

  Cumulative Poisson distribution function.

  Parameters:
    X - should be integer-valued
  Returns:
    the probability that a stochastic variable x is less then X, i.e. P(x<X)
  Overrides:
    cumulative in class ProbabilityDistribution

inverse

     public double inverse(double probability)

  Inverse of the cumulative Poisson distribution function.

  Returns:
    the value X for which P(x<X)
  Overrides:
    inverse in class ProbabilityDistribution

    All Packages  Class Hierarchy  This Package  Previous  Next  Index