depictr.model_report#
- depictr.model_report(model, title=None)#
One-figure dashboard pairing the coefficient plot with key diagnostics.
Puts the three plots a reader usually wants first side by side: the coefficient (forest) plot of the estimates and their confidence intervals, the residuals-vs-fitted plot, and the normal quantile-quantile plot. It is a quick “is the model worth trusting, and what does it say” view, with the full set of checks left to
residual_diagnostics_plot().- Parameters:
model (statsmodels results object) – A fitted OLS/GLM result exposing
paramsandconf_int(for the coefficient plot) as well as fitted values and residuals.title (str, optional) – An overall title for the composed figure.
- Returns:
A composition with
.drawand.save.- Return type:
plotnine.composition.Compose