Click or drag to resize
Accord.NET (logo) MultivariateDiscreteDistribution Class
Abstract class for multivariate discrete probability distributions.
Inheritance Hierarchy

Namespace:  Accord.Statistics.Distributions.Multivariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.4.0
Syntax
[SerializableAttribute]
public abstract class MultivariateDiscreteDistribution : DistributionBase, 
	IMultivariateDistribution, IDistribution, ICloneable, IMultivariateDistribution<int[]>, IDistribution<int[]>, 
	IMultivariateDistribution<double[]>, IDistribution<double[]>, ISampleableDistribution<int[]>, 
	IRandomNumberGenerator<int[]>, ISampleableDistribution<double[]>, IRandomNumberGenerator<double[]>, 
	IFormattable
Request Example View Source

The MultivariateDiscreteDistribution type exposes the following members.

Constructors
  NameDescription
Protected methodMultivariateDiscreteDistribution
Constructs a new MultivariateDiscreteDistribution class.
Top
Properties
  NameDescription
Public propertyCovariance
Gets the variance for this distribution.
Public propertyDimension
Gets the number of variables for this distribution.
Public propertyMean
Gets the mean for this distribution.
Public propertyMedian
Gets the median for this distribution.
Public propertyMode
Gets the mode for this distribution.
Public propertySupport
Gets the support interval for this distribution.
Public propertyVariance
Gets the mean for this distribution.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from DistributionBase.)
Public methodComplementaryDistributionFunction
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
Public methodDistributionFunction
Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
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(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(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 methodGenerate
Generates a random observation from the current distribution.
Public methodGenerate(Double)
Generates a random observation from the current distribution.
Public methodGenerate(Int32)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Int32)
Generates a random observation 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverseDistributionFunction
Not supported.
Public methodLogProbabilityMassFunction
Gets the log-probability mass function (pmf) for this distribution evaluated at point x.
Public methodMarginalDistributionFunction(Int32)
Gets the marginal distribution of a given variable.
Public methodMarginalDistributionFunction(Int32, Int32)
Gets the marginal distribution of a given variable evaluated at a given value.
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 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 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
Remarks

A probability distribution identifies either the probability of each value of an unidentified random variable (when the variable is discrete), or the probability of the value falling within a particular interval (when the variable is continuous).

The probability distribution describes the range of possible values that a random variable can attain and the probability that the value of the random variable is within any (measurable) subset of that range.

The function describing the probability that a given discrete value will occur is called the probability function (or probability mass function, abbreviated PMF), and the function describing the cumulative probability that a given value or any value smaller than it will occur is called the distribution function (or cumulative distribution function, abbreviated CDF).

References:

See Also