Content deleted Content added
No edit summary |
MisterSheik (talk | contribs) |
||
Line 10:
==Examples==
▲A simple example of a probability mass function is the following. 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>
|