Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
John Benediktsson
0f9836e73c
math.statistics: fix docs for harmonic-mean.
...
(needs to match prettyprint)
2017-01-20 08:20:41 -08:00
Björn Lindqvist
0701902122
math.statistics: fix calculation of the harmonic mean
2017-01-15 21:27:55 +01:00
Alexander Iljin
e9f6a56c53
math.statistics-docs: make cum-product example less ambiguous
...
In the previous version of the example it was not clear whether the result
always starts with 1 (as is the case with cum-product1) or with the first
item of the input sequence.
2017-01-02 09:33:15 -08: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
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07: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
43fb73fae6
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
2015-08-06 17:05:12 -05:00
Doug Coleman
0babf4558f
math.statistics: fix docs
2015-07-27 12:41:02 -07:00
Doug Coleman
270155bae4
math.statistics: clean up some weird stack effects
2015-07-27 09:54:07 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -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
John Benediktsson
dfa763434e
Fix tests broken by word hashcode change.
2015-06-09 20:37:55 -07:00
John Benediktsson
ac23acc2c9
Fix some minor errors in help-lint.
2015-01-30 17:04:40 -08:00
Benjamin Pollack
5e01164a72
Add more documentation for math.statistics
2015-01-30 17:04:40 -08: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
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -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
8c19602ae9
assocs: Add of and ?of. Change all the things at once! Fixes #701 .
2013-03-23 14:59:07 -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
Doug Coleman
18b7960e09
math.statistics: Add docs for collect-by and collect-index-by.
2013-02-05 09:35:51 -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