I try to understand a statement in this paper:
In particular, I am talking about the reparameterisation from (1c) to (3).
Given is a random variable $w_{qm}$, that is distributed according to:
(1c) $w_{qm} \sim \pi \mathcal{N}(w_{qm}|0,\sigma_w²)+(1-\pi)\delta_0(w_{qm})$
Specifically, with probability $\pi$, each $w_{qm}$ is zero, and with probability, it is drawn from a Gaussian.
Further, assume a Gaussian random variable $\tilde{w}_{qm}\sim \mathcal{N}(\tilde{w}_{qm}|0,\sigma_w²)$ and a Bernoulli random variable $s_{qm}\sim\pi^{s_{qm}}(1-\pi)^{1-s_{qm}}$. The new random variable $\tilde{w}_{qm}s_{qm}$ is assumed to follow (1c), resulting in
(3) $p(\tilde{w}_{qm},s_{qm})=\mathcal{N}(w_{qm}|0,\sigma_w²)[\pi^{s_{qm}}(1-\pi)^{1-s_{qm}}]$
I don't really see how the authors did it ((1c)→(3)). I am grateful for any help.
Thanx so much in advance!
Krn