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

License

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.2.tar.gz (4.5 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.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrustats-0.2.1.2.tar.gz
  • Upload date:
  • Size: 4.5 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.2.tar.gz
Algorithm Hash digest
SHA256 58f1840d11e1b61a7a72104592705346a4810341f765242ffde5a6f468654e96
MD5 e9d8f7a36d9b5dd0166ef798acaff25f
BLAKE2b-256 82b00ee90a2fb83a814e52bbf868528d99a8665becf47433c79ac921af8852b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrustats-0.2.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61aa99ad158c64a7545f36354391a1cc464b46535c8f7683ba199260c7c00c03
MD5 c5f77a6d189cb04ce5f2691cdd751168
BLAKE2b-256 cd96d7667570cd8add7189f5b3e9f827059885a0997b72e635384c4791c23404

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