Raxol.Benchmark.Statistics (Raxol v2.0.1)

View Source

Common statistical functions for benchmark analysis.

Summary

Functions

Calculate the mean of a list of values.

Calculate the median of a list of values.

Calculate percentiles from a list of values.

Calculate the standard deviation of a list of values.

Calculate the variance of a list of values.

Functions

calculate_mean(values)

@spec calculate_mean([number()]) :: float()

Calculate the mean of a list of values.

calculate_median(values)

@spec calculate_median([number()]) :: float()

Calculate the median of a list of values.

calculate_percentile(values, percentile)

@spec calculate_percentile([number()], number()) :: float()

Calculate percentiles from a list of values.

calculate_std_dev(values)

@spec calculate_std_dev([number()]) :: float()

Calculate the standard deviation of a list of values.

calculate_variance(values)

@spec calculate_variance([number()]) :: float()

Calculate the variance of a list of values.