[Scipy-tickets] [SciPy] #583: negative binomial fails with 0 < r < 1

SciPy scipy-tickets@scipy....
Fri Aug 22 23:51:40 CDT 2008

#583: negative binomial fails with 0 < r < 1
 Reporter:  danhs                      |        Owner:  somebody
     Type:  defect                     |       Status:  new     
 Priority:  normal                     |    Milestone:          
Component:  scipy.stats                |      Version:  none    
 Severity:  normal                     |   Resolution:          
 Keywords:  nbinom, negative binomial  |  
Comment (by chris_fonnesbeck):

 I can confirm that the negative binomial does not work at all with the
 first parameter <1. There should not be any rounding going on at all when
 generating NB random variables.

 This should probably be removed if it is not fixed, as it will not produce
 valid negative binomial random numbers.

Ticket URL: <http://scipy.org/scipy/scipy/ticket/583#comment:2>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list