Poisson Distribution
Poisson Distribution
๐ Poisson Distribution
The Poisson distribution models the number of events occurring in a fixed interval of time or space, assuming the events occur independently and at a constant average rate.
๐ Definition
Let $X \sim \text{Poisson}(\lambda)$, where $\lambda > 0$ is the expected number of events in the interval. Then:
\[P(X = k) = \frac{\lambda^k e^{-\lambda}}{k!}, \quad k = 0, 1, 2, \dots\]๐ Key Properties
Property | Value |
---|---|
Parameter | $\lambda > 0$ |
Support | $k \in {0, 1, 2, \dots}$ |
Mean | $\mathbb{E}[X] = \lambda$ |
Variance | $\text{Var}(X) = \lambda$ |
Mode | $\lfloor \lambda \rfloor$ or $\lfloor \lambda \rfloor - 1$ |
MGF | $M_X(t) = \exp(\lambda(e^t - 1))$ |
๐ Real-World Examples
Call Center
Number of phone calls received in an hour.Accidents
Number of car accidents at an intersection in a week.
Notes
- Appropriate for modeling rare events over time/space.
- Variance equals the mean โ if data shows overdispersion, consider Negative Binomial.
- Often used in queueing theory, network traffic, and biostatistics.
- The Poisson process assumes independence between occurrences.
๐ Python Example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from scipy.stats import poisson
# Mean number of events (lambda)
ฮป = 4
# Create Poisson distribution
rv = poisson(ฮป)
# PMF at specific value
print("P(X=2):", rv.pmf(2))
# Sample 10 values
print("Samples:", rv.rvs(size=10))
# Mean and variance
print("Mean:", rv.mean())
print("Variance:", rv.var())
This post is licensed under CC BY 4.0 by the author.