statistics
Perform statistical calculations including mean, median, mode, standard deviation, variance, min, max, sum, and product. Accelerated by WASM for large datasets.
Instructions
Calculate statistical values like mean, median, mode (returns array), std (standard deviation), variance, min, max, sum, product. WASM-accelerated for large datasets (100+ elements)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data array in JSON format (e.g., '[1, 2, 3, 4, 5]') | |
| operation | Yes | Statistical operation to perform. Note: mode returns an array (single mode: [value], multiple modes: [value1, value2]) |