statsmodels.regression.linear_model.RegressionResults.summary2

RegressionResults.summary2(yname=None, xname=None, title=None, alpha=0.05, float_format='%.4f')[source]

Experimental summary function to summarize the regression results.

Parameters:
ynamestr

The name of the dependent variable (optional).

xnamelist[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.

titlestr, optional

Title for the top table. If not None, then this replaces the default title.

alphafloat

The significance level for the confidence intervals.

float_formatstr

The format for floats in parameters summary.

Returns:
Summary

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

See also

statsmodels.iolib.summary2.Summary

A class that holds summary results.