math.statistics: the sample and population mean is the same

Afaik, the mean word works both for population data and for
samples. Which is different from standard deviations, where you have
different formulas for population and sample std.
windows-high-dpi
Björn Lindqvist 2018-02-24 20:09:36 +01:00
parent 97d9cee732
commit 3b36e969b2
1 changed files with 0 additions and 3 deletions

View File

@ -16,9 +16,6 @@ IN: math.statistics
: mean ( seq -- x ) : mean ( seq -- x )
0 mean-ddof ; inline 0 mean-ddof ; inline
: unbiased-mean ( seq -- x )
1 mean-ddof ; inline
: sum-of-squares ( seq -- x ) : sum-of-squares ( seq -- x )
[ sq ] map-sum ; inline [ sq ] map-sum ; inline