I am looking for a function to compute the CDF for a multivariate normal distribution. I have found that scipy.stats.multivariate_normal
have only a method to compute the PDF (for a sample x
) but not the CDF multivariate_normal.pdf(x, mean=mean, cov=cov)
I am looking for the same thing but to compute the cdf, something like: multivariate_normal.cdf(x, mean=mean, cov=cov)
, but unfortunately multivariate_normal
doesn't have a cdf method.
The only thing that I found is this: Multivariate Normal CDF in Python using scipy
but the presented method scipy.stats.mvn.mvnun(lower, upper, means, covar)
doesn't take a sample x
as a parameter, so I don't really see how to use it to have something similar to what I said above.