Gaussian and Binomial Distributions
Project description
Distribution Analyzer
This package allows a user to perform some simple analysis of basic elements of Gaussian and Binomial Distributions.
This package is primarily meant as a test case/POC for loading packages to PyPi, but may also be useful for some other people.
To use this package:
pip install daigle-dist- run Python
- enter
from distributions import Gaussian, Binomial
3a.Gaussian(mean, stdev)
3b.Binomial(mean,stdev) - Attributes include:
read_data_file(): assigns the distribution object some data from a .txt filemean: returns the distribution object's meanstdev: returns the distribution object's standard deviationcalculate_mean(): assigns and returns a distribution object's meancalculate_stdev(): assigns and returns a distribution object's standard deviationreplace_stats_with_data(): update attributes of p and n of binomial distribution objectplot_bar: bar chart plot of the outcomes and frequencies of a distribution objectpdf(): calculates the probability density function for a distribution objectplot_bar_pdf: bar chart plot of the probability density function of a distribution object
- Magic Methods include:
__add__: allows two distribution objects to be added to each other as well as calculate the mean and standard deviation of each other__repr__: outputs the characteristics of a distribution object
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daigle_dist-0.1.3.1.tar.gz
(4.3 kB
view details)
File details
Details for the file daigle_dist-0.1.3.1.tar.gz.
File metadata
- Download URL: daigle_dist-0.1.3.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
108082cd53a75e21af87ec4ff394b063b9a1567a012fc80500fd98ca7782253c
|
|
| MD5 |
aec5bd112a4417f49f7f217ecabc80de
|
|
| BLAKE2b-256 |
07a3b3a2f10362acf5c77a2de1bae4449b1dc8e8f9c562bfe25a00456b1f58c3
|