Module renforce::stat [] [src]

Statistics Module

Functions

mean

Calculates the mean of a set of numbers

mean_var

Calculates the mean and variance of a set of numbers

normalize

Normalizes a list of numbers to have mean 0 and standard deviation 1

shuffle

Performs in-place Fisher-Yates Shuffle

stddev

Calculates the standard deviation of a set of numbers

variance

Calculates the variance of a set of numbers