statsmodels.regression.linear_model.OLSResults.summary2¶
-
OLSResults.summary2(yname=
None
, xname=None
, title=None
, alpha=0.05
, float_format='%.4f'
)¶ Experimental summary function to summarize the regression results.
- Parameters:¶
- yname
str
The name of the dependent variable (optional).
- xname
list
[str
],optional
Names for the exogenous variables. Default is var_## for ## in the number of regressors. Must match the number of parameters in the model.
- title
str
,optional
Title for the top table. If not None, then this replaces the default title.
- alpha
float
The significance level for the confidence intervals.
- float_format
str
The format for floats in parameters summary.
- yname
- Returns:¶
Summary
Instance holding the summary tables and text, which can be printed or converted to various output formats.
See also
statsmodels.iolib.summary2.Summary
A class that holds summary results.
Last update:
Oct 03, 2024