[Scipy-tickets] [SciPy] #1779: distributions.rbinom.pmf is broken, logpmf seems to work.

SciPy Trac scipy-tickets@scipy....
Sun Dec 2 07:51:03 CST 2012


#1779: distributions.rbinom.pmf is broken, logpmf seems to work.
-------------------------+--------------------------------------------------
 Reporter:  bioinformed  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.12.0  
Component:  scipy.stats  |     Version:  0.11.0  
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by rgommers):

  * priority:  high => normal
  * milestone:  Unscheduled => 0.12.0


Comment:

 The linked example only uses logpmf, but it indeed looks like nbinom._pmf
 could be implemented better as {{{exp(_logpmf)}}}.

 PR: https://github.com/scipy/scipy/pull/371

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


More information about the Scipy-tickets mailing list