Numcry::Stats
Base stats methods.
Instance methods
Compute the mean for values contained within collection.
mean(1..6) # => 3.5
Compute the standard deviation for values within collection.
std(1..6) # => 1.708
Compute the variance across values contained in collection.
Default normalisation (N) is applied such that this may be used directly on collections representing the full population. When working with a sample, ddof may be used to specify a delta degrees of freedom and correct bias.
var(1..6) # => 2.917