Skip to main content

arclia-stats

Basic statistical functions.

Installation

pip install arclia-stats

Usage

calculate_weighted_quantile

When q is a scalar

from arclia.stats import calculate_weighted_quantile

result = calculate_weighted_quantile(
    values  = [1, 3, 0, 2, 4],
    weights = [1, 3, 1, 2, 3],
    q = 0.5,
)

# Prints: 3
print(repr(result))

When q is an ArrayLike

from arclia.stats import calculate_weighted_quantile

result = calculate_weighted_quantile(
    values  = [1, 3, 0, 2, 4],
    weights = [1, 3, 1, 2, 3],
    q = [0.0, 0.5, 1.0],
)

# Prints: array([0, 3, 4])
print(repr(result))

Metadata

Release files for arclia-stats 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for arclia-stats 0.1.0
File Interpreter ABI Platform
arclia_stats-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / arclia_stats-0.1.0-py3-none-any.whl

Download URL arclia_stats-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db7c930c1c0028c53814e9d501e06f6b893dc96be24616abe3a197490c6a023f
BLAKE2b-256 checksum
How to use checksums
910dae94a3c5a877ac4d91944105a55ec82adfbdf57d367e484e397cc7886eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page