pythonでマンホイットニーのU検定

pythonでマンホイットニーのU検定する方法。 scipyを使う。 from scipy import stats stats.mannwhitneyu(x, y, use_continuity=True, alternative=None) alternativeは'less','greater','two-sided'。Noneの時は'two-sided' p値は返り値のpvalueで取れる。 テストコード import numpy as np import matplotlib.pyplot as …