Package com.imsl.stat

Interface Distribution

All Known Subinterfaces:
ProbabilityDistribution
All Known Implementing Classes:
GammaDistribution, LogNormalDistribution, NaiveBayesClassifierEx3.TestGaussFcn1, NormalDistribution, PoissonDistribution

public interface Distribution
Public interface for the user-supplied distribution function.

The purpose of this interface is to fit the probability distribution to a given set of data and return the probability density at each value of the given set of data.

  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    eval(double[] xData)
    Evaluation method to fit the user-supplied probability density function to input data
  • Method Details

    • eval

      double[] eval(double[] xData)
      Evaluation method to fit the user-supplied probability density function to input data
      Parameters:
      xData - a double array representing the points at which the probability density function is to be evaluated.
      Returns:
      a double array representing the probability density at each value of xData