Dirichlet Distribution Constructor
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Dirichlet | Estimates the parameters of the distribution of a set of observations assuming it follows a multivariate normal distribution. |
Dirichlet | Constructs a new DirichletDistribution with the specified parameters. |
Dirichlet | Estimates the parameters of the distribution of a variable assuming it follows a normal distribution. |
DirichletDistribution(Matrix<Double>)
Estimates the parameters of the distribution of a set of observations assuming it follows a multivariate normal distribution.
public DirichletDistribution(
Matrix<double> data
)
Parameters
Return Value
The DirichletDistribution that best matches the distribution of the rows of data.Remarks
Use this constructor to create a DirichletDistribution whose parameters are estimated from data. This constructor uses an unbiased estimator.
Exceptions
ArgumentNullException | data is null. |
DirichletDistribution(Vector<Double>)
Constructs a new DirichletDistribution with the specified parameters.
public DirichletDistribution(
Vector<double> parameters
)
Parameters
- parameters Vector<Double>
- The shape parameters of the distribution.
DirichletDistribution(Vector<Double>[])
Estimates the parameters of the distribution of a variable assuming it follows a normal distribution.
public DirichletDistribution(
Vector<double>[] variables
)
Parameters
- variables Vector<Double>[]
- An array of vectors.
Return Value
The DirichletDistribution that best matches the distribution of variables.Remarks
Use this constructor to create a DirichletDistribution whose parameters are estimated from variables. This constructor uses an unbiased estimator.
Exceptions
ArgumentNullException | variables is null. |