yaesoubilab / StatisticalDistributionsLib

0 stars 0 forks source link

Distributions to implement #2

Closed rezayas closed 7 years ago

rezayas commented 7 years ago

Continuous distributions

Discrete distributions

NoLongerBreathedIn commented 7 years ago

I can't do Weibull mean/stdev, because those are (a) complicated, and (b) require inverse gamma functions.

NoLongerBreathedIn commented 7 years ago

I can't do Dirichlet; that's a multidimensional distribution, and in the K=2 case it's just beta.

NoLongerBreathedIn commented 7 years ago

Multinomial is out too.

rezayas commented 7 years ago

Let's find a way to also implement multi-dimensional distributions. We need them!

NoLongerBreathedIn commented 7 years ago

That's done. Ideally, we could do Dirichlet-multinomial as well, but that's a bit tricky on the pdf front. On the simple generation front, it's a lot easier; just pick a random from Dirichlet and feed to multinomial.