Commit Graph

7 Commits

Author SHA1 Message Date
Ozzie Gooen
f247f65478 Minor cleanup of mean and variance 2020-04-19 21:04:50 +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
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
a99415e5bc Added native logScoring and related functionality to XYShape 2020-03-14 21:18:34 +00:00