Topics: Probability - Random Variable
(definition)
Let be an event.
We define the indicator random variable of , denoted as:
…where is the indicator function for :
Density Function and Expected Value
The density function of an indicator random variable is always:
f_X(x) =
\begin{cases*}
\mathbb{P}(A), \text{ if } x = 1 \\
\mathbb{P}(A^c), \text{ if } x = 0 \\
\end{cases*}
Which tells us that its expected value is: