Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | mathematics |
You can tell it to assume a mean rather than calculating it if desired. NB: The assumed_mean argument must be explicitly indicated as in the example below ('assumed_mean=0', not just '0'); otherwise, the value specified will simply be included in the list of samples.
highest_moment | 1=mean,...4=kurtosis | ||
dots | The values to perform statistics on | ||
assumed_mean | If numeric, assume the mean is this value rather than calculating it; if used, parameter name must be explicitly specified | ||
Allowed: | numeric scalar | ||
Default: | [=] |
- include "statistics.g" - moments(2, 1,3,5,7,9) [n=5, mean=5, variance=10, stddev=3.16228] + moments(2, 1, 3, 5, 7, 9, assumed_mean=0) [n=5, mean=0, note=The mean was supplied - it has not been calculated, variance=41.25, stddev=6.42262]