Skip to main content

Module residual_plot

Module residual_plot 

Source
Expand description

Residual plot series: residuals vs fitted values, with a zero-reference line and an optional binned moving-average trend line.

The trend is a moving average over binned x-ranges rather than a full LOESS fit — enough to reveal whether residuals drift away from zero, which is the diagnostic point, without the much larger scope of a local-regression smoother.

Structs§

ResidualPlot
A residual plot as a drawable series (coordinate space (f64, f64) = (fitted, residual)).