Module stats

Module stats 

Source
Expand description

Statistical functions for analyzing compression metrics.

This module provides functionality for calculating and analyzing statistical measures related to compression ratios and other metrics.

§Types

  • Stats: Container for a complete set of statistical measures including quartiles, mean, median, IQR, min/max, and sample count.

§Functions

§Core Statistics

§ZSTD Compression Ratio Statistics

§Statistical Measures

The module provides calculation of:

  • Interquartile Range (IQR)
  • Percentile ranges (Q1, median, Q3)
  • Minimum and maximum values
  • Mean (average)
  • Sample count

Structs§

Stats
Statistics for a set of numeric values.

Functions§

calculate_custom_zstd_ratio_stats
Calculate ZSTD ratio statistics between two groups in custom comparison.
calculate_percentile
Calculate a specific percentile of values.
calculate_stats
Calculate statistics for an array of values.
calculate_zstd_ratio_stats
Calculate ZSTD ratio statistics between two groups in split comparison.
format_stats
Format statistics as a string.