Sebastian Kosch
d2e7e5f928
Fixed some indexing errors in convolution code
2020-06-26 22:37:24 -07:00
Sebastian Kosch
dc1ec1bb86
It compiles!
2020-06-26 21:29:21 -07:00
Sebastian Kosch
bd528571af
Working on code reorganization, doesn't compile yet
2020-06-25 23:38:14 -07:00
Sebastian Kosch
214f3b9e58
Renaming, removed some Js.logs
2020-06-13 18:54:54 -07:00
Sebastian Kosch
8827650da3
Slightly cleaned up tree evaluation
2020-06-13 18:46:38 -07:00
Sebastian Kosch
9b10452156
Fix division by zero
2020-06-12 23:53:01 -07:00
Sebastian Kosch
f6c1918b12
Big refactor towards proper distTree, still slow and untested
2020-06-12 23:30:51 -07:00
Sebastian Kosch
fa1bf75acc
Comment out some stuff, fix annoying react key prop error
2020-06-09 21:43:35 -07:00
Sebastian Kosch
eb0ffdc6c3
First pass at nested multimodals, still needs lots of cleanup
2020-06-09 21:28:44 -07:00
Sebastian Kosch
6306fa9ca2
Clean up interpolateXs function
2020-06-03 09:24:55 -07:00
Sebastian Kosch
68efbf0396
Fix normal distribution from 90CI (stdev was double what it should be)
2020-06-02 15:24:09 -07:00
Sebastian Kosch
f3f1861ba6
Realistic x selection for uniform distribution rendering
2020-06-02 15:08:41 -07:00
Ozzie Gooen
0d4c71190d
Upgraded bucklescript
2020-04-30 13:30:52 +01:00
Ozzie Gooen
2ab2faf5e9
Only allow for finite samples from sampling library
2020-04-30 11:34:59 +01:00
Ozzie Gooen
5129ff20d5
Added normal from90PercentCI for distributions that are at 0 or below
2020-04-30 11:18:33 +01:00
Ozzie Gooen
f247f65478
Minor cleanup of mean and variance
2020-04-19 21:04:50 +01:00
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
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