Created
January 13, 2021 11:41
-
-
Save ShuaiGuo16/f224a70960a4dd59bac70db0b87ad607 to your computer and use it in GitHub Desktop.
Turn uniform to standard normal
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
# Transforming to standard normal distribution | |
std_norm_samples = np.zeros_like(uni_samples) | |
for i in range(2): | |
std_norm_samples[:,i] = norm(loc=0, scale=1).ppf(uni_samples[:,i]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment