foretold-app / widedomain

An experiment to create mathematical models with clean interfaces
MIT License
8 stars 2 forks source link

Logistic Distribution Support #29

Open OAGr opened 4 years ago

OAGr commented 4 years ago

It would be great to be able to handle Logistic distributions. Metaculus uses logistic distributions; this may allow (in the future) for users to use WideDomain to make distributions, then export them to Metaculus. (they would need to be fitted to logistic distributions as well, but one thing at a time).

Scipy has the code for this, we'd need to redo it in javascript or reasonML https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.random.logistic.html https://github.com/scipy/scipy/blob/v1.4.1/scipy/stats/_continuous_distns.py

NunoSempere commented 4 years ago

I'll take this.

OAGr commented 4 years ago

Sounds great, let me know if you have any questions here.