Skip to content Skip to navigation

Connexions

You are here: Home » Content » What is the probability mass function?

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

What is the probability mass function?

Module by: Brandon Hodgson. E-mail the author

What is the probability mass function?

A probability mass function (pmf) gives the probability that a discrete random variable is exactly equal to some value (Wikipedia 2006). A probability mass function differs from a probability density function (Wikipedia 2006). This is because the probability density function is defined only for continuous random variables and does not result in a probability (Wikipedia 2006). Rather, its integral over a set of possible values of the random variable is a probability (Wikipedia 2006).

Suppose that X is a discrete random variable, taking values on some countable sample space  S ⊆ R (Wikipedia 2006). Then the probability mass function  fX(x)  for X is given by

Figure 1
Figure 1 (1a33ad0b39f4f89d6d3a80e7c24a2c5e)
(1)(Wikipedia 2006)

Note that this explicitly defines  fX(x)  for all real numbers, including all values in R that X could never take (Wikipedia 2006). It assigns such values a probability of zero. (Alternatively, think of  Pr(X = x)  as 0 when  x ∈ R\S.) (Wikipedia 2006).

The discontinuity of probability mass functions reflects the fact that the cumulative distribution functionof a discrete random variable is also discontinuous (Wikipedia 2006). Where it is differentiable (i.e. where x ∈ R\S) the derivative is zero, just as the probability mass function is zero at all such points (Wikipedia 2006).

Example: This example is extracted from (Wikipedia 2006). 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 random variable), and hence the probability mass function is

Figure 2
Figure 2 (72c1ce7228f6a90ee9e2f93f639d8c6b)

Probability mass functions may also be defined for any discrete random variable, including constant, binomial (including Bernoulli), negative binomial, Poisson, geometric and hypergeometric random variables (Wikipedia 2006)

References:

Wikipedia. "Probability mass function", Wikimedia Foundation Inc,  http://en.wikipedia.org/wiki/Probability_mass_function, Last accessed 14 February 2006.

Brandon Hodgson

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks