Skip to main content

Gaussian and Binomial distribution.

Project description

stat-probability package:

The package calculates the gaussion distribution and Binomial distribution for a given set of inputs. Calculate mean and standard deviation using Gaussian distribution and Binomial distribution.

Installation:

pip3 install stat_probability

Usage:

>>> from stat_probability import Gaussian
>>> from stat_probability import Binomial
>>> Gaussian1 = Gaussian(23, 5)
>>> Gaussian2 = Gaussian(23, 3)
>>> total_gaussian = Gaussian1 + Gaussian2
>>> print(total_gaussian)
mean 46, standard deviation 5.830951894845301
>>> Binomial(0.8, 9)
mean 7.2, standard deviation 1.2, p 0.8, n 9

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

stat_probability-0.9.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file stat_probability-0.9.tar.gz.

File metadata

  • Download URL: stat_probability-0.9.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

File hashes

Hashes for stat_probability-0.9.tar.gz
Algorithm Hash digest
SHA256 8f53319483d920a481a36f2c92a551c70e1bf63d2b16989358fda0113ab57ca3
MD5 1511069c46583d8162b89f07c7b1fe97
BLAKE2b-256 916f7548923cf3b9b24817ce77b2348f791d45feca93b467c7546aeeb06408eb

See more details on using hashes here.

Supported by

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