correlation_stats_analyzer
A lightweight Python package to compute and interpret the strength and direction of correlation between two numerical datasets using the Pearson Correlation Coefficient.
Features
- Compute the Pearson correlation coefficient between two numeric lists.
- Interpret the result in terms of strength and direction (e.g., "Strong Positive").
- Zero dependencies – works with standard Python only.
- Designed for data science beginners, educators, and small-scale analysis scripts.
Installation
pip install correlation_stats_analyzer
Usage Example
import correlation_stats_analyzer as csa
x = [10, 20, 30, 40, 50]
y = [12, 22, 29, 41, 52]
r = csa.correlation_r(x, y)
strength, direction = csa.interpret_r(r)
print(f"Pearson r: {r:.4f}")
print(f"Strength: {strength}, Direction: {direction}")
Metadata
Release files for correlation-stats-analyzer 0.1.1
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 |
|---|---|---|---|---|
| correlation_stats_analyzer-0.1.1.tar.gz | 2.8 kB | Without provenance | Details for correlation_stats_analyzer-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| correlation_stats_analyzer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for correlation_stats_analyzer-0.1.1-py3-none-any.whl |
Total release size: 6.5 kB
Release files / correlation_stats_analyzer-0.1.1.tar.gz
| Download URL | correlation_stats_analyzer-0.1.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f317c7a97b6cbc5012887d2273f25cf9e01e2220e07191aa89e3a148602ce402
|
|
BLAKE2b-256 checksum How to use checksums |
648dd0653452f6f2317bf73e53e3c2d1dbd886c9971c182eb021c9a332f0a4e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Release files / correlation_stats_analyzer-0.1.1-py3-none-any.whl
| Download URL | correlation_stats_analyzer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6966549205fd9955b8ada4a40def0d1b34449b2cced976482ee11c86a5244107
|
|
BLAKE2b-256 checksum How to use checksums |
0b274451701597936a023ede29d1840fe20da08a260c06ce598047cf55c1d3ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for correlation-stats-analyzer 0.1.1
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.