SignalUtils.DistinctCDF Method

Overload List

#SignatureDescription
1Double DistinctCDF(Double x, Double Mean, Double StdDev)Returns a measure for the probability that x belongs to the normal distribution with Mean and StdDev.
2Double DistinctCDF(Double[] Means, Double[] StdDevs, Int32 Precision, Int32 MaxSteps)Result = the probability that given probability distributions are (not) the same

Overload 1: Double DistinctCDF(Double x, Double Mean, Double StdDev)

Returns a measure for the probability that x belongs to the normal distribution with Mean and StdDev.

#NameTypeDescription
1xDoublescalar
2MeanDoublescalar
3StdDevDoublescalar

Returns: Double

Remarks:

The function returns the 1- (integral of PDF on the intervals [-Inf,mean-abs(mean-x)],[mean+abs(mean-x),+Inf]). The function returns near 100, if x is further then 4*StdDev away from mean and returns 0, if x = mean.

Overload 2: Double DistinctCDF(Double[] Means, Double[] StdDevs, Int32 Precision, Int32 MaxSteps)

Compute the probability that given probability distributions are (not) the same.

#NameTypeDescription
1MeansDouble[]
2StdDevsDouble[]
3PrecisionInt32
4MaxStepsInt32

Returns: Double

Remarks:

The function integrates the envelope of a set of gaussian PDF functions defined with Means (holding mean values) and StdDevs (holding standard deviations) arrays. The start of the integration interval is determined by the PDF with smallest value of expression: Mean-3*StdDev. The end of the integration interval is determined by the PDF with largest value of expression: Mean+3*StdDev. If all PDF functions are distinctly a part, the value of the integral will be equal to the number of PDF functions. If all PDF functions exactly overlapp each other, the value of the integral will be 1. This function is therefore a measure of overlapping of a set of gaussian probability density functions. The result will return this measure in percent. 0% for full overlapping and 100% for no overlapping. Precision defines integration precision by defining the step: h = (Smallest StdDev)*3/Precision. The drawback of this approach is that CPU usage grows with precision, distance between the mean values and smaller standard deviations. If the precision is too small, the function will degenerate in to histogram calculation. If you are integrating only over two distributions, that is not a serious problem and the result will remain meaningfull, but not very accurate.