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
resultsModel results instance
alphafloat

significance level for the confidence intervals (optional)

float_formatting: str

Float formatting for summary of parameters (optional)

titlestr

Title of the summary table (optional)

xnamelist[str] of length equal to the number of parameters

Names of the independent variables (optional)

ynamestr

Name of the dependent variable (optional)