n_poisson#

class n_poisson(rate, n)[source]#

An array of Poisson trials.

Parameters:
  • rate (float) – the rate of the Poisson process (mean)

  • n (int) – number of trials

Example:

outcomes = hpv.n_poisson(100, 20) # 20 Poisson trials with mean 100