pastas.check.acf_ljung_box_test#

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

Ljung-Box 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 Ljung-Box test. Default is 0.05.

  • **kwargs – Additional keyword arguments to pass to the Ljung-Box test.

Returns:

df – DataFrame with the results of the check.

Return type:

pandas.DataFrame