Commit Graph

197 Commits

Author SHA1 Message Date
Sam Nolan
c7e601e15b Remove NaN from pointwise operations 2022-04-23 14:09:06 -04:00
Sam Nolan
98bf4f81c7 Rename assertOk to toExn 2022-04-23 10:30:03 -04:00
Sam Nolan
9fb7148290 Refactor mapY and mapYResult in mixed to remove duplication 2022-04-23 10:17:07 -04:00
Sam Nolan
ad593e659b Move error types to types modules 2022-04-23 09:56:47 -04:00
Sam Nolan
79af95ed78 Remove unneeded prefix to error 2022-04-23 09:47:48 -04:00
Sam Nolan
9c92d93ca4 Fix bad validation math 2022-04-22 17:21:45 -04:00
Sam Nolan
508f673873 Change NaN operations to results
- Also deleting old GenericDist_Types
- Also removing some string errors
2022-04-22 16:27:17 -04:00
Sam Nolan
2845bd3e39 Use a more conservative convolution policy 2022-04-22 12:43:18 -04:00
Sam Nolan
cfb969f2b3 Remove rescript warning 102 2022-04-21 18:42:15 -04:00
Sam Nolan
6eddb5a4af Remove warning 20 2022-04-21 18:19:38 -04:00
Sam Nolan
e1bf47b6b3 Remove old parser and warning 27 2022-04-21 18:09:06 -04:00
Sam Nolan
10d9d8bc37 Fix warning 41 2022-04-21 17:30:39 -04:00
Ozzie Gooen
e83d5b111d
Merge pull request #323 from quantified-uncertainty/fix-reducer-warnings
Fix rescript warnings
2022-04-20 14:17:28 -04:00
Sam Nolan
c2b93831e3 Fix rescript warnings 2022-04-20 13:51:27 -04:00
Quinn Dougherty
806ba86446 fixed lint 2022-04-20 12:13:31 -04:00
Quinn
c101cdac18
update signature for result 2022-04-20 11:54:17 -04:00
Quinn
cbd93b7e79
back out of double Ok 2022-04-20 11:50:08 -04:00
Quinn
4631c183d9
wrap #Cauchy in Ok 2022-04-20 11:49:41 -04:00
Quinn
5875880c06
nested Ok because cauchy requires no input validation 2022-04-20 11:44:33 -04:00
Quinn
0540fef63a
Update ReducerInterface_GenericDistribution.res 2022-04-20 11:39:00 -04:00
Quinn
017cbe7274
hotfix: cauchy in binary dist constructors 2022-04-20 11:22:10 -04:00
Ozzie Gooen
fe2be53d04
Merge pull request #295 from quantified-uncertainty/add-isNormalized
Added isNormalized function, for testing
2022-04-15 16:30:56 -04:00
Ozzie Gooen
9febf3f182 Changed isNormalize in response to CR 2022-04-15 16:28:51 -04:00
Ozzie Gooen
2ed7d03005 Added formatting 2022-04-15 14:10:17 -04:00
Ozzie Gooen
2df6a7f537 Removed Js.log 2022-04-15 13:59:25 -04:00
Ozzie Gooen
73b950078d Added isNormalized function, for testing 2022-04-15 13:58:00 -04:00
8743b235d6 fix: typo 2022-04-15 12:54:04 -04:00
1677d63375 fix: std of lognormal symbolic division 2022-04-14 21:54:06 -04:00
6d82adca25 Merge branch 'develop' into audit-2022-04-14-SymbolicDist.res 2022-04-14 16:50:37 -04:00
bd3f2c99d1 tweak: add explanation for magic number 2022-04-14 16:25:15 -04:00
e5655dc2d1 fix: formatting 2022-04-14 16:20:23 -04:00
69148bb350 fix: Rescript bugs 2022-04-14 16:17:59 -04:00
Ozzie Gooen
8854eed91e
Merge pull request #242 from quantified-uncertainty/analytic-normal
Analytic normal
2022-04-14 16:11:36 -04:00
ec9c67f090 feat: Audit SymbolicDist.res
- Fix buggy lognormal multiplication code
- Add precision to 90% confidence intervals code
- Simplified lognormal code
- Added sources for many of the manipulations
2022-04-14 16:03:54 -04:00
Quinn Dougherty
b0ff2c19f5 yarn format 2022-04-13 19:18:08 -04:00
Quinn Dougherty
165427f137 refactored to a higher level of abstraction 2022-04-13 10:30:23 -04:00
Quinn Dougherty
e9e6cab099 silenced warning about toString not having switch case for ArgumentError 2022-04-13 10:26:10 -04:00
Sam Nolan
948a8dd651 Add analytic solutions for normal and lognormal 2022-04-13 15:11:14 +10:00
Quinn Dougherty
b6e423a6e3 fixed bug after rebase: hope it doesn't cause problems 2022-04-13 01:08:51 -04:00
Quinn Dougherty
de81928ea9 Ran yarn format 2022-04-13 01:05:09 -04:00
Quinn Dougherty
af0577f85e test count: 386 2022-04-13 01:05:09 -04:00
Quinn Dougherty
59fcd6a26c intermediate commit to checkout something else 2022-04-13 01:05:08 -04:00
Quinn Dougherty
dd53c7554b (rebase): begin setup for big redo 2022-04-13 01:05:08 -04:00
Quinn Dougherty
9d857bf79b (rebase): documented ratio of lognormals 2022-04-13 01:05:08 -04:00
Quinn Dougherty
a64cd75ead inv and cdf 2022-04-13 01:05:08 -04:00
Quinn Dougherty
6a4d615d3d (rebase): (rebase): (rebase): **refactor**: rm duplicated genericDist and error declarations 2022-04-13 01:04:53 -04:00
Sam Nolan
348b1c9ac6 Add normal distribution analytical simplifications 2022-04-13 14:36:30 +10:00
Sam Nolan
117c08bfa9 Fix unweighted average of distributions 2022-04-13 12:03:04 +10:00
Sam Nolan
38135f0c81 Merge branch 'develop' into mix-distributions 2022-04-13 11:22:43 +10:00
Quinn Dougherty
b17f638483 EBindings -> T.EBindings 2022-04-12 20:48:53 -04:00