Included Stats Functions

Mwnci statistical functions that are not part of the builtin functions can be loaded with

include("stats")

Functions

Command Definition
average() Returns the average (mean) of all the values in an array.
covariance() Returns the covariance of two data sets (arrays).
mean() Returns mean (average) of all the values in an array.
median() Returns the median (middle value) of the given numeric array.
mode() Returns the mode (central tendency) of the given numeric or nominal array.