Skip to content
Prev 29356 / 63424 Next

update on dnbinom with large "size"

On Thu, 3 Jul 2008, Ben Bolker wrote:

            
It is all vectorized, so not so easy.  But why is NA appropriate, when a 
Poisson approximation seems more appropriate?

The same issue affects [pqr]nbinom, of course.

The short-term advice is of course 'don't do that' but use a suitable 
approximation such as Poisson.  Maybe there are reasons to support values 
of size > 1e10, but I suspect only for completeness and maybe it is better 
to at least give a warning.