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
parent
97d9cee732
commit
3b36e969b2
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue