Skip to content

Rohankarmakar/StatisticalDistributions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

StatisticalDistributions

statDistros

statDistros is a Python library for dealing with various statistical distributions. Now it provides various statistical calculations for Gaussian and Binomial Distributions only. Users can also plot Probability Density Functions with it.

Installation

Use the package manager pip to install foobar.

pip install statDistros

Usage

import statDistros

# returns a Gaussian Distribution Object
*Gaussian class takes two positional arguements - mean, standard deviation of the distribution*
gaussian_1 = statDistros.Gaussian(25, 4)

# read data
gaussian_1.read_data_file(filename)
*reads data from a text file containing a data in each line*

#calculate mean and S.D of the new data
gaussian_1.calculate_mean()
gaussian_1.calculate_stdev(sample=False) #if the data is a sample or not

Contributing

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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages