depictr.tidy_estimates#
- depictr.tidy_estimates(model, conf_level=0.95)#
Coerce a fitted model or an estimate table into one tidy frame.
- Parameters:
model (statsmodels results object or pandas.DataFrame) – A fitted model exposing
paramsandconf_int(for example a statsmodelsOLS/GLMresult), or a data frame already carrying the estimates.conf_level (float) – Confidence level for the interval when reading it from a model.
- Returns:
Columns
term,estimate,conf_low,conf_high.- Return type: