type Vec = readonly number[] | Float64Array; /** Result of `linearRegression`: the fitted line and its statistics. */ export interface LinregressResult { slope: number; intercept: number; rValue: number; rSquared: number; pValue: number; stdErr: number; } /** * Simple linear regression `y ≈ slope·x + intercept` by ordinary least squares. * `rValue` is Pearson's r; `pValue` is the two-sided test of slope = 0 (t with * n−2 df); `stdErr` is the standard error of the slope. Mirrors * `scipy.stats.linregress`. */ export declare function linearRegression(x: Vec, y: Vec): LinregressResult; export {}; //# sourceMappingURL=regression-extra.d.ts.map