Interface Distribution

All Known Implementing Classes:
BinomialDistribution, NonSymmetricalNormalDistribution, NormalDistribution

public interface Distribution
This class represents a statistical distribution model like a Gaussian distribution.
Author:
Marc Vaudel
  • Method Summary

    Modifier and Type Method Description
    double getCumulativeProbabilityAt​(double x)
    Returns the cumulative density function value at a given position.
    double getDescendingCumulativeProbabilityAt​(double x)
    Returns the cumulative density function value at a given position when starting from the high values.
    double getMaxValueForProbability​(double p)
    The value after which the density function will be smaller than p.
    double getMinValueForProbability​(double p)
    The value before which the density function will be smaller than p.
    double getProbabilityAt​(double x)
    Returns the density function value at a given position.
    double getSmallestCumulativeProbabilityAt​(double x)
    Returns the cumulative density function value at a given position, starting from the low values if before the median, from the high otherwise.
    double getValueAtCumulativeProbability​(double p)
    The value after which the cumulative density function will be smaller than p.
    double getValueAtDescendingCumulativeProbability​(double p)
    The value after which the cumulative density function will be smaller than p when starting from high values.
  • Method Details

    • getProbabilityAt

      double getProbabilityAt​(double x)
      Returns the density function value at a given position.
      Parameters:
      x - the position of interest
      Returns:
      the value of the density function at the give position
    • getCumulativeProbabilityAt

      double getCumulativeProbabilityAt​(double x)
      Returns the cumulative density function value at a given position.
      Parameters:
      x - the position of interest
      Returns:
      the value of the density function at the give position
    • getDescendingCumulativeProbabilityAt

      double getDescendingCumulativeProbabilityAt​(double x)
      Returns the cumulative density function value at a given position when starting from the high values.
      Parameters:
      x - the position of interest
      Returns:
      the value of the density function at the give position
    • getSmallestCumulativeProbabilityAt

      double getSmallestCumulativeProbabilityAt​(double x)
      Returns the cumulative density function value at a given position, starting from the low values if before the median, from the high otherwise.
      Parameters:
      x - the position of interest
      Returns:
      the value of the density function at the give position
    • getMaxValueForProbability

      double getMaxValueForProbability​(double p)
      The value after which the density function will be smaller than p.
      Parameters:
      p - the probability of interest
      Returns:
      the value after which the density function will be smaller than p
    • getMinValueForProbability

      double getMinValueForProbability​(double p)
      The value before which the density function will be smaller than p.
      Parameters:
      p - the probability of interest
      Returns:
      the value before which the density function will be smaller than p
    • getValueAtCumulativeProbability

      double getValueAtCumulativeProbability​(double p)
      The value after which the cumulative density function will be smaller than p.
      Parameters:
      p - the probability of interest
      Returns:
      the value after which the cumulative density function will be smaller than p
    • getValueAtDescendingCumulativeProbability

      double getValueAtDescendingCumulativeProbability​(double p)
      The value after which the cumulative density function will be smaller than p when starting from high values.
      Parameters:
      p - the probability of interest
      Returns:
      the value after which the cumulative density function will be smaller than p