NormalDistribution.FitToSample Method
Click or drag to resize

NormalDistributionFitToSample Method

Computes the normal distribution that best fits the given sample.

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static NormalFitResult FitToSample(
	Sample sample
)

Parameters

sample
Type: Meta.Numerics.StatisticsSample
The sample to fit.

Return Value

Type: NormalFitResult
The result of the fit.
Exceptions
ExceptionCondition
ArgumentNullExceptionsample is null.
InsufficientDataExceptionsample contains fewer than three values.
See Also