Skip to main content

Description:

It's a statistical tool to analyze your dataset using standard distributions such as binomial and gaussian distributions.

Features:

  • Calculate mean, standard deviation, probability density function(pdf) and plot graphs for a dataset. You can also add distribution objects from different datasets to calculate the same for the resultant distribution.
  • Binomial distribution allows plotting bar graphs for the instance variable and probability density function(pdf). Gaussian distribution uses histograms for the same

Installation:

pip install std_distributions

Note:

Please install matplotlib to plot graphs,(if not already installed) from here.

Example usage

>>>from std_distributions import Binomial, Gaussian
'''
Creating distribution objects
Sytax:
binomial_obj = Binomial(probability,size)
gaussian_obj = Gaussian(mean, standard_deviation) or Gaussian()
'''
>>>b1 = Binomial(0.5,22)
>>>b1
>>>mean = 11.0, standard deviation = 2.345207879911715, p = 0.5, n = 22b2 = Binomial(0.5,44)
>>>b_resultant = b1+b2
>>>b_resultant
>>>mean = 33.0, standard deviation = 4.06201920231798, p = 0.5, n = 66
>>>g1 = G()
>>>g1.read_data_file("numbers.txt")g1.calculate_mean()
>>>1.8181818181818181g1.calculate_stdev()
>>>1.8340219092574557

Metadata

Release files for std-distributions 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for std-distributions 1.1
File Size Uploaded Provenance Actions
std_distributions-1.1.tar.gz 3.9 kB Without provenance Details for std_distributions-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for std-distributions 1.1
File Interpreter ABI Platform Actions
std_distributions-1.1-py3-none-any.whl Python 3 none any Details for std_distributions-1.1-py3-none-any.whl

Total release size: 9.5 kB

Release files / std_distributions-1.1.tar.gz

Download URL std_distributions-1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b9af0c3fd9b92e46b76471a9fbbd341e7cc50cb24e6501a3d79898c53fd3e8bc
BLAKE2b-256 checksum
How to use checksums
2a99492ab8848e14c5979a366dc312991c072a914a614ce201b0a95eabc54a37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / std_distributions-1.1-py3-none-any.whl

Download URL std_distributions-1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e2a6c532368db30cbc22f7364a1733375011ebf52cfb423c12e44a49cd7b14f
BLAKE2b-256 checksum
How to use checksums
acb032fe79f754fe41f8241099259af25c492a5903568a0999bf92ceb78843b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for std-distributions 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page