Björn Lindqvist
3b36e969b2
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.
2018-02-24 23:11:22 +01:00
Björn Lindqvist
0701902122
math.statistics: fix calculation of the harmonic mean
2017-01-15 21:27:55 +01:00
John Benediktsson
60919f8a89
math.statistics: change minmax to not look at first element twice.
2016-12-28 13:39:52 -08:00
John Benediktsson
b141e0d2fb
assocs: moving collect-by from math.statistics.
2016-12-28 12:56:19 -08:00
Doug Coleman
d3bc2035a2
factor: remove rest of double paren words.
2016-03-25 03:13:27 -07:00
Jon Harper
43be523e31
math.statistics, add docs for cum-sum0, add cum-product1 for symmetry
2016-03-08 13:41:54 -08:00
Jon Harper
cb6ddb1735
rename math.statistics:cum-map to sequences:accumulate*
2016-03-08 13:41:54 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
270155bae4
math.statistics: clean up some weird stack effects
2015-07-27 09:54:07 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman
e4e6f34f0e
math.statistics: Get smart about the geometric mean. Calculate it in logspace so we can use addition of small logarithms and multiplication instead of the nth root of a giant product.
2014-09-26 13:34:25 -07:00
John Benediktsson
8a2028d2c6
math.statistics: use if-zero in mean-ddof.
2014-06-10 13:06:42 -07:00
John Benediktsson
aa779eaba8
math.statistics: use >array instead of { } clone-like.
2013-06-25 15:40:33 -07:00
Doug Coleman
4df945e3db
math.statistics: Handle some edge cases.
...
Remove two unused parameters.
2013-06-17 10:16:28 -07:00
Doug Coleman
49c0b12b33
math.statistics: Add trimean.
2013-06-17 10:16:28 -07:00
Doug Coleman
d3df35102a
math.statistics: [-] Golfed.
2013-06-17 07:36:55 -07:00
Doug Coleman
77abc31e3b
math.statistics: Fix out of bounds on quantiles that should return the first element.
2013-06-17 07:21:45 -07:00
John Benediktsson
720db54f61
math.statistics: change kth-object to properly clone underlying sequence first.
2013-05-06 10:40:53 -07:00
John Benediktsson
6a4638fa0f
math.statistics: faster cum-mean.
2013-05-06 09:12:40 -07:00
John Benediktsson
0d806e0b69
Revert "math.statistics: change cum-mean to use v/."
...
This reverts commit 9df2235d8983da67d106a6d5fb297134e5e2a58e.
2013-05-06 09:08:11 -07:00
John Benediktsson
b01b14c0e2
math.statistics: change cum-mean to use v/.
2013-05-06 08:59:02 -07:00
lorynj
ca7dd6a6a3
cum-mean
...
Added a word to calculate cumulative mean.
Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:15:39 -07:00
John Benediktsson
35e23dc547
math.statistics: make collect-by row polymorphic, simplify words.
2013-04-22 06:25:50 -07:00
John Benediktsson
02d9565732
math.statistics: adding demean and demedian, cleanup a bit.
2013-03-28 11:40:46 -07:00
Doug Coleman
5224fba820
math: Revert clone on median algorithm, perhaps need to revisit this. Call clump for moving-median
2013-03-24 01:14:35 -07:00
Doug Coleman
bfbe6edde6
math.statistics: Median now changes the order of the sequence, so clone it first.
2013-03-24 01:08:28 -07:00
Doug Coleman
6697f3effb
math.statistics: Fix histogram and collect. Histogram used each-index even when it didn't need to.
2013-03-10 12:57:48 -07:00
John Benediktsson
1ae04f1247
math.statistics: adding z-score.
2013-02-07 15:50:34 -08:00
John Benediktsson
82dc0bf045
math.statistics: just use accumulate for now.
2012-12-04 08:56:21 -08:00
Doug Coleman
516549b52c
basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
...
sue.
2012-11-27 12:47:44 -06:00
Doug Coleman
6e48f8ab15
math.statistics: Add a variant of histogram that can see the sequence index.
2012-11-17 12:39:54 -08:00
Doug Coleman
d31105813b
math.statistics: Add back std as sample-std.
2012-11-15 08:27:41 -08:00
Doug Coleman
2ada02726b
math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere.
2012-11-07 22:53:53 -08:00
Doug Coleman
a4e55a3eee
math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books.
2012-11-07 22:53:52 -08:00
John Benediktsson
1e413edf3a
math.statistics: rename full-* to population-*.
2012-11-06 07:16:20 -08:00
Doug Coleman
b867a248a2
math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs.
2012-10-25 16:13:25 -07:00
Doug Coleman
923f3592c8
math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics.
2012-10-22 09:47:35 -07:00
John Benediktsson
13f101bd2b
math.statistics: empty-sequence is silly.
2012-09-26 17:09:23 -07:00
John Benediktsson
7fb8db2e74
math.statistics: adding a normalized-histogram word.
2012-09-26 08:39:11 -07:00
John Benediktsson
6072e58db3
math.statistics: remove probabilities word, not really needed.
2012-09-26 08:32:30 -07:00
John Benediktsson
ca69afec31
math.statistics: use "cumulative map" as base of all cumulative words.
2012-09-25 22:27:42 -07:00
John Benediktsson
a283782abe
math.statistics: some fixes to entropy, adding maximum-entropy and normalized-entropy.
2012-09-25 20:17:34 -07:00
Doug Coleman
d2317c71f5
math.statistics: add rank-values
2012-09-04 18:52:38 -07:00
John Benediktsson
bdf02bfd2b
math.statistics: faster and simpler entropy word.
2012-07-11 12:26:20 -07:00
John Benediktsson
0c5f895371
math.statistics: minor style cleanup.
2012-07-10 17:03:01 -07:00
John Benediktsson
07b0d52f55
math.statistics: adding winsorized-mean.
2012-05-08 08:48:15 -07:00
John Benediktsson
4c2d01c5ec
math.statistics: adding trim-mean and signal-to-noise.
2012-05-08 08:24:57 -07:00
Doug Coleman
0a5a2a74a7
math.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute-errors words.
2012-05-07 15:04:37 -07:00
Doug Coleman
9a4e66c8a6
math.statistics: Add power-mean and quadratic-mean.
2012-05-04 15:27:46 -07:00
John Benediktsson
7ab521f0ba
math.statistics: simpler (faster) version of rescale.
2012-05-04 14:51:38 -07:00