>>> from scipy.stats import poisson, lognorm >>> myShape = 5;myMu=10 >>> ln = lognorm(myShape) >>> p = poisson(myMu) >>> ln.rvs((10,)) generate 10 RVs from ln array([ 2.09164812e+00, 3.29062874e-01, 1.22453941e-03, 3.80101527e+02, 7.67464...... http://bit.ly/9MkbZC
No comments:
Post a Comment