@formant/ava
Version:
A framework for automated visual analytics.
10 lines (9 loc) • 332 B
TypeScript
import { ChangePointItem } from './types';
/**
* Pettitt's (1979) method is a rank-based nonparametric test for abrupt changes in a time series.
* */
export declare function pettittTest(data: number[]): ChangePointItem;
/**
* p-value calc in Pettitt
*/
export declare function calcPValue(data: number[], index: number): number;