stats f_oneway needs floats #3376

josef-pkt opened this Issue Feb 23, 2014 · 1 comment

3 participants

SciPy member

f_oneway doesn't work correctly with integer arrays.
see numpy/numpy#3283

I checked, I also get the same wrong result with scipy 0.13.3


@josef-pkt : The problem isn't exactly with integer arrays. The same works if dtype of the input arrays is changed from np.uint16 to np.uint32, probably because the former causes some values in the code to overflow outside the range 2**16 - 1.

@rgommers rgommers added this to the 0.15.0 milestone Mar 16, 2014
@rgommers rgommers closed this in 01e88d8 Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment