Skip to main content

Gaussian and Binomial distributions

Project description


distributions_study is a Python library for dealing with Gaussian and Binomial Distribution and allows you to perform analysis of both. For extensions, you can read the data from txt file for both the distribution types. Analysis of the data will be easy with the help of different methods this package contains

1. calculate_mean
2. calculate_stdev
3. pdf
4. plot_bar  #for binomial distribution
5. plot_histogram #for Gaussian distribution
6. plot_bar_pdf #plotting PDF for Binomial distribution
7. plot_histogram_pdf   #plotting PDF for Gaussian distribution
8. read_data_file  #for reading the .txt file

Data formats for txt file

1. Gaussian : comma separated values
2. Binomial : 0,1 list of experiment outcomes


Use the package manager pip to install distributions_study.

pip install distributions_study


import distributions_study
distributions_study.Gaussian(10,4) # returns Gaussian distribution object with mean 10, standard deviation 4
distributions_study.Binomial(0.4,25) # returns Binomial distribution object with success event probability 0.4, size of distribution 25


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distributions_study-1.7.tar.gz (5.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page