Assume a random variable $X$ for a coin toss experiment. The sample space (i.e. possible outcomes) is in this case $\Omega = \{ \text{heads}, \text{tails}\}$.
The randon variable $X$ is a function that maps events (a particular outcome) $\omega$, which in this case is not measurable, to a measurable space, like so:
$X(\omega )={\begin{cases}1,&{\text{if}}\ \ \omega ={\text{heads}},\\0,&{\text{if}}\ \ \omega ={\text{tails}}.\end{cases}} $
If I want to talk about the probability of $X$ taking certain value, I know I can write as follows (please correct me if I'm wrong, this is relatively new to me). For example, lets talk about the probability of tossing a head $\{\omega :X(\omega )=1\}$:
- $P(X(\text{heads}))$, edit after comments: this one is also wrong
- $P(X=1)$
- $P(\text{heads})$, although this no longer talks about the random variable.
But, is it correct to write any of the following?:
- $P(X=\text{heads})$
- $P(x=\text{heads})$, where small $x$ is a particular realization of $X$.
Edit 2017.05.25
I am looking for a more convenient notation that enables the reader to immediately see we are talking about "heads", as "1" by itself does not carry this meaning.
\text{}
$\endgroup$ – andresgongora May 25 '17 at 11:05