Commit Graph

285 Commits

Author SHA1 Message Date
Ozzie Gooen
0fd5e2dcdb
Merge pull request #30 from NunoSempere/meanAndVariance
Mean and variance
2020-04-19 18:33:13 +01:00
Ozzie Gooen
747e3a6706 Fixed bug that would not truncate correctly 2020-04-19 17:44:53 +01:00
a89960a1e7 Formatting 2020-04-18 23:27:24 +02:00
2f45f92552 Added mean and variance functions, and tests for those.
- A getMean and getVariance in each module of src/distPlus/distribution/Distributions.re
    - They get the exact answer for the functions in Distributions.re, according to the approximation used.
    - There is now an XYShape.Analysis.integrateContinuousShape function.
- Tests in the __tests__/Distributions__Test.re function.
    - Calculation of the mean and variance for the normal and lognnormal distributions, at the end.
- I also added some reduce array functions to the E.A. module.
2020-04-18 23:20:59 +02:00
Ozzie Gooen
b14f1244c2 Minor fix, though this could hurt later 2020-04-18 18:54:30 +01:00
Ozzie Gooen
2e5f285a9e Allows for simple arrays representing samples 2020-04-11 14:22:13 +01:00
Roman Galochkin
d5e8cd307f Adds a Home page with models table 2020-04-10 12:03:17 +03:00
Ozzie Gooen
58c6c165f3 Minor fixes 2020-04-05 12:14:07 +01:00
Ozzie Gooen
82595ae167 Cleanup to return more from DistPlusRenderer 2020-04-05 12:00:25 +01:00
Ozzie Gooen
990f01b8d6 Reorganization of files 2020-04-05 07:36:14 +01:00
Ozzie Gooen
e84cfd4c92 Adding render options and params 2020-04-04 21:37:58 +01:00
Ozzie Gooen
db78bc07f3 Fixes of multimodals 2020-04-03 21:53:23 +01:00
Ozzie Gooen
7ab81249bf Kde with auto kernel width 2020-04-03 20:41:37 +01:00
Ozzie Gooen
145452d50f Auto-kernel-width 2020-04-03 14:32:14 +01:00
Roman Galochkin
1fe9524937 Moves code into Science module 2020-04-03 14:06:05 +03:00
Ozzie Gooen
88358470e3 Fixed issue with mixed distributions 2020-04-03 00:20:58 +01:00
Ozzie Gooen
0ef6d106ea Fixed issues with primary models 2020-04-01 19:49:59 +01:00
Ozzie Gooen
e80bd4108e Allow floats on top-level 2020-04-01 18:47:59 +01:00
Ozzie Gooen
bc39ce9c67 Very simple functionality with multimodals 2020-04-01 14:52:13 +01:00
Ozzie Gooen
34a2f28ff8 Minor changes 2020-03-31 22:12:11 +01:00
Ozzie Gooen
53675232e7 Minor touch-ups 2020-03-28 22:51:53 +00:00
Ozzie Gooen
54eab1f204 Change order of continuous distribution make command 2020-03-28 21:46:17 +00:00
Ozzie Gooen
786ee1fded Minor changes of optionals in distributions 2020-03-28 21:29:02 +00:00
Ozzie Gooen
29d8e40693 More XYShape cleanup 2020-03-28 14:17:47 +00:00
Ozzie Gooen
91734fdd32 Attempt to change name of jstat for netlify building 2020-03-26 23:31:17 +00:00
Ozzie Gooen
6f8d06a6d6 First refactor to XYShape 2020-03-26 23:18:19 +00:00
Ozzie Gooen
e17e2aca2e Added additional distributions 2020-03-26 16:01:52 +00:00
Ozzie Gooen
f7e3643a1e Minor fixes 2020-03-25 15:12:39 +00:00
Ozzie Gooen
dceea9c6b5 Minor refactor 2020-03-24 17:48:46 +00:00
Ozzie Gooen
64eef2b169 Added DistBuilder3 2020-03-24 00:04:48 +00:00
Ozzie Gooen
f662ccd6c6 First full-through with symbolic parsing 2020-03-23 21:31:06 +00:00
Ozzie Gooen
0e0f0221e9 Dist-builder-2-adjustments 2020-03-21 10:49:26 +00:00
Ozzie Gooen
8d1ab10e06 Minor cleanup 2020-03-20 12:08:26 +00:00
Ozzie Gooen
831d1345c5 Minor enhancements 2020-03-20 11:07:27 +00:00
Ozzie Gooen
01da434fc3 Sped up integrateWithTriangles a lot 2020-03-18 22:52:40 +00:00
Ozzie Gooen
37c1814a60 Very minor notes & cleanup 2020-03-18 21:46:43 +00:00
Ozzie Gooen
49b78ae814 Added smarter truncator 2020-03-18 20:50:01 +00:00
Ozzie Gooen
d0825581af Fix to make sure only top discrete items are truncated 2020-03-18 19:13:12 +00:00
Ozzie Gooen
2c83c68d95 Performance gains and added back mixtures 2020-03-17 18:38:16 +00:00
Ozzie Gooen
fff473b27c Small changes to hopefully improve CDF.re 2020-03-16 20:20:39 +00:00
Ozzie Gooen
c682fff280 Minor changes, but seemed to break percentiles 2020-03-16 16:59:58 +00:00
Ozzie Gooen
80d040e138 Messing with possible distribution split 2020-03-16 10:41:44 +00:00
Ozzie Gooen
cebca141bd Added simple truncate logic 2020-03-15 00:30:18 +00:00
Ozzie Gooen
b4b9f2cc9f Start of refactor to directly tie to pdfast 2020-03-15 00:08:13 +00:00
Ozzie Gooen
88d54d4de9 Started to improve GuesstimatorLibrary, had issues 2020-03-14 22:05:34 +00:00
Ozzie Gooen
a99415e5bc Added native logScoring and related functionality to XYShape 2020-03-14 21:18:34 +00:00
Ozzie Gooen
f887af22ea Add simple percentiles to distribution shower 2020-03-14 18:33:39 +00:00
Ozzie Gooen
c9161d230e Added Dist Domain Y resetting 2020-03-14 17:44:02 +00:00
Roman Galochkin
28fbbc2f20 Weird 2020-03-04 16:44:09 +03:00
Roman Galochkin
825f5e19b2 X-log 2020-03-04 15:06:27 +03:00