6. Let $X$ and $Y$ be independent N(0,1) random variables. Define a new random variable, $Z$, by
$$Z = \begin{cases} X & , \text{ if } XY > 0 \\ -X & , \text{ if } XY < 0 \end{cases}.$$
Show that $Z$ has a normal distribution. (10%)
6. Let $X$ and $Y$ be independent N(0,1) random variables. Define a new random variable, $Z$, by
$$Z = \begin{cases} X & , \text{ if } XY > 0 \\ -X & , \text{ if } XY < 0 \end{cases}.$$
Show that $Z$ has a normal distribution. (10%)