Created
May 30, 2018 05:58
-
-
Save shandou/177a1ef4499554eaedd0185cc7694626 to your computer and use it in GitHub Desktop.
pearson_r_confidence_interval
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
import scipy.stats | |
import numpy as np | |
alpha = 0.05 / 2 # Two-tail test | |
z_critical = scipy.stats.norm.ppf(1 - alpha) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment