{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _discrete_distns / skellam_gen

class

scipy.stats._discrete_distns:skellam_gen

source: /scipy/stats/_discrete_distns.py :1699

Signature

class   skellam_gen ( a = 0 b = inf name = None badvalue = None moment_tol = 1e-08 values = None inc = 1 longname = None shapes = None seed = None )

Members

Summary

A Skellam discrete random variable.

Extended Summary

%(before_notes)s

Notes

Probability distribution of the difference of two correlated or uncorrelated Poisson random variables.

Let and be two Poisson-distributed r.v. with expected values and . Then, follows a Skellam distribution with parameters and , where is the correlation coefficient between and . If the two Poisson-distributed r.v. are independent then .

Parameters and must be strictly positive.

For details see: https://en.wikipedia.org/wiki/Skellam_distribution

skellam takes and as shape parameters.

%(after_notes)s

%(example)s

Aliases

  • scipy.stats._discrete_distns.skellam_gen