Numerical approximation of multiple integral
I want to numerical integrate:
∫A1−∞∫A2−x1−∞p(x1)p(x2)dx1dx2, where p(xi) is a random variable that has a normal distribution with mean μi and standard deviation σi.
I faced with several problems:
- I can't integrate even this simply integral:
import scipy.stats as st
integrate(st.norm.pdf(x), x)
The result is error: TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
- How to integrate multiple integrals with different Ai.