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.

probability distribution constructed sample size n = 10 , n = 2.

thank time.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -