Metadata-Version: 2.1
Name: bng-dis-probability
Version: 0.1
Summary: Gaussian and Binomial distributions
Home-page: UNKNOWN
Author: Mohammed Hamza Malik
Author-email: m.h.m.i.malik@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown

# BnG Distributions Package
## Includes Binomial and Gaussian Distributions

Summary of the package.

This package contains three files.
1. Generaldistribution.py
2. Gaussiandistribution.py
3. Binomialdistribution.py
# Files

Explanation of the files.
- The Generaldistribution.py contains:
1. Generic distribution class for calculating and 
		visualizing a probability distribution.
2. And a Function to read in data from a txt file.

- The Gaussiandistribution.py contains:
1. Gaussian distribution class for calculating and 
	visualizing a Gaussian distribution.
2. Function to calculate the mean of the data set.
3. Function to calculate the standard deviation of the data set.
4. Function to output a histogram of the instance variable data using 
		matplotlib pyplot library.
5. Probability density function calculator for the gaussian distribution.
6. Function to plot the normalized histogram of the data and a plot of the 
		probability density function along the same range.
7. Function to add together two Gaussian distributions.
8. Function to output the characteristics of the Gaussian instance.

- The Binomialdistribution.py contains:
1. Binomial distribution class for calculating and 
    visualizing a Binomial distribution.
2. Function to calculate the mean from p and n.
3. Function to calculate the standard deviation from p and n.
4. Function to calculate p and n from the data set.
5. Function to output a histogram of the instance variable data using 
        matplotlib pyplot library.
6. Probability density function calculator for the binomial distribution.
7. Function to plot the pdf of the binomial distribution.
8. Function to add together two Binomial distributions with equal p.
9. Function to output the characteristics of the Binomial instance.
# Installation
For installation, write the following command in your terminal:
- pip install bng_distributions




