The pac_probability package is developed to calculate and plot gaussian, binomial & general probabilitiy distributions.
To run:
pip install pac-probability
Package will install on the system with default version 0.1 . The -
used in place of _
because PyPi doesn't take into account _
. PyPi uses -
only. The name of the package i.e pac_probability remains same.
Then type,
from pac_probability import Gaussian, Binomial
Gaussian(12,8)
The output mean is 12 and standard deviation is 8.
Also, Run:-
Binomial(0.8, 21)
The output mean is 16.8, standard deviation is 1.8330, p is 0.8 and n is 21.