Re: [Rd] Patch to add Beta binomial distribution. Mentor needed!

From: Ben Bolker <>
Date: Tue, 05 Jun 2012 08:25:20 +0000

Joan Maspons <j.maspons <at>> writes:

> 2012/6/1 Tim Triche, Jr. <tim.triche <at>>
> > It's in VGAM, remember? Not a bug.
> >
> > --
> > *A model is a lie that helps you see the truth.*
> > *
> > *
> > Howard Skipper<>
> >
> >
> Yes, it's a wish, not a bug. I would like a faster implementation in c and
> including quantile function. pbetabin calls qbetabin and sums from 0 to q
> using a loop. It can be avoided using genhypergeo function from hypergeo
> package [1] but it adds a dependency and for some parameters it doesn't
> converge.
> In the other hand I think that these functions should be implemented in a
> more neutral place to avoid that packages interested in this distribution
> have to depend on VGAM. I'm also interested in the Beta negative binomial
> distribution which I think it's not implemented (this will be the second
> round). And last but not least I want to learn.

  I really think your chances of getting this wish accepted are tiny. If you want to avoid additional dependencies, you have at least the *legal* right to take any piece of code you want from any open-source (BSD, GPL, ...) package and package it your own little package (provided it follows the rules of the original license) that includes only the stuff you need, without any other dependencies. It's polite to ask for permission and acknowledge the original authors ...

  Ben Bolker mailing list Received on Tue 05 Jun 2012 - 08:28:15 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Jun 2012 - 10:52:20 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive