Probability mass function: Difference between revisions

Content deleted Content added
Mathematical description: but if this was mathematically okay then we would just define it like that-- it would be much simpler.
Line 10:
 
==Examples==
Suppose that ''X'' is the outcome of a single coin toss, assigning 0 to tails and 1 to heads. The probability that ''X'' = ''x'' is just 0.5 on the state space {0, 1} (this is a [[Bernoulli distribution|Bernoulli random variable]]), and hence the probability mass function is
:<math>f_X(x) = \begin{cases}\frac{1}{2}, &x \in \{0, 1\},\\0, &x \in \mathbb{R}\backslash\{0, 1\}.\end{cases}</math>