I have a function which I know to be a multivariate distribution in (x,y), and mathematica is having numerical stability issues when I form the marginal distributions.
For example, marginalizing along y yields the following: 0.e^(154.88-0.5x^2)
Since I know the result must be a distribution, I would like to extract just the e^(-.5x^2) and do a renormalization myself. Alternatively, it would be even nicer if mathematica would let me take a multivariate function and somehow specify it as a probability distribution.
Anyway, does anyone know how to implement either of the above two solutions programatically?