Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import numpy as np
  2. from scipy.stats import norm
  3. from scipy.stats import multivariate_normal as mvn
  4.  
  5. mean = np.array([0, 0])
  6. covariance = np.array([[1, 0.4], [0.4, 1]])
  7. mvna = mvn(mean, covariance)
  8. print(mvna.cdf(np.array([-2, -4])))
  9.  
  10. multivariate_normal_frozen' object has no attribute 'cdf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement