You are here: Symbol Reference > Statistics Namespace > Functions > Statistics.ChiSquareTest Function
Stats Master VCL
ContentsIndex
PreviousUpNext
Statistics.ChiSquareTest Function

Chi-Squared Test.

Pascal
procedure ChiSquareTest(const Data: TVec; Sigma: double; out hRes: THypothesisResult; out Signif: double; var ConfInt: TTwoElmReal; hType: THypothesisType = htTwoTailed; Alpha: double = 0.05);
Parameters 
Description 
Data 
Data to be tested. 
Sigma 
Standard deviation which is compared to data standard deviation. 
hRes 
Returns the result of the null hypothesis (default assumption is that the means are equal). 
Signif 
(Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true. 
ConfInt 
Returns the 100*(1-Alpha) percent confidence interval for the mean. 
hType 
Defines the type of the null hypothesis (left, right and two - tailed). 
Alpha 
Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. 

Performs Chi-Squared test by comparing sample standard deviation with Sigma.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!