stats module

Maylang standard-library module.

import "stats" as stats;

Functions

stats_floats

may
fun stats_floats<T>(xs: List<T>) -> List<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_float_mean

may
fun stats_float_mean(xs: List<Float>) -> Float

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_float_sum_squares

may
fun stats_float_sum_squares(xs: List<Float>) -> Float

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_float_sample_variance

may
fun stats_float_sample_variance(xs: List<Float>) -> Float

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_mean

may
fun stats_mean<T>(xs: List<T>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_sum_squares

may
fun stats_sum_squares<T>(xs: List<T>) -> Float

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_variance

may
fun stats_variance<T>(xs: List<T>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_sample_variance

may
fun stats_sample_variance<T>(xs: List<T>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_stddev

may
fun stats_stddev<T>(xs: List<T>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_zscores

may
fun stats_zscores<T>(xs: List<T>) -> List<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_quantile

may
fun stats_quantile<T>(xs: List<T>, q: Float) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_median

may
fun stats_median<T>(xs: List<T>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_mode

may
fun stats_mode<T>(xs: List<T>) -> Optional<T>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_covariance

may
fun stats_covariance<T, U>(xs: List<T>, ys: List<U>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_correlation

may
fun stats_correlation<T, U>(xs: List<T>, ys: List<U>) -> Optional<Float>

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

stats_linear_regression

may
fun stats_linear_regression<T, U>(xs: List<T>, ys: List<U>) -> Regression

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

Types

Regression

may
struct Regression { slope: Float, intercept: Float, r: Optional<Float> }

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source