stats module
Maylang standard-library module.
import "stats" as stats;
Functions
stats_floats
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
fun stats_float_mean(xs: List<Float>) -> FloatNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
stats_float_sum_squares
fun stats_float_sum_squares(xs: List<Float>) -> FloatNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
stats_float_sample_variance
fun stats_float_sample_variance(xs: List<Float>) -> FloatNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
stats_mean
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
fun stats_sum_squares<T>(xs: List<T>) -> FloatNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
stats_variance
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
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
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
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
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
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
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
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
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
fun stats_linear_regression<T, U>(xs: List<T>, ys: List<U>) -> RegressionNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
Types
Regression
struct Regression { slope: Float, intercept: Float, r: Optional<Float> }No description yet. Read the declaration source for the exact contract.
supported · full runtime · source