Skip to content

Instantly share code, notes, and snippets.

@jonadsimon
Created June 12, 2018 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonadsimon/abc5586b5b5a1162964487a835f89c85 to your computer and use it in GitHub Desktop.
Save jonadsimon/abc5586b5b5a1162964487a835f89c85 to your computer and use it in GitHub Desktop.
Perform Mann-Whitney U Test in Python
from scipy.stats import mannwhitneyu
statistic, pvalue = mannwhitneyu(agent_durations, population_durations, use_continuity=True, alternative='two-sided')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment