Product of two Gaussian PDFs is a Gaussian PDF, but Product of two Gaussian Variables is not Gaussian

139.5k Views Asked by At

The Product of Two Gaussian Random Variables is not Gaussian distributed:

But the product of two Gaussian PDFs is a Gaussian PDF:

What is going on here?

What am I doing when I take the product of two pdfs vs. when I take the product of two variables from the pdfs?

When (what physical situation) is described by one, and what by the other? (I think a few real world examples would clear things up for me)

3

There are 3 best solutions below

2
On BEST ANSWER

The product of the PDFs of two random variables $X$ and $Y$ will give the joint distribution of the vector-valued random variable $(X,Y)$ in the case that $X$ and $Y$ are independent. Therefore, if $X$ and $Y$ are normally distributed independent random variables, the product of their PDFs is bivariate normal with zero correlation.

On the other hand, even in the case that $X$ and $Y$ are IID standard normal random variables, their product is not itself normal, as the links you provide show. The product of $X$ and $Y$ is a scalar-valued random variable, not a vector-valued one as in the above case.

3
On

Intuition 1 (Multiplying random variables): Suppose kids save money Y for X days before giving up. X is random iid normally distributed variable from 0 days to 10 days. Average kid saves for 5 days. Average kid saves 0.30 a day (mostly between .10 and .50). What's the distribution?

Now are the savings of a kid normally distributed? We know the mean, median, mode of a normal distribution are same as it is symmetric with a standard deviation.

The average savings are clearly $0.30 * 5 = 1.50. The max savings are 5 and the min is 0. The median of 5 and 0 is 2.50. The mean and median don't match so the product is not normally distributed. The distribution is shifted to the left from the 2.50 mark. The probability that a kid saved 1 is higher than the probability that he saved 4.

Intuition 2 (Multiplying Gaussian PDFs): Now you're multiplying not the numbers but the functions together. The multiplying is just a bunch of algebra and the resulting function also fits the form factor of a Gaussian. The proof for that is given in your link. It means if you have populations of kids there will be a Gaussian representing their savings with some average savings from each sub population. Basically, a mixture of gaussians is a gaussian. See https://en.m.wikipedia.org/wiki/Mixture_model for how various distributions mix. It’s useful for building machine learning models. Maybe given distributions of daily savings and total savings you want to establish the distribution of how long the kids tend to save.

0
On

I am surprised @heropup's answer is accepted, because the original question is about the product of two Gaussian PDFs resulting in a new, scalar PDF (instead of a vector joint PDF like @heropup supposes). Although we have two Gaussian PDFs of different variables, i.e.

$$ f_1(x) \sim N(\mu_1,\sigma_1^2)\\ f_2(y) \sim N(\mu_2,\sigma_2^2), $$

they are multiplied by assuming some dummy variable $t$:

$$ f = f_1(t) f_2(t) \sim N(\hat{\mu},\hat{\sigma}^2) $$

which is a scalar PDF and not a joint PDF! An example is given below, with $\mu_1=5$, $\mu_2=10$ and $\sigma_1=\sigma_2=1$. The resulting $f$ is normalized so that it is a valid PDF. Due to the exponential nature of a Gaussian PDF, it peaks where both $f_1$ and $f_2$ are large.

enter image description here

The resulting $f$ should not be interpreted as the PDF of $Z=X\cdot Y$! This is obvious as the peak should not be near $7.5$ but rather near $\mu_1 \mu_2=50$ (see plot below).

enter image description here

Note that $f$ in this plot is generally not Gaussian.