# Math Help - A function of random variables

1. ## A function of random variables

Hi, I'm studying for an exam and I'm studying this problem:

Let $X_1, X_2,...,X_n$ be i.i.d. to $N( \mu , 1)$ with $\mu$ unknown.

And suppose that $Y_i = I(X_i<0) \ \ \ \ \forall i = 1,...,n$

The solution says that then $Y_i = Bernulli(p)$ where $p=Pr(X<0)= \Phi (- \mu )$ where $\Phi ( \dot )$ is the standard nomral cdf.

But I don't understand the last part when the distribution can be written as the standard nomral cdf.