Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import scipy.stats
  2.  
  3. x = [1.] * 163 + [2.] * 81 + [3.] * 40 + [4.] * 6 + [5.] * 2
  4. y = [1.] * 1007 + [2.] * 362 + [3.] * 99 + [4.] * 27 + [5.] * 13 # real-world example
  5.  
  6. print scipy.stats.mannwhitneyu(x,y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement