[Scipy-tickets] [SciPy] #1864: distribution.nct return nan for negative non-centrality

SciPy Trac scipy-tickets@scipy....
Mon Mar 11 14:16:08 CDT 2013


#1864: distribution.nct return nan for negative non-centrality
-------------------------+--------------------------------------------------
 Reporter:  josefpktd    |       Owner:  rgommers   
     Type:  defect       |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  scipy.stats  |     Version:  0.11.0     
 Keywords:               |  
-------------------------+--------------------------------------------------
 I guess a bug, because _argcheck is not properly defined

 {{{
 >>> stats.nct.cdf(-0.5, 10, -0.5)
 nan
 >>> stats.nct._cdf(-0.5, 10, -0.5)
 0.50490799249967822
 }}}
 same value as in R

 (needed for power of t-test)

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


More information about the Scipy-tickets mailing list