pastas.check.acf_stoffer_toloi_test#

pastas.check.acf_stoffer_toloi_test(ml: pastas.typing.Model, p_threshold: float = 0.05, **kwargs)#

Stoffer-Toloi test to check if there is significant autocorrelation in the noise.

Parameters:
  • ml (pastas.Model) – Pastas model instance.

  • p_threshold (float, optional) – Threshold value for the p-value of the Stoffer-Toloi test. Default is 0.05.

  • **kwargs – Additional keyword arguments to pass to the Stoffer-Toloi test.

Returns:

df – DataFrame with the results of the check.

Return type:

pandas.DataFrame