(values: readonly number[], options?: StatsConfidenceIntervalOptions | undefined): [number, number] import {stats_confidence_interval} from '@fuzdev/fuz_util/stats.js'; Calculate a confidence interval for the mean, from the sample standard deviation and, by default, the 95% Student's t critical value.
values
readonly number[]options?
returns
[number, number] [lower_bound, upper_bound], both NaN for fewer than two values