Click or drag to resize

Wishart Class

Multivariate Wishart distribution. This distribution is parameterized by the degrees of freedom nu and the scale matrix S. The Wishart distribution is the conjugate prior for the precision (inverse covariance) matrix of the multivariate normal distribution. Wikipedia - Wishart distribution.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.DistributionsWishart

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Wishart : IDistribution

The Wishart type exposes the following members.

Constructors
 NameDescription
Public methodWishart(Double, MatrixDouble) Initializes a new instance of the Wishart class.
Public methodWishart(Double, MatrixDouble, Random) Initializes a new instance of the Wishart class.
Top
Properties
 NameDescription
Public propertyDegreesOfFreedom Gets or sets the degrees of freedom (n) for the Wishart distribution.
Public propertyMean Gets the mean of the distribution.
Public propertyMode Gets the mode of the distribution.
Public propertyRandomSource Gets or sets the random number generator which is used to draw random samples.
Public propertyScale Gets or sets the scale matrix (V) for the Wishart distribution.
Public propertyVariance Gets the variance of the distribution.
Top
Methods
 NameDescription
Public methodDensity Evaluates the probability density function for the Wishart distribution.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsValidParameterSet Tests whether the provided values are valid parameters for this distribution.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSample Samples a Wishart distributed random variable using the method Algorithm AS 53: Wishart Variate Generator W. B. Smith and R. R. Hocking Applied Statistics, Vol. 21, No. 3 (1972), pp. 341-345
Public methodStatic memberSample(Random, Double, MatrixDouble) Samples a Wishart distributed random variable using the method Algorithm AS 53: Wishart Variate Generator W. B. Smith and R. R. Hocking Applied Statistics, Vol. 21, No. 3 (1972), pp. 341-345
Public methodToString A string representation of the distribution.
(Overrides ObjectToString)
Top
See Also