Click or drag to resize
Accord.NET (logo)

UnivariateDiscreteDistribution Methods

The UnivariateDiscreteDistribution type exposes the following members.

Methods
  NameDescription
Protected methodBaseInverseDistributionFunction
Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p using a numerical approximation based on binary search.
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from DistributionBase.)
Public methodComplementaryDistributionFunction(Int32)
Gets P(X > k) the complementary cumulative distribution function (ccdf) for this distribution evaluated at point k. This function is also known as the Survival function.
Public methodCode exampleComplementaryDistributionFunction(Int32, Boolean)
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point k. This function is also known as the Survival function.
Public methodCumulativeHazardFunction
Gets the cumulative hazard function for this distribution evaluated at point x.
Public methodDistributionFunction(Int32)
Gets P(X ≤ k), the cumulative distribution function (cdf) for this distribution evaluated at point k.
Public methodCode exampleDistributionFunction(Int32, Boolean)
Gets P(X ≤ k) or P(X < k), the cumulative distribution function (cdf) for this distribution evaluated at point k, depending on the value of the inclusive parameter.
Public methodDistributionFunction(Int32, Int32)
Gets the cumulative distribution function (cdf) for this distribution in the semi-closed interval (a; b] given as P(a < X ≤ b).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFit(Double)
Fits the underlying distribution to a given set of observations.
Public methodFit(Int32)
Fits the underlying distribution to a given set of observations.
Public methodFit(Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodFit(Double, Double)
Fits the underlying distribution to a given set of observations.
Public methodFit(Double, Int32)
Fits the underlying distribution to a given set of observations.
Public methodFit(Int32, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodFit(Double, Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodFit(Double, Int32, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodFit(Int32, Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodFit(Int32, Int32, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodGenerate
Generates a random observation from the current distribution.
Public methodGenerate(Int32)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Int32, Double)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Int32, Int32)
Generates a random vector of observations from the current distribution.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRange
Gets the distribution range within a given percentile.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodLogCumulativeHazardFunction
Gets the log-cumulative hazard function for this distribution evaluated at point x.
Public methodLogProbabilityMassFunction
Gets the log-probability mass function (pmf) for this distribution evaluated at point x.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProbabilityMassFunction
Gets the probability mass function (pmf) for this distribution evaluated at point x.
Public methodQuantileDensityFunction
Gets the first derivative of the inverse distribution function (icdf) for this distribution evaluated at probability p.
Public methodToString
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(IFormatProvider)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(String)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(String, IFormatProvider)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by Matrix.)
Top
See Also