Hello,<br>I need functions for Beta-Binomial and Beta-Negative Binomial. I asked in the forums about compound probability distributions [1] but this is not implemented in a generalized way.<br><br>I have implemented the functions for the particular cases. These functions depends on hypergeo package so I think it don't fit R-base. At the moment there are functions for CDF and PMF but it lacks the random number generator and the quantile functions.<br>
<br> Are you interested in add these functions to distr package? If yes I can send you the code and I can try to work in the remaining funtions.<br><br>[1] <a href="https://r-forge.r-project.org/forum/forum.php?thread_id=4476&forum_id=256&group_id=87">https://r-forge.r-project.org/forum/forum.php?thread_id=4476&forum_id=256&group_id=87</a><br>
<br clear="all">Yours,<br>-- <br>Joan Maspons<br>CREAF (Centre de Recerca Ecològica i Aplicacions Forestals)<br>Universitat Autònoma de Barcelona, 08193 Bellaterra (Barcelona), Catalonia<br>Tel +34 93 581 2915 <a href="mailto:j.maspons@creaf.uab.cat" target="_blank">j.maspons@creaf.uab.cat</a><br>
<a href="http://www.creaf.uab.cat" target="_blank">http://www.creaf.uab.cat</a><br>