pastas.plotting.modelcompare.CompareModels.get_diagnostics#

pastas.plotting.modelcompare.CompareModels.get_diagnostics(models: list[pastas.typing.Model] | None = None, diag_col: str = 'P-value') pandas.DataFrame#

Get p-values of statistical tests in a DataFrame.

Parameters:
  • models (list of ps.Model, optional) – list of models to calculate diagnostics for.

  • diag_col (str, optional) – name of diagnostics column to obtain, by default “P-value”.