statsmodels.sandbox.stats.runs.Runs.runs_test

Runs.runs_test(correction=True) [source]

basic version of runs test

Parameters:
  • correction (bool) – Following the SAS manual, for samplesize below 50, the test statistic is corrected by 0.5. This can be turned off with correction=False, and was included to match R, tseries, which does not use any correction.
  • based on normal distribution, with integer correction (pvalue) –

© 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.sandbox.stats.runs.Runs.runs_test.html