/** * PostgreSQL Statistics Tools - Math Utilities * * P-value calculation utilities and validation helpers * used by the advanced statistics tools. */ import type { PostgresAdapter } from "../../postgres-adapter.js"; /** * Calculate two-tailed p-value for a t-test. * * @param t - The t-statistic * @param df - Degrees of freedom * @returns Two-tailed p-value */ export declare function calculateTTestPValue(t: number, df: number): number; /** * Calculate two-tailed p-value for a z-test. * * @param z - The z-statistic * @returns Two-tailed p-value */ export declare function calculateZTestPValue(z: number): number; /** * Validate that a table exists and a column is numeric. * Throws user-friendly error messages for missing table/column. */ export declare function validateNumericColumn(adapter: PostgresAdapter, table: string, column: string, schema: string): Promise; /** * Validate that a table exists (for tools that don't require a specific column). * Throws user-friendly error message for missing table. */ export declare function validateTableExists(adapter: PostgresAdapter, table: string, schema: string): Promise; //# sourceMappingURL=math-utils.d.ts.map