Dirichlet Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Argument | data is null. |
DirichletDistribution(Vector<Double>)
Constructs a new DirichletDistribution with the specified parameters.
public DirichletDistribution(
Vector<double> parameters
)
Parameters
DirichletDistribution(Vector<Double>[])
Estimates the parameters of the distribution of a variable assuming it follows a normal distribution.
public DirichletDistribution(
Vector<double>[] variables
)
Parameters
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
Argument | variables is null. |