Table of contents
The density function of the Poisson distribution:
f(x; \lambda) = \dfrac{\lambda^x \exp(-\lambda)}{x!} \times \mathbf{1}[ x \geq 0]
Methods for scalar input, as well as for list input, are listed below.
.. autofunction:: pystats.dpois(x: float, rate: float, log: bool = False) -> float :noindex:
.. autofunction:: pystats.dpois(x: List[float], rate: float, log: bool = False) -> List[float] :noindex:
The cumulative distribution function (CDF) of the Poisson distribution:
F(x; \lambda) = \sum_{z \leq x} f(z; \lambda) = \exp(-\lambda) \sum_{z \leq x} \dfrac{\lambda^z}{z!} \times \mathbf{1}[ z \geq 0]
Methods for scalar input, as well as for list input, are listed below.
.. autofunction:: pystats.ppois(p: float, rate: float, log: bool = False) -> float :noindex:
.. autofunction:: pystats.ppois(p: List[float], rate: float, log: bool = False) -> List[float] :noindex:
The quantile function of the Poisson distribution:
q(p; \lambda) = \inf \left\{ x : p \leq F(x; \lambda) \right\}
Methods for scalar input, as well as for list input, are listed below.
.. autofunction:: pystats.qpois(q: float, rate: float) -> float :noindex:
.. autofunction:: pystats.qpois(q: List[float], rate: float) -> List[float] :noindex:
.. autofunction:: pystats.rpois(rate: float) -> float :noindex:
.. autofunction:: pystats.rpois(n: int, rate: float) -> List[float] :noindex: