statistics - How do I plot a binomial probability distribution? -
i have calculated set of binomial distributions giving me probabilities of finding n number of objects given sample of n objects.
i calculated using percent point function (ppf) (a.k.a. inverse cumulative function) using scipy.stats.distributions package.
now want plot probability distribution question emerges: which package , function in python should use this? i've found few useful resources like: http://goo.gl/q2ujxx still no closer (most missing something).
say n = 2 , n = 10. how go creating plot below?:
the x-axis shows range of values 0 - n/n (where n > n always).
y-axis shows probability of n/n.
thank time.
Comments
Post a Comment