0

Is the object $u$ which takes a value of 1 with probability $1/2$ and a value of $0$ with probability $1/2$ a random variable?

If not, what is the proper mathematical term for an object like this? Furthermore, what would be the random variable (+ probability distribution?) equivalent?

bonifaz
  • 875
  • 1
  • 6
  • 17

1 Answers1

2

What you are describing is a Bernoulli distribution with parameter $p = 0.5$

$$ f(x) = \begin{cases} p & \text{if }x=1, \\[6pt] 1-p & \text {if }x=0.\end{cases} $$

So in this case $u$ is a random variable with sample space $u: \Omega \rightarrow \{0, 1\}$, that follows a Bernoulli distribution.

Tim
  • 108,699
  • 20
  • 212
  • 390
  • Is there any connection between this distribution and a random variable? – bonifaz Sep 22 '15 at 10:41
  • 2
    In your case $u$ is a random variable that follows Bernoulli distribution. If those terms are not clear refer to some statistics handbook for more details. – Tim Sep 22 '15 at 10:43