]> gitweb.factorcode.org Git - factor.git/commitdiff
math.statistics: the sample and population mean is the same
authorBjörn Lindqvist <bjourne@gmail.com>
Sat, 24 Feb 2018 19:09:36 +0000 (20:09 +0100)
committerBjörn Lindqvist <bjourne@gmail.com>
Sat, 24 Feb 2018 22:11:22 +0000 (23:11 +0100)
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.

basis/math/statistics/statistics.factor

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