import type { NumberArray } from 'cheminfo-types'; import type { XBoxPlotWithOutliers } from './xBoxPlotWithOutliers.ts'; export interface XRobustDistributionStats extends XBoxPlotWithOutliers { mean: number; sd: number; nb: number; } /** * Calculate distribution statistics of an array without providing options. Statistics * like sd and mean are calculated after removing outliers. * This ensure that the statistics are calculated in the same way in all the packages * If the array is empty it will throw an error * If the array has a length of 1, sd will be NaN (unbiased calculation of sd) * @param array - data * @param options * @returns - q1, median, q3, min, max */ export declare function xRobustDistributionStats(array: NumberArray): XRobustDistributionStats; //# sourceMappingURL=xRobustDistributionStats.d.ts.map