Click or drag to resize
SampleMaximumLikelihoodFit Method
Performs a maximum likelihood fit.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public FitResult MaximumLikelihoodFit(
	Func<IList<double>, Distribution> factory,
	IList<double> start
)

Parameters

factory
Type: SystemFuncIListDouble, Distribution
A function that returns a distribution when given its defining parameters.
start
Type: System.Collections.GenericIListDouble
An initial guess for the defining parameters.

Return Value

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