Common used random variables
In this post, I am going to summarize some common used random variables for future references.
Bernoulli Distribution
A Bernoulli distribution is the simplest discrete probability distribution, representing a single trial that has only two possible outcomes: success (usually denoted by 1) or failure (usually denoted by 0).
Mean and Variance
Binomial Distribution
A Binomial distribution represents the number of successes in a fixed number of independent Bernoulli trials, each with the same probability of success. The binomial distribution has parameters
The PMF is:
Mean and Variance
Poisson Distribution
Poisson is a discrete probability distribution to express the probability of a given number of events occurring in a fixed interval of time (i.e. the number of tasks arriving in queuing systems). These events occur with a known mean rate
The probability mass function is:
The positive real number
The Poisson distribution can be seen as a limit of the binomial distribution under certain conditions. This is known as the Poisson approximation to the binomial distribution.
The Poisson distribution is a good approximation to the binomial distribution when:
-
is large (the number of trials is large). -
is small (the probability of success in each trial is small). - The product
is moderate (the expected number of successes remains constant).
Additivity: if
Poisson distribution as an approximation of Binomial distribution
As a rule of thumb, if
One important limit is used to prove the approximation:
To better see the connection between these two distributions, consider the binomial probability of seeing
Let denote the expected value of the binomial distribution as
The probability mass function can be written as follows:
Using the standard formula for the combinations of
Notice that there are exactly x𝑥 factors in the numerator of the first fraction. Let us swap denominators between the first and second fractions, splitting the
Finally, applying the limit to
Exponential Distribution
For the continuous version of exponential distribution, the probability density function (PDF):
Here
The cumulative distribution function:
The CDF and PDF are not the actual probability. For continuous probability distribution, we only compute the probability of a given interval instead of one single point. Because the probability
where
Property:
- Mean:
- Variance:
- Memoryless: The exponential distribution and the geometric distribution are the only memoryless probability distributions.
Poisson Process
Let
; has independent increments;- The number of arrivals in any interval of length
has distribution.
Note that from the above definition, we conclude that in a Poisson process, the distribution of the number of arrivals in any interval depends only on the length of the interval, and not on the exact location of the interval on the real line. Therefore the Poisson process has stationary increments.
We denote
If
Thinking of the Poisson process, the memoryless property of the interarrival times is consistent with the independent increment property of the Poisson distribution. In some sense, both are implying that the number of arrivals in non-overlapping intervals are independent.
Since the arrival time can be derived by:
The PDF of
and
Markov Chain
Given the past states
Two states
Limiting Probabilities
For an irreducible ergodic Markov (one class) chain
Mean Time Spent in Transient States
Considering a finite state Markov chain with states in range
For each element, we can also compute the transition probability
Where