regtools.summarize package¶
-
regtools.summarize.
produce_summary
(reg_list, stderr=False, t_stats=False, float_format='%0.1f', regressor_order=(), suppress_other_regressors=False, model_names=None)[source]¶ Produce a summary from a list of regression results
- Parameters
reg_list¶ – list of statsmodels regression results
stderr¶ (
bool
) – set to True to keep rows for standard errors below coefficient estimatest_stats¶ (
bool
) – set to True to keep rows for standard errors below coefficient estimates and convert them to t-statsfloat_format¶ (
str
) – format string for how to format results in summaryregressor_order¶ (
Sequence
[str
]) – sequence of column names to put first in the regression resultssuppress_other_regressors¶ (
bool
) – True for when using regressor_order to suppress coefficients that are not in regressor_order into “Controls: Yes”. False to keep coefficientsmodel_names¶ (
Optional
[Sequence
[str
]]) – If a collection is passed, will be used as column names in summary table.
- Returns
a regression summary
- Return type