In [ ]:
import numpy as np
In [6]:
import matplotlib.pyplot as plt
%matplotlib inline
%config InlineBackend.figure_format = 'svg'
In [2]:
dout = np.array(range(1,20))
In [5]:
dout
Out[5]:
In [ ]:
(1-ps)**dout
In [9]:
def probIndependent(ps, dout):
p0 = (1-ps)**dout
p0
lmb = ((1-ps)/ps)*(1-p0)(dout-(1-p0))
In [10]:
probIndependent(0.1, dout)
In [ ]: