68 public static function gauss($value)
71 if (!is_numeric($value)) {
75 return self::distribution($value,
true) - 0.5;
93 public static function zTest($dataSet, $m0, $sigma = null)
99 if (!is_numeric($m0) || ($sigma !== null && !is_numeric($sigma))) {
103 if ($sigma === null) {
106 $n = count($dataSet);
static cumulative($value)
NORMSDIST.
static inverse($probability, $mean, $stdDev)
NORMINV.
static distribution($value, $cumulative)
NORM.S.DIST.
static gauss($value)
GAUSS.
static STDEV(... $args)
STDEV.
static zTest($dataSet, $m0, $sigma=null)
ZTEST.
static flattenArrayIndexed($array)
Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing...
static distribution($value, $mean, $stdDev, $cumulative)
NORMDIST.
static inverse($value)
NORMSINV.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.
static average(... $args)
AVERAGE.