Skip to content
1 min read · 97 words

@nhtio/adk/batteries/tools/statistics

Pre-constructed tools for descriptive statistics, correlation, quantiles, and numeric summaries.

Remarks

Pre-constructed bundled tools for the statistics category. Import individually, the whole category, or import every tool via @nhtio/adk/batteries.

Variables

VariableDescription
statsCorrelateToolCompute the Pearson correlation coefficient between two numeric arrays.
statsDescribeToolCompute descriptive statistics for a JSON array of numbers.
statsHistogramToolBin a numeric array into equal-width histogram buckets.
statsTransformToolTransform a numeric array — normalise, smooth, rank, or detect outliers.