Created
March 23, 2018 21:59
-
-
Save tugloo1/0d877a636380485d20a2e7136917ee0c to your computer and use it in GitHub Desktop.
stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if obs_mean < null_mean: | |
pval = 2 * (null_vals < obs_mean).mean() | |
else: | |
pval = 2 * (null_vals > obs_mean).mean() | |
pval |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment