# Function calculateDistributionStats

Learning exports - Closed-loop feedback and routing improvement Split from index.ts for file size compliance (Issue #285)

- calculateDistributionStats(values: readonly number[]): DistributionStats

  Calculate descriptive statistics for a distribution.

  #### Parameters

  - values: readonly number[]

  #### Returns DistributionStats

  - Defined in packages/nexus-agents/src/learning/validation-stats.ts:159