Click or drag to resize

CSTrNormalTest Method

Test the "normality" of the histogram distribution

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public double rNormalTest()

public double rNormalTest()

Return Value

Type: Double
The normality statistic. Terminates if no histogram in the ST object.
Remarks
This function compares the histogram to a normal curve with the same mean and standard deviation. The individual counts are normalized by the total counts, the bin width and the standard deviation. For each bin, the rms difference between the expected probability and the normalized count is summed, and the final result is normalized by the total number of bins. In this way histograms with different means, standard deviations, number of bins and counts can be compared. If the histogram were perfectly normal, then a value of 0 would be returned. The more "non-normal", the higher the statistic.
See Also