Click or drag to resize

SampleMaximumLikelihoodFit Method

Performs a maximum likelihood fit.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
public DistributionFitResult<ContinuousDistribution> MaximumLikelihoodFit(
	Func<IReadOnlyList<double>, ContinuousDistribution> factory,
	IReadOnlyList<double> start


Type: SystemFuncIReadOnlyListDouble, ContinuousDistribution
A function that returns a distribution when given its defining parameters.
Type: System.Collections.GenericIReadOnlyListDouble
An initial guess for the defining parameters.

Return Value

Type: DistributionFitResultContinuousDistribution
The result of the fit, containing the parameters that result in the best fit, covariance matrix among those parameters, and a test of the goodness of fit.
See Also