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.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrustats-0.2.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7d767192c3d1f32638d9f0d5c874cb27f4d0a6c6b78c24745043f63d5c3603de
MD5 e8ed556eb9f0acccf58853b078c48367
BLAKE2b-256 ec2c246b198f9d6a47cbcf76be89e815bdd2c94233681f1b8f153bc63cd3e4fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrustats-0.2.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 866d2c0364545e7a6731a9c2fbf5821bb6b628effe71d0501510d6541f2215aa
MD5 e59d4c154b13eaae65b73a8ea660cb72
BLAKE2b-256 4b32b0861b72674226619f9f0869b14da962975f40f5bfdfc05c7bc9f411c226

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrustats-0.2.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-py3-none-any.whl
Algorithm Hash digest
SHA256 32f14ed81f1898c67fa779548b34f0f0b70bc1f07397590d10c44effeb642917
MD5 acae019c0aebb1d850f98495f51841af
BLAKE2b-256 d82ff12de14b2da4a5db67e4eb16fd2524c150ba41f6ff94adfc2d98be5b65e1

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