public static double normalDistribution ( Double x , AssociativeArray params ) { double mean = params . getDouble ( "mean" ) ; double variance = params . getDouble ( "variance" ) ; //standardize the x value double z = ( x - mean ) / Math . sqrt ( variance ) ; return ContinuousDistributions . gaussCdf ( z ) ; }
Cumulative Normal Distribution Method . This method is called via reflection .