Definition: Quantities of interest that are a function of a random outcome are called random variables.
Definition: is called the cumulative distribution function of the random variable . is a nondecreasing function of
Definition: A random variable that takes on a countable number of possible values is said to be discrete. is the probability mass function of .
We can say where assumes one of
Definition: is the expectation of the discrete random variable
We can also calculate the expected value of a function over a random variable,
Some random variables are uncountable, say the time that a train arrives at a specified stop.
Definition: is a continuous random variable if there exists a nonnegative function defined for all such that for any set of real numbers, . We call the probability density function of
We get
Any question about can be answered in terms of
The expectation of a continuous random variable is , and likewise the expectation over a function of is
While expectation is a useful measure of a random variable’s statistical properties, we’d also like to have some measure of its spread.
Definition: If is a random variable with mean , then the variance of is
We can derive that
Definition: A Bernoulli random variable has PMF , for some
Definition: A binomial random variable represents the number of successes in independent trials with success probability . We get for .
A Bernoulli random variable is a binomial random variable with
We can derive that where is a binomial random variable
We can also derive
Definition: A Poisson random variable has for
For a large and smaller such that is of “moderate” size, the Poisson distribution approximates the binomial distribution
Interestingly,
It turns out the Poisson distribution is a good approximation, even when the trials are weakly dependent: Consider events, with equal to the probability that event occurs. If all are “small” and the trials are at most “weakly dependent,” then the number of these events that occur has a Poisson distribution with mean .
Other common distributions include,
- The geometric random variable where is the number of trials required until a success occurs. ,
- The negative binomial random variable where is the number of trials required to accumulate successes. and
- The hypergeometric random variable where can represent the number of white balls selected from an urn with balls (of which are white). and where
- The Zeta distribution,