### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Regression »
- scikits.statsmodels.regression.RegressionResults »

# scikits.statsmodels.regression.RegressionResults.summary

`RegressionResults.``summary`(yname=None, xname=None)

  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 scikits.statsmodels as sm
      >>> data = sm.datasets.longley.Load()
      >>> data.exog = sm.add_constant(data.exog)
      >>> ols_results = sm.OLS(data.endog, data.exog).results
      >>> print ols_results.summary()
      ...

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Regression »
- scikits.statsmodels.regression.RegressionResults »