xdem.spatialstats.two_step_standardization

xdem.spatialstats.two_step_standardization#

xdem.spatialstats.two_step_standardization(dvalues, list_var, unscaled_error_fun, spread_statistic=<function nmad>, fac_spread_outliers=7)[source]#

Standardize the proxy differenced values using the modelled heteroscedasticity, re-scaled to the spread statistic, and generate the final standardization function.

Parameters:
Return type:

tuple[ndarray[tuple[Any, ...], dtype[floating[Any]]], Callable[[tuple[Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], ...]], ndarray[tuple[Any, ...], dtype[floating[Any]]]]]

Returns:

Standardized values array of size (N,), Function to destandardize