/** * Paired statistical tests for comparing two methods */ /** * Paired t-test for comparing two methods. * * Tests whether the mean difference between paired observations is significantly * different from zero. Assumes differences are normally distributed. * * @param method1Results - Results from method 1 across experiments * @param method2Results - Results from method 2 across experiments (same length as method1Results) * @param alpha - Significance level (default: 0.05) * @returns p-value, t-statistic, and whether result is significant * * @example * ```typescript * const miScores = [0.85, 0.82, 0.88, 0.90, 0.87]; * const baselineScores = [0.65, 0.70, 0.68, 0.72, 0.69]; * const result = pairedTTest(miScores, baselineScores); * console.log(result.pValue); // e.g., 0.001 (significant) * console.log(result.significant); // true * ``` */ export declare const pairedTTest: (method1Results: number[], method2Results: number[], alpha?: number) => { pValue: number; tStatistic: number; significant: boolean; }; /** * Wilcoxon signed-rank test (non-parametric alternative to paired t-test). * * Tests whether the distribution of differences is symmetric about zero. * Does NOT assume normal distribution, making it more robust for small samples. * * @param method1Results - Results from method 1 across experiments * @param method2Results - Results from method 2 across experiments * @param alpha - Significance level (default: 0.05) * @returns p-value, test statistic (W), and significance * * @example * ```typescript * const miScores = [0.85, 0.82, 0.88, 0.90, 0.87]; * const baselineScores = [0.65, 0.70, 0.68, 0.72, 0.69]; * const result = wilcoxonSignedRank(miScores, baselineScores); * console.log(result.pValue); // e.g., 0.031 (significant at α=0.05) * ``` */ export declare const wilcoxonSignedRank: (method1Results: number[], method2Results: number[], alpha?: number) => { pValue: number; statistic: number; significant: boolean; }; //# sourceMappingURL=paired-tests.d.ts.map