statsmodels.regression.linear_model.RegressionResults.summary2

method

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

Experimental summary function to summarize the regression results

Parameters
xnameList of strings of length equal to the number of parameters

Names of the independent variables (optional)

ynamestring

Name of the dependent variable (optional)

titlestring, optional

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

alphafloat

significance level for the confidence intervals

float_format: string

print format for floats in parameters summary

Returns
smrySummary instance

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

See also

statsmodels.iolib.summary2.Summary

class to hold summary results