PearsonsChiSquaredTestUpdate Method (Double, Int32, CUDistribution, Int32)
|
Updates test statistic using provided sample.
Namespace:
FinMath.Statistics.HypothesisTesting
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public void Update(
double[] sample,
int binsNumber,
CUDistribution distribution,
int parameters
)
Parameters
- sample
- Type: SystemDouble
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