FIX: scipy.stats.mstats.kurtosis() throwing ValueError #391

Closed
wants to merge 2 commits into
from
Commits on Dec 26, 2012
  1. Fixed a bug in scipy.stats.mstats.kurtosis() that caused a ValueError…

    trueprice authored and trueprice committed Dec 24, 2012
    … to be
    
    thrown when bias=False. In the same context, fixed a TypeError that was being
    thrown for one-dimensional input where all elements are masked.
    
    Appropriate tests have been added to the testing suite for the function.
    
    Fixed a bug in scipy.stats.mstats.kurtosis() that caused a ValueError to be
    thrown when bias=False. In the same context, fixed a TypeError that was being
    thrown for one-dimensional input where all elements are masked.
    
    Appropriate tests have been added to the testing suite for the function.
    
    Relates to ticket: http://projects.scipy.org/scipy/ticket/1798
  2. Added RuntimeWarning suppression in scipy.stats.kurtosis for one-dime…

    trueprice committed Dec 26, 2012
    …nsional
    
    input having a second moment equal to zero (i.e. m2==0).