Method |
Description |
|
histogram ( array $values, integer $steps = 10, float $lowerBound = null, float $upperBound = null ) : array |
Generate a histogram. |
|
kdeMode ( array $population, integer $space = 512, float $bandwidth = null ) : float[] |
Return the mode using the kernel density estimator using the normal
distribution. |
|
linspace ( float $min, float $max, integer $num = 50, boolean $endpoint = true ) : float[] |
Return an array populated with $num numbers from $min to $max. |
|
mean ( array $values ) : mixed |
Return the mean (average) value of the given values. |
|
stdev ( array $values, boolean $sample = false ) : float |
Return the standard deviation of a given population. |
|
variance ( array $values, boolean $sample = false ) : float |
Return the variance for a given population. |
|