Click or drag to resize
Accord.NET (logo)

UnivariateDiscreteDistributionFit Method (Int32, IFittingOptions)

Fits the underlying distribution to a given set of observations.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public virtual void Fit(
	int[] observations,
	IFittingOptions options
Request Example View Source


Type: SystemInt32
The array of observations to fit the model against. The array elements can be either of type double (for univariate data) or type double[] (for multivariate data).
Type: Accord.Statistics.Distributions.FittingIFittingOptions
Optional arguments which may be used during fitting, such as regularization constants and additional parameters.
See Also