mescla.plotting.diagrams.plot_residuals

mescla.plotting.diagrams.plot_residuals(observed, fitted, axes=None, theme='light', n_cols=4)[source]

Residual against observed concentration, one panel per species.

The diagnostic Hooper (2003) asks you to inspect by eye. A conservative species in a correctly ranked model leaves a structureless cloud about zero; trend or curvature is lack of fit.

Parameters:
Return type:

Any