Click or drag to resize

PearsonsChiSquaredTestUpdate Method (Vector, Int32, CUDistribution, Int32)

Updates test statistic using provided sample.

Namespace:  FinMath.Statistics.HypothesisTesting
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public void Update(
	Vector sample,
	int binsNumber,
	CUDistribution distribution,
	int parameters
)

Parameters

sample
Type: FinMath.LinearAlgebraVector
Variate samples.
binsNumber
Type: SystemInt32
Number of bins for test. Edges of bins will be chosen to make all bins equiprobable for hitting by supposed distribution sample. Must be positive.
distribution
Type: FinMath.Statistics.DistributionsCUDistribution
Supposed probability distribution.
parameters
Type: SystemInt32
The number of parameters used in fitting the distribution. Must be non-negative.
See Also