Skip to content

Instantly share code, notes, and snippets.

@trevismd
Last active July 5, 2021 08:12
Show Gist options
  • Save trevismd/a0191e613c70d7ce8b28b567db7c6ce9 to your computer and use it in GitHub Desktop.
Save trevismd/a0191e613c70d7ce8b28b567db7c6ce9 to your computer and use it in GitHub Desktop.
"Manual" tests
# pvalues with scipy:
stat_results = [
mannwhitneyu(robots, flight, alternative="two-sided"),
mannwhitneyu(flight, sound, alternative="two-sided"),
mannwhitneyu(robots, sound, alternative="two-sided")
]
pvalues = [result.pvalue for result in stat_results]
print("Robots vs Flight: \n", stat_results[0], "\n")
print("Flight vs Sound: \n", stat_results[1], "\n")
print("robots vs Sound: \n", stat_results[2], "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment