Probability mass function: Difference between revisions

Content deleted Content added
m Reverted edits by 65.93.21.242 to last version by LimoWreck
Line 12:
 
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}0.5\frac{1}{2}, &x \in \{0, 1\},\\0, &x \in \mathbb{R}\backslash\{0, 1\}.\end{cases}</math>
 
Probability mass functions may also be defined for any discrete random variable, including [[constant random variable|constant]], [[Binomial distribution|binomial]] (including [[Bernoulli distribution|Bernoulli]]), [[negative binomial distribution|negative binomial]], [[Poisson distribution|Poisson]], [[geometric distribution|geometric]] and [[hypergeometric distribution|hypergeometric]] random variables.