ProbStatipy
Intro
ProbStatipy is a package of Python modules equipped with functions that are used in Statistics.
While the functions are extensively documented, you can check out my Jupyter Notebooks in the Numerical Summary repo to fully understand my thought process while coming up with these functions.
Modules
As of now, this package contains two modules in the src folder (src > ProbStatipy):
- central.py: Contains functions to measure central tendency such as Mean, Median and Mode.
- spread.py: Contains functions to measure dispersion/spread such as Variance (Mean Squared Deviation), Standard Deviation and Mean Absolute Deviation (MAD).
How to install and use this package
To install the package, run:
pip install ProbStatipy
To upgrade it, run:
pip install --upgrade ProbStatipy
To use the modules in your Python Code, ensure to include the following import statements:
from ProbStatipy import central
from ProbStatipy import spread
Now you can access the functions to conduct your statistical analysis:
print(central.mean([3,4,5]))
print(spread.variance([3,4,5]))
>>> 4.0
>>> 0.6666666666666
Functions
Below is a catalog of functions available in each module
central.py
mean()Calculates the population arithmetic mean
median()Calculates the median value of the population
mode()Calculates the mode
spread.py
variance()calculates the population variance
stdeviation()computes the population standard deviation
mad()Computes the population mean absolute deviation
get_rangegets the range of the dataset
iqr()gets the interquartile range of the dataset
Dependencies
| Module | Statistics Topic | Dependencies |
|---|---|---|
| pystats_central | Central Tendancy | - |
| pystats_spread | Spread / Dispersion | math |
Metadata
Release files for ProbStatipy 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ProbStatipy-0.0.5.tar.gz | 9.1 kB | Without provenance | Details for ProbStatipy-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ProbStatipy-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for ProbStatipy-0.0.5-py3-none-any.whl |
Total release size: 18.9 kB
Release files / ProbStatipy-0.0.5.tar.gz
| Download URL | ProbStatipy-0.0.5.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
245493fc252020b355be0946793a18595389dd3fcfa5a79d1e41eed472262215
|
|
BLAKE2b-256 checksum How to use checksums |
00b7dbf0e435091f5f4d42f3d7931fd57224d5063f2b3b8a1e680d24e7ead155
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / ProbStatipy-0.0.5-py3-none-any.whl
| Download URL | ProbStatipy-0.0.5-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1cc4b16eea2841ae04745ce8e499c8635526b18cd5ca6cf7006eef13479e326
|
|
BLAKE2b-256 checksum How to use checksums |
0d27044d1625b5df9bf0e23c4a7859e3c983924d3bcffb4ef8dfca8c29dad88c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for ProbStatipy 0.0.5
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.