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
Syntax
public DistributionFitResult<ContinuousDistribution> MaximumLikelihoodFit(
	Func<IReadOnlyList<double>, ContinuousDistribution> factory,
	IReadOnlyList<double> start
)

Parameters

factory
Type: SystemFuncIReadOnlyListDouble, ContinuousDistribution
A function that returns a distribution when given its defining parameters.
start
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