Skip to main content

Basic data structures for statistics

Project description

pyrustats package

A simple package about statistics made by Ruukha
Currently it can only do Gaussian and Binomial distributions

Files

Generaldistribution.py creates the 'Distribution' class for the distribution types to inherit
Gaussiandistribution.py creates the 'Gaussian' class
Binomialdistribution.py creates the 'Binomial' class
Both Gaussian and Binomial class files create functions to calculate the mean, standard deviation, probability density function (pdf), histogram, and a function to plot the normalized histogram of the data and a plot of the pdf along the same range

Installation

No special requirements other than matplotlib

Changelog

0.2.1: cleaned the code, fixed the package importing with a wrong name.
In Binomialdistribution, if you add a file path as an argument to replace_stats_with_data, it will automatically call read_data_file. Else it will work as previously
Copyright 2024 Ruukha

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

pyrustats-0.2.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrustats-0.2.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pyrustats-0.2.1.1.tar.gz.

File metadata

  • Download URL: pyrustats-0.2.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyrustats-0.2.1.1.tar.gz
Algorithm Hash digest
SHA256 b57cdc41bbc3dd018b1d38587c9fbe38c29c04460cb4fbe497aea6c1c3c08441
MD5 690f3d0d7c2c800b5659ffe2c2e19c3c
BLAKE2b-256 b3cc012c276a0c5a61145548f520ecc95ec17508618b0fafddddb48932125347

See more details on using hashes here.

File details

Details for the file pyrustats-0.2.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyrustats-0.2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyrustats-0.2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 899066f9967e5fed8101426ab07e1dad610a4acd3213c13a473d04ce72701587
MD5 6a2900d7920c3efe9d6af1b967784689
BLAKE2b-256 a8c054657ea190eb1e1e5eb5655cc9658cc4336bcd2233f6d1e8547222e25cc4

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