import { Vector } from './vector.js'; /** * It calculates a value g based on the Shapiro-Wilk w statistic. This calculation differs depending on whether n (the sample size) is less than 12. * For smaller samples, it uses a different approximation that involves a logarithmic transformation of the w statistic. * The variables mu and sigma are calculated using a polynomial function of the sample size (n) or its logarithm (u). * These values are part of the approximation for the distribution of the w statistic. * It computes a standard score (z) by subtracting mu from g and dividing by sigma. * It creates an instance of StandardNormal to use its distr method, which should provide the cumulative distribution function for the standard normal distribution. * Finally, it calculates the p-value as one minus the cumulative distribution function value of z. */ export declare function shapiroWilk(vector: number[] | Vector): { w: number; p: number; }; //# sourceMappingURL=normality.d.ts.map