pub fn influence_plot( res: &LinearResults, exog: &Array2<f64>, ) -> (Figure, Influence)
Render an influence plot: externally studentized residual (y) versus leverage (x), with marker radius scaled by Cook’s distance.
Returns the rendered Figure and the computed Influence.
Figure
Influence