pyhctsa.operations.distribution.pleft

pyhctsa.operations.distribution.pleft(y, th=0.1)

Distance from the mean at which a given proportion of data are more distant.

Measures the maximum distance from the mean at which a given fixed proportion, th, of the time-series data points are further. Normalizes by the standard deviation of the time series.

Parameters:
y : array-like

The input data vector.

th : float, optional

The proportion of data further than th from the mean (default is 0.1).

Returns:

The distance from the mean normalized by the standard deviation.

Return type:

float