statsmodels.regression.linear_model.OLSResults.summary¶
-
OLSResults.summary(yname=
None, xname=None, title=None, alpha=0.05, slim=False)¶ Summarize the Regression Results.
- Parameters:¶
- yname
str,optional Name of endogenous (response) variable. The Default is y.
- 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,optional The significance level for the confidence intervals.
- slimbool,
optional Flag indicating to produce reduced set or diagnostic information. Default is False.
- yname
- Returns:¶
SummaryInstance holding the summary tables and text, which can be printed or converted to various output formats.
See also
statsmodels.iolib.summary.SummaryA class that holds summary results.
Notes
For more information on regression results and diagnostic table, see our documentation of Examples/Linear Regression Models/Regression diagnostics.