statsmodels.regression.linear_model.OLSResults.summary

OLSResults.summary(yname=None, xname=None, title=None, alpha=0.05)

Summarize the Regression Results

Parameters:
  • yname (string, optional) – Default is y
  • xname (list of strings, optional) – Default is var_## for ## in p the number of regressors
  • title (string, optional) – Title for the top table. If not None, then this replaces the default title
  • alpha (float) – significance level for the confidence intervals
Returns:

smry – this holds the summary tables and text, which can be printed or converted to various output formats.

Return type:

Summary instance

See also

statsmodels.iolib.summary.Summary
class to hold summary results