# Poisson distribution (poisson_distribution)

The number of events in a period when they come at an average rate lambda.

## How to write it

### poisson_distribution(lambda)

**lambda**

The average number of events, above 0. Takes an expression.

## Examples

- $\displaystyle \operatorname{poisson\_distribution}(\lambda)$

  `poisson_distribution(lambda)`[Open in the solver](https://hilberon.com/?q=poisson_distribution%28lambda%29)
- $\displaystyle P(x = 2),\ x \sim \mathrm{Pois}(3) = \frac{9}{2 e^{3}}$

  `probability(x == 2, distributed(x, poisson_distribution(3)))`

  In the solver, `probability(x == 2, distributed(x, poisson_distribution(3)))` gives `(9/2)/e^3`.

  [Open in the solver](https://hilberon.com/?q=probability%28x%20%3D%3D%202%2C%20distributed%28x%2C%20poisson_distribution%283%29%29%29)

## Functions its examples use

- [probability](https://hilberon.com/library/probability)

  The probability that a condition holds for a variable with a distribution.
- [distributed](https://hilberon.com/library/distributed)

  A variable and the distribution it follows, as probability and expectation read it.

## Related functions

- [normal_distribution](https://hilberon.com/library/normal_distribution)

  The normal distribution with mean mu and standard deviation sigma.
- [stationary_distribution](https://hilberon.com/library/stationary_distribution)

  The law a process settles into over time, when it has one.
- [uniform_distribution](https://hilberon.com/library/uniform_distribution)

  The continuous distribution that is equally likely anywhere between a and b.
- [weibull_distribution](https://hilberon.com/library/weibull_distribution)

  The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
- [binomial_distribution](https://hilberon.com/library/binomial_distribution)

  The number of successes in n independent trials that each succeed with chance p.
- [exponential_distribution](https://hilberon.com/library/exponential_distribution)

  The waiting time for events that come at rate lambda.

---
Source: https://hilberon.com/library/poisson_distribution
