B2 - common discrete random variables
- a discrete RV is associated with a discrete probability distribution
- let
be a discrete RV, then the probability mass function (PMF) is defined as:
where,
- the cumulative distribution function (CDF) of
is defined as:
- the tail of
is defined as:
| use case | distribution | PMF |
|---|---|---|
| one trial, two outcomes | bernoulli | |
| fixed number of trials | binomial | |
| until first success | geometric | |
| counting events over time/space | poisson |
bernoulli ( )
-
used when there are only two possible outcomes
-
considering an experiment with a single coin flip, where the probability of heads is
, hence tails is -
let RV
represent the outcome, ie. coin value, so is heads and otherwise
is said to be a RV drawn from the bernoulli ( ) distribution
- the PMF:
binomial
-
used when a two-outcome experiment is repeated a fixed number of times, and the number of successes is being counted
-
now considering that the coin flip is done
times (independently) -
let
represent the number of heads, ie:
where,
is said to be a RV drawn from the binomial ( ) distribution:
geometric ( )
-
used when trials are repeated until the first success
-
again, considering the coin flip, but now done until a head is obtained
-
these are independent trials, each distributed
-
let RV
represent the number of flips until success (heads) -
the PMF is defined as:
where,
is said to be a RV drawn from the geometric ( ) distribution:
poisson ( )
-
used for the number of events in a fixed interval of time, space, or area, for events happening independently at an average rate
-
eg: number of calls a helpline receives in an hour
-
the
distribution is defined via its PMF, and arises naturally when looking at a mixture of a very large number of independent sources, each with a very small individual property -
if
where,
- note that the plot for the poisson distribution, like that for the binomial, has a bell-like shape, but with an infinite range