Click or drag to resize
Accord.NET (logo)

LillieforsTestGoodnessOfFitTDistribution Method

Performs a Goodness-of-Fit method by automatically creating and fitting the chosen distribution to the samples and computing a LillieforsTest against this fitted distribution.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static LillieforsTest GoodnessOfFit<TDistribution>(
	double[] samples
)
where TDistribution : new(), Object, IFittableDistribution<double[]>, ISampleableDistribution<double>
Request Example View Source

Parameters

samples
Type: SystemDouble
The samples used to fit the distribution.

Type Parameters

TDistribution
The type of the distribution.

Return Value

Type: LillieforsTest
A Lilliefor Test assessing whether it is likely that the samples could have been generated by the chosen distribution.
See Also