pastas.check.acf_runs_test#

pastas.check.acf_runs_test(ml: pastas.typing.Model, p_threshold: float = 0.05)#

Runs 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 runs test. Default is 0.05.

Returns:

df – DataFrame with the results of the check.

Return type:

pandas.DataFrame