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.

  • slim (bool, optional) – Flag indicating to produce reduced set or diagnostic information. Default is False.

Returns:

Instance holding the summary tables and text, which can be printed or converted to various output formats.

Return type:

Summary

See also

statsmodels.iolib.summary.Summary

A class that holds summary results.