statsmodels.iolib.summary2.Summary.add_base

Summary.add_base(results, alpha=0.05, float_format='%.4f', title=None, xname=None, yname=None)[source]

Try to construct a basic summary instance.

Parameters:
  • results (Model results instance) –
  • alpha (float) – significance level for the confidence intervals (optional)
  • float_formatting (string) – Float formatting for summary of parameters (optional)
  • title (string) – Title of the summary table (optional)
  • xname (List of strings of length equal to the number of parameters) – Names of the independent variables (optional)
  • yname (string) – Name of the dependent variable (optional)