Logo

statsmodels.regression.linear_model.RegressionResults.summary_old

RegressionResults.summary_old(yname=None, xname=None, returns='text')[source]

returns a string that summarizes the regression results

Parameters:

yname : string, optional

Default is Y

xname : list of strings, optional

Default is X.# for # in p the number of regressors

Returns:

String summarizing the fit of a linear model. :

Notes

All residual statistics are calculated on whitened residuals.

Examples

>>> import statsmodels.api as sm
>>> data = sm.datasets.longley.load()
>>> data.exog = sm.add_constant(data.exog)
>>> ols_results = sm.OLS(data.endog, data.exog).fit()
>>> print ols_results.summary()
...

Previous topic

statsmodels.regression.linear_model.RegressionResults.summary

Next topic

statsmodels.regression.linear_model.RegressionResults.t

This Page