better / convoys

Implementation of statistical models to analyze time lagged conversions
https://better.engineering/convoys/
MIT License
258 stars 42 forks source link

Refactor Exponential, Weibull and Gamma to be special cases of Generalized Gamma #44

Closed erikbern closed 6 years ago

erikbern commented 6 years ago

https://en.wikipedia.org/wiki/Generalized_gamma_distribution

Going to add a few methods to the Regression class (ppf and rvs) and this lets me do that on just one class rather than 3.

Also minor beautification+Hound

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.4%) to 94.22% when pulling 3ac88890c9454f262956d56c3fb2c80388fbbbfb on generalized-gamma into 4279860265d69f9db70e86c249877735d306ba49 on master.