OLSResults.outlier_test(method='bonf', alpha=0.05, labels=None, order=False, cutoff=None)
[source]
Test observations for outliers according to method
Parameters: |
|
---|---|
Returns: |
table – Returns either an ndarray or a DataFrame if labels is not None. Will attempt to get labels from model_results if available. The columns are the Studentized residuals, the unadjusted p-value, and the corrected p-value according to method. |
Return type: |
ndarray or DataFrame |
The unadjusted p-value is stats.t.sf(abs(resid), df) where df = df_resid - 1.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.regression.linear_model.OLSResults.outlier_test.html