Click or drag to resize
Accord.NET (logo) UnivariateContinuousDistributionFit Method (Double)
Fits the underlying distribution to a given set of observations.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.4.0
public virtual void Fit(
	double[] observations
Request Example View Source


Type: SystemDouble
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).
Although both double[] and double[][] arrays are supported, providing a double[] for a multivariate distribution or a double[][] for a univariate distribution may have a negative impact in performance.
See Also