Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import numpy as np
- >>> from scipy import stats
- >>> a=np.random.random_integers(1,9,4)
- >>> a
- array([3, 7, 4, 3])
- >>> b=np.random.random_integers(1,9,5)
- >>> b
- array([2, 2, 3, 7, 9])
- >>> stats.ks_2samp(a,b)
- (0.40000000000000002, 0.75428850089034016)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement