Probability mass function
In probability theory and statistics, a probability mass function (pmf) is a function that gives the probability that a discrete random variable is exactly equal to some value. The probability mass function is often the primary means of defining a discrete probability distribution, and such functions exist for either scalar or multivariate random variables, given that the distribution is discrete.
A probability mass function differs from a probability density function (p.d.f.) in that the latter is associated with continuous rather than discrete random variables; the values of the latter are not probabilities as such: a p.d.f. must be integrated over an interval to yield a probability.
Contents |
[edit] Formal definition
Suppose that X: S → A (A
R) is a discrete random variable defined on a sample space S. Then the probability mass function fX: A → [0, 1] for X is defined as
Note that fX is defined for all real numbers, including those not in the image of X; indeed, fX(x) = 0 for all x
X(S). Essentially the same definition applies for a discrete multivariate random variable X: S → An, with scalar values being replaced by vector values.
The total probability for all X must equal 1
Since the image of X is countable, the probability mass function fX(x) is zero for all but a countable number of values of x. The discontinuity of probability mass functions is related to the fact that the cumulative distribution function of a discrete random variable is also discontinuous. Where it is differentiable, the derivative is zero, just as the probability mass function is zero at all such points.
[edit] Examples
Suppose that S is the sample space of all outcomes of a single toss of a fair coin, and X is the random variable defined on S assigning 0 to "tails" and 1 to "heads". Since the coin is fair, the probability mass function is
This is a special case of the binomial distribution.
An example of a multivariate discrete distribution, and of its pmf, is provided by the multinomial distribution.
[edit] See also
[edit] References
- Johnson, N.L., Kotz, S., Kemp A. (1993) Univariate Discrete Distributions (2nd Edition). Wiley. ISBN 0-471-54897-9 (p 36)
|
|||||||||||||


