Click or drag to resize
Accord.NET (logo)

IUnivariateDistributionTObservation Interface

Common interface for univariate probability distributions.

Namespace:  Accord.Statistics.Distributions
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public interface IUnivariateDistribution<TObservation> : IDistribution<TObservation>, 
	IDistribution, ICloneable
Request Example View Source

Type Parameters

TObservation

The IUnivariateDistributionTObservation type exposes the following members.

Properties
  NameDescription
Public propertyEntropy
Gets entropy of the distribution.
Public propertyMean
Gets the mean value for the distribution.
Public propertyMedian
Gets the median value for the distribution.
Public propertyMode
Gets the mode value for the distribution.
Public propertySupport
Gets the support interval for this distribution.
Public propertyVariance
Gets the variance value for the distribution.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodComplementaryDistributionFunction(Double)
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
(Inherited from IDistribution.)
Public methodComplementaryDistributionFunction(TObservation)
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
(Inherited from IDistributionTObservation.)
Public methodCumulativeHazardFunction
Gets the cumulative hazard function for this distribution evaluated at point x.
Public methodDistributionFunction(Double)
Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
(Inherited from IDistribution.)
Public methodDistributionFunction(TObservation)
Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
(Inherited from IDistributionTObservation.)
Public methodFit(Array)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodFit(Array, IFittingOptions)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodFit(Array, Double)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodFit(Array, Int32)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodFit(Array, Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodFit(Array, Int32, IFittingOptions)
Fits the underlying distribution to a given set of observations.
(Inherited from IDistribution.)
Public methodHazardFunction
Gets the hazard function, also known as the failure rate or the conditional failure density function for this distribution evaluated at point x.
Public methodInverseDistributionFunction
Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.
Public methodLogProbabilityFunction(Double)
Gets the log-probability density function (pdf) for this distribution evaluated at point x.
(Inherited from IDistribution.)
Public methodLogProbabilityFunction(TObservation)
Gets the log-probability density function (pdf) for this distribution evaluated at point x.
(Inherited from IDistributionTObservation.)
Public methodProbabilityFunction(Double)
Gets the probability density function (pdf) for this distribution evaluated at point x.
(Inherited from IDistribution.)
Public methodProbabilityFunction(TObservation)
Gets the probability density function (pdf) for this distribution evaluated at point x.
(Inherited from IDistributionTObservation.)
Top
Remarks

This interface is implemented by both univariate Discrete Distributions and Continuous Distributions. However, unlike IUnivariateDistribution, this interface has a generic parameter that allows to define the type of the distribution values (i.e. double).

For Multivariate distributions, see IMultivariateDistributionTObservation.

See Also