# Function meanConfidenceInterval

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

- meanConfidenceInterval(
  values: readonly number[],
  options?: StatisticalOptions,
  ): ConfidenceInterval

  Calculate confidence interval for a mean.

  #### Parameters

  - values: readonly number[]
  - options: StatisticalOptions = {}

  #### Returns ConfidenceInterval

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