Teach me how to prove expected value and variance of Poisson distribution step by step
- User
Teach me how to prove expected value and variance of Poisson distribution step by step
- Assistant
Teach me how to prove expected value and variance of Poisson distribution step by step
Certainly! Let's delve into the Poisson distribution and understand how to prove its expected value (mean) and variance step by step.
A Poisson distribution models the probability of a given number of events occurring in a fixed interval of time or space, provided these events occur with a known constant mean rate and independently of the time since the last event.
The probability mass function (PMF) of a Poisson-distributed random variable ( X ) with parameter ( \lambda ) (where ( \lambda > 0 )) is:
[ P(X = k) = \frac{e^{-\lambda} \lambda^k}{k!} \quad \text{for} \quad k = 0, 1, 2, \ldots ]
Here, ( \lambda ) is both the mean and the variance of the distribution, but we'll prove this formally.
The expected value (or mean) of a discrete random variable ( X ) is given by:
[ E[X] = \sum_{k=0}^{\infty} k \cdot P(X = k) ]
Substituting the PMF of the Poisson distribution:
[ E[X] = \sum_{k=0}^{\infty} k \cdot \frac{e^{-\lambda} \lambda^k}{k!} ]
Let's compute this step by step.
Notice that when ( k = 0 ), the term is zero since it's multiplied by ( k ). Therefore, the summation starts effectively from ( k = 1 ):
[ E[X] = e^{-\lambda} \sum_{k=1}^{\infty} \frac{k \lambda^k}{k!} ]
Observe that:
[ \frac{k \lambda^k}{k!} = \frac{\lambda^k}{(k-1)!} ]
This is because:
[ \frac{k}{k!} = \frac{1}{(k-1)!} ]
Therefore, the expected value becomes:
[ E[X] = e^{-\lambda} \sum_{k=1}^{\infty} \frac{\lambda^k}{(k-1)!} ]
Let’s perform a substitution to simplify the summation. Let ( m = k - 1 ). When ( k = 1 ), ( m = 0 ); when ( k \rightarrow \infty ), ( m \rightarrow \infty ).
[ E[X] = e^{-\lambda} \sum_{m=0}^{\infty} \frac{\lambda^{m+1}}{m!} = e^{-\lambda} \lambda \sum_{m=0}^{\infty} \frac{\lambda^{m}}{m!} ]
Recall that the exponential function can be expressed as:
[ e^{\lambda} = \sum_{m=0}^{\infty} \frac{\lambda^{m}}{m!} ]
Substituting this into our expression:
[ E[X] = e^{-\lambda} \lambda e^{\lambda} = \lambda e^{-\lambda} e^{\lambda} = \lambda ]
[ E[X] = \lambda ]
The variance of a random variable ( X ) is defined as:
[ \text{Var}(X) = E[X^2] - (E[X])^2 ]
We've already established that ( E[X] = \lambda ). Now, let's find ( E[X^2] ).
[ E[X^2] = \sum_{k=0}^{\infty} k^2 \cdot P(X = k) = \sum_{k=0}^{\infty} k^2 \cdot \frac{e^{-\lambda} \lambda^k}{k!} ]
It's helpful to express ( k^2 ) in a way that can be manipulated:
[ k^2 = k(k - 1) + k ]
Therefore:
[ E[X^2] = e^{-\lambda} \sum_{k=0}^{\infty} \left[ k(k - 1) + k \right] \frac{\lambda^k}{k!} = e^{-\lambda} \left( \sum_{k=0}^{\infty} k(k - 1) \frac{\lambda^k}{k!} + \sum_{k=0}^{\infty} k \frac{\lambda^k}{k!} \right) ]
First Sum: ( \sum_{k=0}^{\infty} k(k - 1) \frac{\lambda^k}{k!} )
Notice that for ( k < 2 ), the terms are zero. So, the sum effectively starts at ( k = 2 ):
[ \sum_{k=2}^{\infty} k(k - 1) \frac{\lambda^k}{k!} = \sum_{k=2}^{\infty} \frac{\lambda^k}{(k-2)!} ]
Let’s substitute ( m = k - 2 ):
[ \sum_{k=2}^{\infty} \frac{\lambda^k}{(k-2)!} = \lambda^2 \sum_{m=0}^{\infty} \frac{\lambda^{m}}{m!} = \lambda^2 e^{\lambda} ]
Second Sum: ( \sum_{k=0}^{\infty} k \frac{\lambda^k}{k!} )
We've already computed this when finding ( E[X] ):
[ \sum_{k=1}^{\infty} k \frac{\lambda^k}{k!} = \lambda e^{\lambda} ]
Substituting back into ( E[X^2] ):
[ E[X^2] = e^{-\lambda} \left( \lambda^2 e^{\lambda} + \lambda e^{\lambda} \right) = e^{-\lambda} e^{\lambda} (\lambda^2 + \lambda) = \lambda^2 + \lambda ]
[ \text{Var}(X) = E[X^2] - (E[X])^2 = (\lambda^2 + \lambda) - \lambda^2 = \lambda ]
[ \text{Var}(X) = \lambda ]
For a Poisson-distributed random variable ( X ) with parameter ( \lambda ):
Expected Value (Mean):
[ E[X] = \lambda ]
Variance:
[ \text{Var}(X) = \lambda ]
Both the mean and variance of the Poisson distribution are equal to its parameter ( \lambda ).
If you have any further questions or need more clarification on any of the steps, feel free to ask!
Not yet included in a published release.