Pettitt

Luo_Suppe2026-08-15

gma.climet.diagnosis.Pettitt

[function] Pettitt(data, axis = None):

Checks homogeneity test using A. N. Pettitt's (1979) method.

Parameters:

data: array.

Data to be tested.

Optional:

axis = int. Default None.

Calculation axis. If not set (None), multidimensional data will be expanded to 1 dimension for calculation.

Returns:

Type: namedtuple.

u_max: Maximum of absolute Pettitt's U Statistics.

loc: Probable change point location index (Start from 1).

p: p-value of the significance test.

Last Updated 11/21/2026, 2:33:17 AM