Statistical Functions
3 min
the statistical functions processor tests how closely a window of data matches a normal distribution, using the goodness of fit tests you enable, and returns a p value for each indicating the strength of that match why use statistical functions use this processor to check whether your data behaves like a normal distribution before applying downstream statistics that assume normality, for example, before running control charts or capability calculations that rely on that assumption how it works enable one or more of five goodness of fit tests via their checkboxes each observes a window of data and returns a p value the smaller the p value, the less likely the data came from a normal distribution jarque bera compares the window's skewness and kurtosis to what a normal distribution would produce, calculated as jb = (n/6)(skewness² + (1/4)(kurtosis 3)²) the further the result is from zero, the less the data resembles a normal distribution cramer von mises calculates the window's mean, standard deviation, and z scores, then compares the summed squared differences between the data's distribution and the expected normal distribution cramervonmises = (1/12n) + σ((2i 1)/(2n) φ(z))² anderson darling uses the same mean, standard deviation, and z score calculations as cramer von mises, but weights the tails of the distribution more heavily d'agostino pearson combines a skewness test and a kurtosis test to check whether the window's shape matches a normal distribution kolmogorov smirnov (using the lilliefors variant for testing normality) calculates the window's mean, standard deviation, and z scores, then finds d+ and d , the largest gaps between the data's distribution and the expected cumulative distribution the test statistic is max(d+, d ) × √n parameters parameter details window size the window of data used for each enabled test jarque bera enables the jarque bera test anderson darling enables the anderson darling test cramer von mises enables the cramer von mises test d'agostino pearson enables the d'agostino pearson test kolmogorov smirnov enables the kolmogorov smirnov test (using the lilliefors variant) related topics use the statistical tests function docid\ uw5z1ef2ze3nndx2idxio