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_format (str) – Float formatting for summary of parameters (optional)

  • title (str) – Title of the summary table (optional)

  • xname (list[str] of length equal to the number of parameters) – Names of the independent variables (optional)

  • yname (str) – Name of the dependent variable (optional)